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
amos at loki in ~/Dev/ooc-yaml (master) | |
$ rock +-fPIC +-shared | |
[ OK ] | |
amos at loki in ~/Dev/ooc-yaml (master) | |
$ gcc $(find .libs/ooc/yaml/ -name '*.o') -shared -o liboocyaml.so | |
amos at loki in ~/Dev/ooc-yaml (master●) | |
$ ls -lhA *.so | |
-rwxr-xr-x 1 amos amos 183K Jan 5 16:35 liboocyaml.so |
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
<div class="flex-video"> | |
<video src="https://www.dropbox.com/s/gyhboyflutxfcla/ps.webm?dl=1" autoplay controls loop> | |
</video> | |
</div> |
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
$ nm libgc-1-2.dll | grep thread | |
709d4ee0 T __beginthreadex | |
709d4ef0 T __endthreadex | |
70a081f4 I __imp___beginthreadex | |
70a081f8 I __imp___endthreadex | |
70a030f0 B _dll_thread_table | |
709dc740 b _first_thread | |
709dc730 b _first_thread_used | |
709cfc30 T _GC_allow_register_threads | |
709cff70 T _GC_beginthreadex |
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
#!/bin/sh | |
YOUR_KEY="something that starts with live_, get it at http://www.twitch.tv/broadcast" | |
ffmpeg -v warning -s 1920x1080 -f x11grab -r 25 -i :0.0 -f pulse -ac 1 -i default -c:v libx264 -preset veryfast -b:v 450k -maxrate 700k -bufsize 4000k -pix_fmt yuv420p -s 1280x720 -c:a libmp3lame -ab 64k -ar 44100 -threads 2 -f flv "rtmp://live-ams.twitch.tv/app/#{YOUR_KEY}" |
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 os/[Process, Pipe] | |
p := Process new(["nc", "towel.blinkenlights.nl", "23"]) | |
out := Pipe new() | |
p setStdout(out) | |
p executeNoWait() | |
while (true) { |
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
~~~ | |
Some code here | |
~~~ |
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
$ bundle exec rails c | |
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8 | |
An exception occurred running bin/rails: | |
no such file to load -- bigdecimal/util (LoadError) | |
Backtrace: | |
Rubinius::CodeLoader#load_error at kernel/common/codeloader.rb:436 | |
Rubinius::CodeLoader#resolve_require_path at kernel/common/codeloader.rb:423 |
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
amos at coyote in ~/Dev/devsofa (rbx) | |
$ rails c | |
An exception occurred running bin/rails: | |
no such file to load -- irb (LoadError) | |
Backtrace: | |
Rubinius::CodeLoader#load_error at kernel/common/codeloader.rb:436 | |
Rubinius::CodeLoader#resolve_require_path at kernel/common/codeloader.rb:423 |
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/kernel/common/marshal.rb b/kernel/common/marshal.rb | |
index 688c24c..f9f9823 100644 | |
--- a/kernel/common/marshal.rb | |
+++ b/kernel/common/marshal.rb | |
@@ -546,7 +546,7 @@ module Marshal | |
call obj if @proc and call_proc | |
- @stream.tainted? ? obj.taint : obj | |
+ (@stream.tainted? && !obj.frozen?) ? obj.taint : obj |