View test.cr
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 |
View TestWasClosed.java
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"); | |
} | |
} |
View 0001-apple-keychain-integration-other-changes.patch
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 ++ |
View dependson.java
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); |
View cdio.diff
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 |
View ffmpeg_vbi_cc.diff
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" |
View me.diff
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) |
View ffmpeg crash
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) |
View cashes crystal play
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 "openssl" | |
NAME = "Boy" | |
cipher = OpenSSL::Cipher.new("AES-256-CBC") | |
cipher.encrypt | |
key = cipher.random_key | |
iv = cipher.random_iv | |
# Username | |
s2 = IO::Memory.new |
View 8481_2.diff
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/spec/std/openssl/ssl/socket_spec.cr b/spec/std/openssl/ssl/socket_spec.cr | |
index df3a34a61..b1d931c34 100644 | |
--- a/spec/std/openssl/ssl/socket_spec.cr | |
+++ b/spec/std/openssl/ssl/socket_spec.cr | |
@@ -42,7 +42,7 @@ describe OpenSSL::SSL::Socket do | |
# in tls 1.3, if clients don't read anything and close the connection | |
# the server still try and write to it a ticket, resulting in a "pipe failure" | |
# this context method disables the tickets which allows the behavior: | |
- server_context.disable_session_resume_tickets | |
+ #server_context.disable_session_resume_tickets |
NewerOlder