This file contains hidden or 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
.header | |
@extend .container | |
.brand | |
float: left | |
span | |
+text-hide | |
.links |
This file contains hidden or 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
<object id="videoplayer354" type="application/x-shockwave-flash" data="http://localhost:3000/player/uppod.swf" width="500" height="375"> | |
<param name="bgcolor" value="#3333" /> | |
<param name="allowFullScreen" value="true" /> | |
<param name="allowScriptAccess" value="always" /> | |
<param name="movie" value="http://localhost:3000/player/uppod.swf" /> | |
<param name="flashvars" value="comment=Video&st=http://localhost:3000/player/st/video205-524.txt&file=http://localhost:3000/video.mp4" /> | |
</object> |
This file contains hidden or 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
$ crystal build src/hello.cr --release | |
$ time ./hello | |
Hello world | |
real 0m0.003s | |
user 0m0.000s | |
sys 0m0.004s | |
$ time ruby hello.rb |
This file contains hidden or 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 "./sev/*" | |
module Sev | |
puts "Hello" | |
@[Link("m")] | |
@[Link("avcodec")] | |
@[Link("avformat")] | |
lib AvFormat | |
fun av_register_all |
This file contains hidden or 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
// gcc src/decoder.c -lavcodec -lavformat | |
#include <libavcodec/avcodec.h> | |
#include <libavformat/avformat.h> | |
int main(int argc, char *argv[]) { | |
char *filename = "/home/msa/Videos/Cowspiracy.2014.1080p-EGN.mkv"; | |
av_register_all(); |
OlderNewer