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
| ~ | |
| ❯ /bin/sh --version | |
| GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14) | |
| Copyright (C) 2007 Free Software Foundation, Inc. | |
| ~ | |
| ❯ /bin/bash --version | |
| GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14) | |
| Copyright (C) 2007 Free Software Foundation, Inc. |
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
| while (true); do echo "Waiting..." ; nc -l -p 8080 | pbcopy; echo "Copied: "; pbpaste | sed 's/^/ /'; done | |
| echo "meow" | nc -c localhost 8080 |
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
| fs = require('fs') | |
| module.exports = | |
| manifest: -> | |
| JSON.parse(fs.readFileSync(__dirname + '/../../../tmp/manifest.json', 'utf8')) | |
| url: (path) -> | |
| @manifest()[path] |
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
| tweet() { open "https://twitter.com/intent/tweet?text=$1" } |
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
| echo echo history |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <link rel="stylesheet" href="style.css" media="screen" title="no title" charset="utf-8"> | |
| </head> | |
| <body> | |
| <div class="box"></div> | |
| </body> |
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
| #!/bin/bash | |
| ffmpeg -i "$1" -r 10 -f image2pipe -vcodec ppm - \ | |
| | convert -layers Optimize - gif:- \ | |
| | gifsicle -O3 --multifile - |
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
| livestreamer hlsvariant://twitcasting.tv/$name/metastream.m3u8/?video=1 best --player /Applications/VLC.app/Contents/MacOS/VLC |
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
| rtmpdump -r "rtmp://flv.nhk.or.jp/ondemand/flv/news/k10010107821_201506090918_201506090918.mp4" -o file.mp4 |
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
| // seeding | |
| swarm.on('peer', function (peer) { | |
| dht.addPeer(peer) | |
| }) | |
| // signaling | |
| // hub | |
| hub.subscribe('/channel') | |
| // peer |