This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import things | |
import subprocess | |
import pyautogui | |
import time | |
import pydirectinput | |
from pathlib import Path | |
print('might want to click on roblox focus') | |
time.sleep(5) | |
print(pyautogui.position()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to_encode = "abcdABCD" | |
outy = Array(UInt8).new | |
to_encode.each_char{|c| | |
if c.in_set?("A-Z") | |
outy << 0x41_u8 + (c - 'A') # https://en.wikipedia.org/wiki/EIA-608#Characters | |
elsif c.in_set?("a-z") | |
outy << 0x61_u8 + (c - 'a') | |
else | |
raise "don't translate more chars yet" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "benchmark" | |
require "uuid" | |
Benchmark.ips do |x| | |
x.report { UUID.random } | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestWasClosed { | |
public B() throws IOException { | |
//throw new IOException("and me?"); | |
} | |
@Override | |
public void close() throws Exception { | |
throw new IOException("nope"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1f00753130f44c0e29c34d95957f6eac2b2dcf45 Mon Sep 17 00:00:00 2001 | |
From: Leon Klingele <git@leonklingele.de> | |
Date: Tue, 29 Sep 2020 18:21:13 +0200 | |
Subject: [PATCH 1/2] apple-keychain-integration-other-changes | |
--- | |
Makefile.in | 16 +- | |
audit-bsm.c | 7 +- | |
auth.c | 2 +- | |
authfd.c | 25 ++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
class BeanB { | |
@Autowired | |
BeanA beana ; | |
@PostConstruct | |
public void init(){ | |
System.out.println("bean b init is called a.b=" + beana.b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cross_compile_ffmpeg.sh b/cross_compile_ffmpeg.sh | |
index 1231d6c..f59244d 100755 | |
--- a/cross_compile_ffmpeg.sh | |
+++ b/cross_compile_ffmpeg.sh | |
@@ -805,6 +805,10 @@ build_libtiff() { | |
sed -i.bak 's/-ltiff.*$/-ltiff -llzma -ljpeg -lz/' $PKG_CONFIG_PATH/libtiff-4.pc # static deps | |
} | |
+build_libcdio() { | |
+ generic_download_and_make_and_install http://git.savannah.gnu.org/cgit/libcdio.git/snapshot/libcdio-release-2.1.0.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure b/configure | |
index 080d93a129..86bdb73dc7 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -2681,6 +2681,9 @@ bink_decoder_select="blockdsp hpeldsp" | |
binkaudio_dct_decoder_select="mdct rdft dct sinewin wma_freqs" | |
binkaudio_rdft_decoder_select="mdct rdft sinewin wma_freqs" | |
cavs_decoder_select="blockdsp golomb h264chroma idctdsp qpeldsp videodsp" | |
+ccaption_raw_608_decoder_select="ccaption_decoder" | |
clearvideo_decoder_select="idctdsp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c | |
index d7f5bd7..afd8cef 100644 | |
--- a/libavdevice/dshow.c | |
+++ b/libavdevice/dshow.c | |
@@ -716,9 +716,9 @@ dshow_list_device_options(AVFormatContext *avctx, ICreateDevEnum *devenum, | |
if ((r = dshow_cycle_devices(avctx, devenum, devtype, sourcetype, &device_filter, &device_unique_name)) < 0) | |
return r; | |
ctx->device_filter[devtype] = device_filter; | |
+ ctx->device_unique_name[devtype] = device_unique_name; | |
if ((r = dshow_cycle_pins(avctx, devtype, sourcetype, device_filter, NULL)) < 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c | |
index d7f5bd7..afd8cef 100644 | |
--- a/libavdevice/dshow.c | |
+++ b/libavdevice/dshow.c | |
@@ -716,9 +716,9 @@ dshow_list_device_options(AVFormatContext *avctx, ICreateDevEnum *devenum, | |
if ((r = dshow_cycle_devices(avctx, devenum, devtype, sourcetype, &device_filter, &device_unique_name)) < 0) | |
return r; | |
ctx->device_filter[devtype] = device_filter; | |
+ ctx->device_unique_name[devtype] = device_unique_name; | |
if ((r = dshow_cycle_pins(avctx, devtype, sourcetype, device_filter, NULL)) < 0) |
NewerOlder