I hereby claim:
- I am null-dev on github.
- I am nulld3v (https://keybase.io/nulld3v) on keybase.
- I have a public key ASCmcZbgg7vDpUsl7Yu_WcCgk8yvn6jFM0uWlGOlkq1lbwo
To claim this, I am signing this object:
| // An earlier attempt that is more fleshed out with some more notes. | |
| const TRANSCODE_RESULT_EXTENSION: &str = "mkv"; | |
| impl Transcoder { | |
| // Transcode animation to lossless x265. x265 is 1 FPS with one frame per second. | |
| async fn transcode_animation(&self, frame_files: Vec<(&AnimationFrame, &Path)>) -> Result<PathBuf> { | |
| // ffprobe the frames to grab the pixel format | |
| let mut cur_pix_fmt: String = "unknown".to_owned(); | |
| let mut first_stream: Option<FfprobeStream> = None; |
| run-as() { | |
| local escaped_args=() | |
| for arg in "$@"; do | |
| escaped_args+=("'${arg//\'/\'\\\'\'}'") | |
| done | |
| local IFS=' ' | |
| rish -c "/system/bin/run-as ${escaped_args[*]}" | |
| } | |
| backup-app() { |
| (function() { | |
| 'use strict'; | |
| // Disable scroll up: https://greasyfork.org/vi/scripts/461533-disable-bingchat-scroll-up/code | |
| window.addEventListener("wheel", e=>{ | |
| if(e.target.className.includes("cib-serp-main")) e.stopPropagation(); | |
| }); | |
| // Core theme CSS, based on: https://github.com/darkreader/darkreader/issues/10784#issuecomment-1500925640 | |
| function injectCSS(node, shadowRoot) { |
| @Test | |
| public void testTimestamp() throws Exception { | |
| TestUtils.assertMemoryLeak(() -> { | |
| try (final PGWireServer ignored = createPGServer(1)) { | |
| try (final Connection connection = getConnection(false, true)) { | |
| connection.setAutoCommit(false); | |
| connection.prepareStatement("create table ts (ts timestamp) timestamp(ts) partition by month").execute(); | |
| connection.prepareStatement("insert into ts (ts) values ('2021-09-27T16:45:03.202345Z')").execute(); | |
| connection.commit(); | |
| connection.setAutoCommit(true); |
| [package] | |
| name = "NewPipeSoundcloudImport" | |
| version = "0.1.0" | |
| edition = "2018" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| rusqlite = "0.25.3" | |
| reqwest = "0.11.4" |
| #!/usr/bin/env bash | |
| # 1. Download and install the QEMU hook helper from here: https://github.com/PassthroughPOST/VFIO-Tools | |
| # 2. Place this file in /etc/libvirt/hooks/qemu.d/NAME OF YOUR VM/prepare/begin/disable-fb.sh | |
| # 3. Make disable-fb.sh executable. | |
| VM_NAME="$1" | |
| echo "libvirt-qemu disable-fb: Disabling efi-framebuffer to prepare to pass GPU to VM $VM_NAME" > /dev/kmsg 2>&1 | |
| echo "efi-framebuffer.0" > /sys/bus/platform/devices/efi-framebuffer.0/driver/unbind |
| #!/usr/bin/python | |
| from variety.plugins.IQuoteSource import IQuoteSource | |
| from variety.Util import Util | |
| from locale import gettext as _ | |
| class VNDBSource(IQuoteSource): | |
| @classmethod | |
| def get_info(cls): | |
| return { |
I hereby claim:
To claim this, I am signing this object:
| [ | |
| { | |
| "clusterTitle": "international/internal/internationally", | |
| "docs": [ | |
| { | |
| "docTitle": "United Nations \u0026 It\u0027s International Organizations--Midterm ...", | |
| "docBlurb": "There are six main organs of the United Nations—the General Assembly, the Security Council, the Trusteeship Council, the Economic and Social Council, the International Court of Justice, and the Secretariat.", | |
| "docURL": "https://quizlet.com/157367004/united-nations-its-international..." | |
| }, | |
| { |
| if application "iTerm" is running then | |
| tell application "System Events" | |
| tell UI element "iTerm" of list 1 of application process "Dock" | |
| perform action "AXShowMenu" | |
| click menu item "New Window (Default Profile)" of menu 1 | |
| end tell | |
| end tell | |
| else | |
| tell application id (id of application "iTerm") | |
| reopen |