diff --git a/dotfiles/emacs.d/custom-before.el~ b/dotfiles/emacs.d/custom-before.el~ new file mode 100644 index 00000000..b36c8299 --- /dev/null +++ b/dotfiles/emacs.d/custom-before.el~ @@ -0,0 +1,65 @@ +(setq imalison:dark-theme 'dracula) + +(provide 'custom-before) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(anzu-deactivate-region t) + '(anzu-mode-lighter "") + '(anzu-replace-threshold 50) + '(anzu-replace-to-string-separator " => ") + '(anzu-search-threshold 1000) + '(custom-safe-themes + '("fee7287586b17efbfda432f05539b58e86e059e78006ce9237b8732fde991b4c" "4c56af497ddf0e30f65a7232a8ee21b3d62a8c332c6b268c81e9ea99b11da0d3" "1ba61848d0d8c78e037867c26f118875705c20f5ad64949a8cee8c8059e5c50f" "80d5a22931c15756b00fb258b80c93b8bc5096bb698dadfb6155ef3550e1c8fb" "10551f0a24d0ac97a109f02178e9e34b448ee12a52357911cf3362a6b249cae6" "c495feb95537b0b2ab126b4b121c0a5cd71a811d97c2cc1f981bbf6786a2117c" "7922b14d8971cce37ddb5e487dbc18da5444c47f766178e5a4e72f90437c0711" "e1498b2416922aa561076edc5c9b0ad7b34d8ff849f335c13364c8f4276904f0" "461e9e0d69636be8b5347a030f14b16c996c60a89e48c33f48bde51c32da3248" "5e2588d92543f5b40de864cd7abf36c72ff7d27a931ab4733aeb1b2ecf7ea22e" "ea5822c1b2fb8bb6194a7ee61af3fe2cc7e2c7bab272cbb498a0234984e1b2d9" "36ca8f60565af20ef4f30783aa16a26d96c02df7b4e54e9900a5138fb33808da" "8721f7ee8cd0c2e56d23f757b44c39c249a58c60d33194fe546659dabc69eebd" "89885317e7136d4e86fb842605d47d8329320f0326b62efa236e63ed4be23c58" "c433c87bd4b64b8ba9890e8ed64597ea0f8eb0396f4c9a9e01bd20a04d15d358" "3b750103c60f1e57b2748df5a4637d63da1076919b552ccc5c967444c2402b34" default)) + '(safe-local-variable-values + '((magit-revision-insert-related-refs) + (magit-refresh-buffers) + (lsp-ruby-lsp-use-bundler t) + (imalison:use-lsp nil) + (etags-regen-ignores "test/manual/etags/") + (etags-regen-regexp-alist + (("c" "objc") + "/[ \11]*DEFVAR_[A-Z_ \11(]+\"\\([^\"]+\\)\"/\\1/" "/[ \11]*DEFVAR_[A-Z_ \11(]+\"[^\"]+\",[ \11]\\([A-Za-z0-9_]+\\)/\\1/")) + (apheleia-inhibit) + (pytest-cmd-flags . "-sx --enable-logger=okcupyd --enable-logger=requests") + (pytest-global-name . "tox -e py27 --") + (flycheck-disabled-checkers emacs-lisp-checkdoc) + (imalison:use-lsp t) + (flycheck-ghc-args "-Wno-missing-signatures") + (eval and buffer-file-name + (not + (eq major-mode 'package-recipe-mode)) + (or + (require 'package-recipe-mode nil t) + (let + ((load-path + (cons "../package-build" load-path))) + (require 'package-recipe-mode nil t))) + (package-recipe-mode)) + (elisp-lint-indent-specs + (describe . 1) + (it . 1) + (thread-first . 0) + (cl-flet . 1) + (cl-flet* . 1) + (org-element-map . defun) + (org-roam-dolist-with-progress . 2) + (org-roam-with-temp-buffer . 1) + (org-with-point-at . 1) + (magit-insert-section . defun) + (magit-section-case . 0) + (org-roam-with-file . 2)) + (elisp-lint-ignored-validators "byte-compile" "package-lint") + (lsp-pylsp-server-command "poetry" "run" "pylsp") + (lsp-haskell-server-wrapper-function . imalison:nix-develop-lsp-wrapper-function) + (imalison:use-lsp-haskell . t) + (checkdoc-package-keywords-flag) + (lsp-pylsp-server-command "nix" "develop" "--impure" "-c" "poetry" "run" "pylsp")))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(default ((t (:background nil))))) diff --git a/dotfiles/emacs.d/early-init.el b/dotfiles/emacs.d/early-init.el new file mode 100644 index 00000000..512068a5 --- /dev/null +++ b/dotfiles/emacs.d/early-init.el @@ -0,0 +1 @@ +(setq package-enable-at-startup nil) diff --git a/dotfiles/emacs.d/snippets/python-mode/slog b/dotfiles/emacs.d/snippets/python-mode/slog new file mode 100644 index 00000000..85da59b3 --- /dev/null +++ b/dotfiles/emacs.d/snippets/python-mode/slog @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: slog +# key: slog +# -- +import structlog + +logger = structlog.get_logger(__name__) \ No newline at end of file diff --git a/dotfiles/emacs.d/snippets/typescript-mode/sify b/dotfiles/emacs.d/snippets/typescript-mode/sify new file mode 100644 index 00000000..946236ca --- /dev/null +++ b/dotfiles/emacs.d/snippets/typescript-mode/sify @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: sify +# key: sify +# -- +(\`\$\{JSON.stringify()\}\`) diff --git a/dotfiles/emacs.d/workspace/.cache/android-33.android.jar/android.graphics.Bitmap.kt b/dotfiles/emacs.d/workspace/.cache/android-33.android.jar/android.graphics.Bitmap.kt new file mode 100644 index 00000000..97b08236 --- /dev/null +++ b/dotfiles/emacs.d/workspace/.cache/android-33.android.jar/android.graphics.Bitmap.kt @@ -0,0 +1,275 @@ +package android.graphics + +import android.annotation.NonNull +import android.annotation.Nullable +import android.graphics.Bitmap.CompressFormat +import android.graphics.Bitmap.Config +import android.hardware.HardwareBuffer +import android.os.Parcel +import android.os.Parcelable +import android.os.Parcelable.Creator +import android.util.DisplayMetrics +import java.io.OutputStream +import java.nio.Buffer + +class Bitmap : Parcelable { + companion object { + @JvmStatic val CREATOR: Creator = null + @JvmStatic val DENSITY_NONE: Int = 0 + @JvmStatic fun wrapHardwareBuffer(hardwareBuffer: HardwareBuffer, colorSpace: ColorSpace): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createScaledBitmap(src: Bitmap, dstWidth: Int, dstHeight: Int, filter: Boolean): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(src: Bitmap): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(source: Bitmap, x: Int, y: Int, width: Int, height: Int): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(source: Bitmap, x: Int, y: Int, width: Int, height: Int, m: Matrix, filter: Boolean): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(display: DisplayMetrics, width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(width: Int, height: Int, config: Config, hasAlpha: Boolean): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(width: Int, height: Int, config: Config, hasAlpha: Boolean, colorSpace: ColorSpace): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(display: DisplayMetrics, width: Int, height: Int, config: Config, hasAlpha: Boolean): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(display: DisplayMetrics, width: Int, height: Int, config: Config, hasAlpha: Boolean, colorSpace: ColorSpace): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(colors: IntArray, offset: Int, stride: Int, width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(display: DisplayMetrics, colors: IntArray, offset: Int, stride: Int, width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(colors: IntArray, width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(display: DisplayMetrics, colors: IntArray, width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(source: Picture): Bitmap { + throw RuntimeException("Stub!") + } + @JvmStatic fun createBitmap(source: Picture, width: Int, height: Int, config: Config): Bitmap { + throw RuntimeException("Stub!") + } + } + + fun Bitmap() { + throw RuntimeException("Stub!") + } + + fun getDensity(): Int { + throw RuntimeException("Stub!") + } + + fun setDensity(density: Int) { + throw RuntimeException("Stub!") + } + + fun reconfigure(width: Int, height: Int, config: Config) { + throw RuntimeException("Stub!") + } + + fun setWidth(width: Int) { + throw RuntimeException("Stub!") + } + + fun setHeight(height: Int) { + throw RuntimeException("Stub!") + } + + fun setConfig(config: Config) { + throw RuntimeException("Stub!") + } + + fun recycle() { + throw RuntimeException("Stub!") + } + + fun isRecycled(): Boolean { + throw RuntimeException("Stub!") + } + + fun getGenerationId(): Int { + throw RuntimeException("Stub!") + } + + fun copyPixelsToBuffer(dst: Buffer) { + throw RuntimeException("Stub!") + } + + fun copyPixelsFromBuffer(src: Buffer) { + throw RuntimeException("Stub!") + } + + fun copy(config: Config, isMutable: Boolean): Bitmap { + throw RuntimeException("Stub!") + } + + fun asShared(): Bitmap { + throw RuntimeException("Stub!") + } + + fun getNinePatchChunk(): ByteArray { + throw RuntimeException("Stub!") + } + + fun compress(format: CompressFormat, quality: Int, stream: OutputStream): Boolean { + throw RuntimeException("Stub!") + } + + fun isMutable(): Boolean { + throw RuntimeException("Stub!") + } + + fun isPremultiplied(): Boolean { + throw RuntimeException("Stub!") + } + + fun setPremultiplied(premultiplied: Boolean) { + throw RuntimeException("Stub!") + } + + fun getWidth(): Int { + throw RuntimeException("Stub!") + } + + fun getHeight(): Int { + throw RuntimeException("Stub!") + } + + fun getScaledWidth(canvas: Canvas): Int { + throw RuntimeException("Stub!") + } + + fun getScaledHeight(canvas: Canvas): Int { + throw RuntimeException("Stub!") + } + + fun getScaledWidth(metrics: DisplayMetrics): Int { + throw RuntimeException("Stub!") + } + + fun getScaledHeight(metrics: DisplayMetrics): Int { + throw RuntimeException("Stub!") + } + + fun getScaledWidth(targetDensity: Int): Int { + throw RuntimeException("Stub!") + } + + fun getScaledHeight(targetDensity: Int): Int { + throw RuntimeException("Stub!") + } + + fun getRowBytes(): Int { + throw RuntimeException("Stub!") + } + + fun getByteCount(): Int { + throw RuntimeException("Stub!") + } + + fun getAllocationByteCount(): Int { + throw RuntimeException("Stub!") + } + + fun getConfig(): Config { + throw RuntimeException("Stub!") + } + + fun hasAlpha(): Boolean { + throw RuntimeException("Stub!") + } + + fun setHasAlpha(hasAlpha: Boolean) { + throw RuntimeException("Stub!") + } + + fun hasMipMap(): Boolean { + throw RuntimeException("Stub!") + } + + fun setHasMipMap(hasMipMap: Boolean) { + throw RuntimeException("Stub!") + } + + fun getColorSpace(): ColorSpace { + throw RuntimeException("Stub!") + } + + fun setColorSpace(colorSpace: ColorSpace) { + throw RuntimeException("Stub!") + } + + fun eraseColor(c: Int) { + throw RuntimeException("Stub!") + } + + fun eraseColor(color: Long) { + throw RuntimeException("Stub!") + } + + fun getPixel(x: Int, y: Int): Int { + throw RuntimeException("Stub!") + } + + fun getColor(x: Int, y: Int): Color { + throw RuntimeException("Stub!") + } + + fun getPixels(pixels: IntArray, offset: Int, stride: Int, x: Int, y: Int, width: Int, height: Int) { + throw RuntimeException("Stub!") + } + + fun setPixel(x: Int, y: Int, color: Int) { + throw RuntimeException("Stub!") + } + + fun setPixels(pixels: IntArray, offset: Int, stride: Int, x: Int, y: Int, width: Int, height: Int) { + throw RuntimeException("Stub!") + } + + fun describeContents(): Int { + throw RuntimeException("Stub!") + } + + fun writeToParcel(p: Parcel, flags: Int) { + throw RuntimeException("Stub!") + } + + fun extractAlpha(): Bitmap { + throw RuntimeException("Stub!") + } + + fun extractAlpha(paint: Paint, offsetXY: IntArray): Bitmap { + throw RuntimeException("Stub!") + } + + fun sameAs(other: Bitmap): Boolean { + throw RuntimeException("Stub!") + } + + fun prepareToDraw() { + throw RuntimeException("Stub!") + } + + fun getHardwareBuffer(): HardwareBuffer { + throw RuntimeException("Stub!") + } +} \ No newline at end of file diff --git a/dotfiles/emacs.d/workspace/.cache/android-33.android.jar/android.media.MediaFormat.kt b/dotfiles/emacs.d/workspace/.cache/android-33.android.jar/android.media.MediaFormat.kt new file mode 100644 index 00000000..ac79dcfb --- /dev/null +++ b/dotfiles/emacs.d/workspace/.cache/android-33.android.jar/android.media.MediaFormat.kt @@ -0,0 +1,304 @@ +package android.media + +import android.annotation.NonNull +import android.annotation.Nullable +import java.nio.ByteBuffer + +class MediaFormat { + companion object { + @JvmStatic val COLOR_RANGE_FULL: Int = 1 + @JvmStatic val COLOR_RANGE_LIMITED: Int = 2 + @JvmStatic val COLOR_STANDARD_BT2020: Int = 6 + @JvmStatic val COLOR_STANDARD_BT601_NTSC: Int = 4 + @JvmStatic val COLOR_STANDARD_BT601_PAL: Int = 2 + @JvmStatic val COLOR_STANDARD_BT709: Int = 1 + @JvmStatic val COLOR_TRANSFER_HLG: Int = 7 + @JvmStatic val COLOR_TRANSFER_LINEAR: Int = 1 + @JvmStatic val COLOR_TRANSFER_SDR_VIDEO: Int = 3 + @JvmStatic val COLOR_TRANSFER_ST2084: Int = 6 + @JvmStatic val KEY_AAC_DRC_ALBUM_MODE: String = "aac-drc-album-mode" + @JvmStatic val KEY_AAC_DRC_ATTENUATION_FACTOR: String = "aac-drc-cut-level" + @JvmStatic val KEY_AAC_DRC_BOOST_FACTOR: String = "aac-drc-boost-level" + @JvmStatic val KEY_AAC_DRC_EFFECT_TYPE: String = "aac-drc-effect-type" + @JvmStatic val KEY_AAC_DRC_HEAVY_COMPRESSION: String = "aac-drc-heavy-compression" + @JvmStatic val KEY_AAC_DRC_OUTPUT_LOUDNESS: String = "aac-drc-output-loudness" + @JvmStatic val KEY_AAC_DRC_TARGET_REFERENCE_LEVEL: String = "aac-target-ref-level" + @JvmStatic val KEY_AAC_ENCODED_TARGET_LEVEL: String = "aac-encoded-target-level" + @JvmStatic val KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT: String = "aac-max-output-channel_count" + @JvmStatic val KEY_AAC_PROFILE: String = "aac-profile" + @JvmStatic val KEY_AAC_SBR_MODE: String = "aac-sbr-mode" + @JvmStatic val KEY_ALLOW_FRAME_DROP: String = "allow-frame-drop" + @JvmStatic val KEY_AUDIO_SESSION_ID: String = "audio-session-id" + @JvmStatic val KEY_BITRATE_MODE: String = "bitrate-mode" + @JvmStatic val KEY_BIT_RATE: String = "bitrate" + @JvmStatic val KEY_CAPTION_SERVICE_NUMBER: String = "caption-service-number" + @JvmStatic val KEY_CAPTURE_RATE: String = "capture-rate" + @JvmStatic val KEY_CHANNEL_COUNT: String = "channel-count" + @JvmStatic val KEY_CHANNEL_MASK: String = "channel-mask" + @JvmStatic val KEY_CODECS_STRING: String = "codecs-string" + @JvmStatic val KEY_COLOR_FORMAT: String = "color-format" + @JvmStatic val KEY_COLOR_RANGE: String = "color-range" + @JvmStatic val KEY_COLOR_STANDARD: String = "color-standard" + @JvmStatic val KEY_COLOR_TRANSFER: String = "color-transfer" + @JvmStatic val KEY_COLOR_TRANSFER_REQUEST: String = "color-transfer-request" + @JvmStatic val KEY_COMPLEXITY: String = "complexity" + @JvmStatic val KEY_CREATE_INPUT_SURFACE_SUSPENDED: String = "create-input-buffers-suspended" + @JvmStatic val KEY_CROP_BOTTOM: String = "crop-bottom" + @JvmStatic val KEY_CROP_LEFT: String = "crop-left" + @JvmStatic val KEY_CROP_RIGHT: String = "crop-right" + @JvmStatic val KEY_CROP_TOP: String = "crop-top" + @JvmStatic val KEY_DURATION: String = "durationUs" + @JvmStatic val KEY_ENCODER_DELAY: String = "encoder-delay" + @JvmStatic val KEY_ENCODER_PADDING: String = "encoder-padding" + @JvmStatic val KEY_FLAC_COMPRESSION_LEVEL: String = "flac-compression-level" + @JvmStatic val KEY_FRAME_RATE: String = "frame-rate" + @JvmStatic val KEY_GRID_COLUMNS: String = "grid-cols" + @JvmStatic val KEY_GRID_ROWS: String = "grid-rows" + @JvmStatic val KEY_HAPTIC_CHANNEL_COUNT: String = "haptic-channel-count" + @JvmStatic val KEY_HARDWARE_AV_SYNC_ID: String = "hw-av-sync-id" + @JvmStatic val KEY_HDR10_PLUS_INFO: String = "hdr10-plus-info" + @JvmStatic val KEY_HDR_STATIC_INFO: String = "hdr-static-info" + @JvmStatic val KEY_HEIGHT: String = "height" + @JvmStatic val KEY_INTRA_REFRESH_PERIOD: String = "intra-refresh-period" + @JvmStatic val KEY_IS_ADTS: String = "is-adts" + @JvmStatic val KEY_IS_AUTOSELECT: String = "is-autoselect" + @JvmStatic val KEY_IS_DEFAULT: String = "is-default" + @JvmStatic val KEY_IS_FORCED_SUBTITLE: String = "is-forced-subtitle" + @JvmStatic val KEY_I_FRAME_INTERVAL: String = "i-frame-interval" + @JvmStatic val KEY_LANGUAGE: String = "language" + @JvmStatic val KEY_LATENCY: String = "latency" + @JvmStatic val KEY_LEVEL: String = "level" + @JvmStatic val KEY_LOW_LATENCY: String = "low-latency" + @JvmStatic val KEY_MAX_B_FRAMES: String = "max-bframes" + @JvmStatic val KEY_MAX_FPS_TO_ENCODER: String = "max-fps-to-encoder" + @JvmStatic val KEY_MAX_HEIGHT: String = "max-height" + @JvmStatic val KEY_MAX_INPUT_SIZE: String = "max-input-size" + @JvmStatic val KEY_MAX_OUTPUT_CHANNEL_COUNT: String = "max-output-channel-count" + @JvmStatic val KEY_MAX_PTS_GAP_TO_ENCODER: String = "max-pts-gap-to-encoder" + @JvmStatic val KEY_MAX_WIDTH: String = "max-width" + @JvmStatic val KEY_MIME: String = "mime" + @JvmStatic val KEY_MPEGH_COMPATIBLE_SETS: String = "mpegh-compatible-sets" + @JvmStatic val KEY_MPEGH_PROFILE_LEVEL_INDICATION: String = "mpegh-profile-level-indication" + @JvmStatic val KEY_MPEGH_REFERENCE_CHANNEL_LAYOUT: String = "mpegh-reference-channel-layout" + @JvmStatic val KEY_OPERATING_RATE: String = "operating-rate" + @JvmStatic val KEY_OUTPUT_REORDER_DEPTH: String = "output-reorder-depth" + @JvmStatic val KEY_PCM_ENCODING: String = "pcm-encoding" + @JvmStatic val KEY_PICTURE_TYPE: String = "picture-type" + @JvmStatic val KEY_PIXEL_ASPECT_RATIO_HEIGHT: String = "sar-height" + @JvmStatic val KEY_PIXEL_ASPECT_RATIO_WIDTH: String = "sar-width" + @JvmStatic val KEY_PREPEND_HEADER_TO_SYNC_FRAMES: String = "prepend-sps-pps-to-idr-frames" + @JvmStatic val KEY_PRIORITY: String = "priority" + @JvmStatic val KEY_PROFILE: String = "profile" + @JvmStatic val KEY_PUSH_BLANK_BUFFERS_ON_STOP: String = "push-blank-buffers-on-shutdown" + @JvmStatic val KEY_QUALITY: String = "quality" + @JvmStatic val KEY_REPEAT_PREVIOUS_FRAME_AFTER: String = "repeat-previous-frame-after" + @JvmStatic val KEY_ROTATION: String = "rotation-degrees" + @JvmStatic val KEY_SAMPLE_RATE: String = "sample-rate" + @JvmStatic val KEY_SLICE_HEIGHT: String = "slice-height" + @JvmStatic val KEY_SLOW_MOTION_MARKERS: String = "slow-motion-markers" + @JvmStatic val KEY_STRIDE: String = "stride" + @JvmStatic val KEY_TEMPORAL_LAYERING: String = "ts-schema" + @JvmStatic val KEY_TILE_HEIGHT: String = "tile-height" + @JvmStatic val KEY_TILE_WIDTH: String = "tile-width" + @JvmStatic val KEY_TRACK_ID: String = "track-id" + @JvmStatic val KEY_VIDEO_ENCODING_STATISTICS_LEVEL: String = "video-encoding-statistics-level" + @JvmStatic val KEY_VIDEO_QP_AVERAGE: String = "video-qp-average" + @JvmStatic val KEY_VIDEO_QP_B_MAX: String = "video-qp-b-max" + @JvmStatic val KEY_VIDEO_QP_B_MIN: String = "video-qp-b-min" + @JvmStatic val KEY_VIDEO_QP_I_MAX: String = "video-qp-i-max" + @JvmStatic val KEY_VIDEO_QP_I_MIN: String = "video-qp-i-min" + @JvmStatic val KEY_VIDEO_QP_MAX: String = "video-qp-max" + @JvmStatic val KEY_VIDEO_QP_MIN: String = "video-qp-min" + @JvmStatic val KEY_VIDEO_QP_P_MAX: String = "video-qp-p-max" + @JvmStatic val KEY_VIDEO_QP_P_MIN: String = "video-qp-p-min" + @JvmStatic val KEY_WIDTH: String = "width" + @JvmStatic val MIMETYPE_AUDIO_AAC: String = "audio/mp4a-latm" + @JvmStatic val MIMETYPE_AUDIO_AAC_ELD: String = "audio/mp4a.40.39" + @JvmStatic val MIMETYPE_AUDIO_AAC_HE_V1: String = "audio/mp4a.40.05" + @JvmStatic val MIMETYPE_AUDIO_AAC_HE_V2: String = "audio/mp4a.40.29" + @JvmStatic val MIMETYPE_AUDIO_AAC_LC: String = "audio/mp4a.40.02" + @JvmStatic val MIMETYPE_AUDIO_AAC_XHE: String = "audio/mp4a.40.42" + @JvmStatic val MIMETYPE_AUDIO_AC3: String = "audio/ac3" + @JvmStatic val MIMETYPE_AUDIO_AC4: String = "audio/ac4" + @JvmStatic val MIMETYPE_AUDIO_AMR_NB: String = "audio/3gpp" + @JvmStatic val MIMETYPE_AUDIO_AMR_WB: String = "audio/amr-wb" + @JvmStatic val MIMETYPE_AUDIO_DOLBY_MAT: String = "audio/vnd.dolby.mat" + @JvmStatic val MIMETYPE_AUDIO_DOLBY_TRUEHD: String = "audio/vnd.dolby.mlp" + @JvmStatic val MIMETYPE_AUDIO_DRA: String = "audio/vnd.dra" + @JvmStatic val MIMETYPE_AUDIO_DTS: String = "audio/vnd.dts" + @JvmStatic val MIMETYPE_AUDIO_DTS_HD: String = "audio/vnd.dts.hd" + @JvmStatic val MIMETYPE_AUDIO_DTS_UHD: String = "audio/vnd.dts.uhd" + @JvmStatic val MIMETYPE_AUDIO_EAC3: String = "audio/eac3" + @JvmStatic val MIMETYPE_AUDIO_EAC3_JOC: String = "audio/eac3-joc" + @JvmStatic val MIMETYPE_AUDIO_FLAC: String = "audio/flac" + @JvmStatic val MIMETYPE_AUDIO_G711_ALAW: String = "audio/g711-alaw" + @JvmStatic val MIMETYPE_AUDIO_G711_MLAW: String = "audio/g711-mlaw" + @JvmStatic val MIMETYPE_AUDIO_IEC61937: String = "audio/x-iec61937" + @JvmStatic val MIMETYPE_AUDIO_MPEG: String = "audio/mpeg" + @JvmStatic val MIMETYPE_AUDIO_MPEGH_BL_L3: String = "audio/mhm1.03" + @JvmStatic val MIMETYPE_AUDIO_MPEGH_BL_L4: String = "audio/mhm1.04" + @JvmStatic val MIMETYPE_AUDIO_MPEGH_LC_L3: String = "audio/mhm1.0d" + @JvmStatic val MIMETYPE_AUDIO_MPEGH_LC_L4: String = "audio/mhm1.0e" + @JvmStatic val MIMETYPE_AUDIO_MPEGH_MHA1: String = "audio/mha1" + @JvmStatic val MIMETYPE_AUDIO_MPEGH_MHM1: String = "audio/mhm1" + @JvmStatic val MIMETYPE_AUDIO_MSGSM: String = "audio/gsm" + @JvmStatic val MIMETYPE_AUDIO_OPUS: String = "audio/opus" + @JvmStatic val MIMETYPE_AUDIO_QCELP: String = "audio/qcelp" + @JvmStatic val MIMETYPE_AUDIO_RAW: String = "audio/raw" + @JvmStatic val MIMETYPE_AUDIO_SCRAMBLED: String = "audio/scrambled" + @JvmStatic val MIMETYPE_AUDIO_VORBIS: String = "audio/vorbis" + @JvmStatic val MIMETYPE_IMAGE_ANDROID_HEIC: String = "image/vnd.android.heic" + @JvmStatic val MIMETYPE_TEXT_CEA_608: String = "text/cea-608" + @JvmStatic val MIMETYPE_TEXT_CEA_708: String = "text/cea-708" + @JvmStatic val MIMETYPE_TEXT_SUBRIP: String = "application/x-subrip" + @JvmStatic val MIMETYPE_TEXT_VTT: String = "text/vtt" + @JvmStatic val MIMETYPE_VIDEO_AV1: String = "video/av01" + @JvmStatic val MIMETYPE_VIDEO_AVC: String = "video/avc" + @JvmStatic val MIMETYPE_VIDEO_DOLBY_VISION: String = "video/dolby-vision" + @JvmStatic val MIMETYPE_VIDEO_H263: String = "video/3gpp" + @JvmStatic val MIMETYPE_VIDEO_HEVC: String = "video/hevc" + @JvmStatic val MIMETYPE_VIDEO_MPEG2: String = "video/mpeg2" + @JvmStatic val MIMETYPE_VIDEO_MPEG4: String = "video/mp4v-es" + @JvmStatic val MIMETYPE_VIDEO_RAW: String = "video/raw" + @JvmStatic val MIMETYPE_VIDEO_SCRAMBLED: String = "video/scrambled" + @JvmStatic val MIMETYPE_VIDEO_VP8: String = "video/x-vnd.on2.vp8" + @JvmStatic val MIMETYPE_VIDEO_VP9: String = "video/x-vnd.on2.vp9" + @JvmStatic val PICTURE_TYPE_B: Int = 3 + @JvmStatic val PICTURE_TYPE_I: Int = 1 + @JvmStatic val PICTURE_TYPE_P: Int = 2 + @JvmStatic val PICTURE_TYPE_UNKNOWN: Int = 0 + @JvmStatic val TYPE_BYTE_BUFFER: Int = 5 + @JvmStatic val TYPE_FLOAT: Int = 3 + @JvmStatic val TYPE_INTEGER: Int = 1 + @JvmStatic val TYPE_LONG: Int = 2 + @JvmStatic val TYPE_NULL: Int = 0 + @JvmStatic val TYPE_STRING: Int = 4 + @JvmStatic val VIDEO_ENCODING_STATISTICS_LEVEL_1: Int = 1 + @JvmStatic val VIDEO_ENCODING_STATISTICS_LEVEL_NONE: Int = 0 + @JvmStatic fun createAudioFormat(mime: String, sampleRate: Int, channelCount: Int): MediaFormat { + throw RuntimeException("Stub!") + } + @JvmStatic fun createSubtitleFormat(mime: String, language: String): MediaFormat { + throw RuntimeException("Stub!") + } + @JvmStatic fun createVideoFormat(mime: String, width: Int, height: Int): MediaFormat { + throw RuntimeException("Stub!") + } + } + + fun MediaFormat() { + throw RuntimeException("Stub!") + } + + fun MediaFormat(other: MediaFormat) { + throw RuntimeException("Stub!") + } + + fun containsKey(name: String): Boolean { + throw RuntimeException("Stub!") + } + + fun containsFeature(name: String): Boolean { + throw RuntimeException("Stub!") + } + + fun getValueTypeForKey(name: String): Int { + throw RuntimeException("Stub!") + } + + fun getNumber(name: String): Number { + throw RuntimeException("Stub!") + } + + fun getNumber(name: String, defaultValue: Number): Number { + throw RuntimeException("Stub!") + } + + fun getInteger(name: String): Int { + throw RuntimeException("Stub!") + } + + fun getInteger(name: String, defaultValue: Int): Int { + throw RuntimeException("Stub!") + } + + fun getLong(name: String): Long { + throw RuntimeException("Stub!") + } + + fun getLong(name: String, defaultValue: Long): Long { + throw RuntimeException("Stub!") + } + + fun getFloat(name: String): Float { + throw RuntimeException("Stub!") + } + + fun getFloat(name: String, defaultValue: Float): Float { + throw RuntimeException("Stub!") + } + + fun getString(name: String): String { + throw RuntimeException("Stub!") + } + + fun getString(name: String, defaultValue: String): String { + throw RuntimeException("Stub!") + } + + fun getByteBuffer(name: String): ByteBuffer { + throw RuntimeException("Stub!") + } + + fun getByteBuffer(name: String, defaultValue: ByteBuffer): ByteBuffer { + throw RuntimeException("Stub!") + } + + fun getFeatureEnabled(feature: String): Boolean { + throw RuntimeException("Stub!") + } + + fun setInteger(name: String, value: Int) { + throw RuntimeException("Stub!") + } + + fun setLong(name: String, value: Long) { + throw RuntimeException("Stub!") + } + + fun setFloat(name: String, value: Float) { + throw RuntimeException("Stub!") + } + + fun setString(name: String, value: String) { + throw RuntimeException("Stub!") + } + + fun setByteBuffer(name: String, bytes: ByteBuffer) { + throw RuntimeException("Stub!") + } + + fun removeKey(name: String) { + throw RuntimeException("Stub!") + } + + fun removeFeature(name: String) { + throw RuntimeException("Stub!") + } + + fun getKeys(): MutableSet { + throw RuntimeException("Stub!") + } + + fun getFeatures(): MutableSet { + throw RuntimeException("Stub!") + } + + fun setFeatureEnabled(feature: String, enabled: Boolean) { + throw RuntimeException("Stub!") + } + + fun toString(): String { + throw RuntimeException("Stub!") + } +} \ No newline at end of file diff --git a/dotfiles/pypirc b/dotfiles/pypirc new file mode 100644 index 00000000..71de7ada --- /dev/null +++ b/dotfiles/pypirc @@ -0,0 +1 @@ +__token__