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
| package main | |
| import ( | |
| "strings" | |
| "reflect" | |
| "github.com/mitchellh/hashstructure" | |
| "fmt" | |
| ) | |
| type Hash struct { |
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
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "fmt" | |
| "crypto/rand" | |
| "io" | |
| "encoding/base64" | |
| "encoding/hex" |
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
| sudo apt-get install -y libegl1-mesa | |
| sudo apt-get install -y libgles2-mesa-dev | |
| sudo apt-get install -y xdotool | |
| go get github.com/remogatto/egl | |
| go get github.com/remogatto/opengles2 | |
| go get github.com/remogatto/gotask | |
| go get github.com/remogatto/gorgasm-template |
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
| # source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide | |
| yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel | |
| mkdir ~/ffmpeg_sources | |
| cd ~/ffmpeg_sources | |
| curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
| tar xzvf yasm-1.2.0.tar.gz | |
| cd yasm-1.2.0 |
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
| # | |
| # @author Jonathon byrd | |
| # | |
| ############################################################ | |
| # first things first, set your iptables for a web server. If you jack these | |
| # up you don't want to have to re-install your os after doing much more. | |
| # @see http://www.thegeekstuff.com/2011/06/iptables-rules-examples/ | |
| # and | |
| # @see https://help.ubuntu.com/community/IptablesHowTo |