Skip to content

Instantly share code, notes, and snippets.

@jonathonbyrdziak
jonathonbyrdziak / Instructions
Created October 10, 2011 08:02
The perfect magento installation on CentOS 6
#
# @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
@mustafaturan
mustafaturan / latest-ffmpeg-centos6.sh
Last active October 25, 2022 20:14
Installs latest ffmpeg on Centos 6
# 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
@hfeeki
hfeeki / install_gorgasm.sh
Created January 14, 2014 12:43
install gorgasm
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
@locked
locked / gist:b066aa1ddeb2b28e855e
Created March 6, 2016 16:44
Go AES CBC Examples
package main
import (
"crypto/aes"
"crypto/cipher"
"fmt"
"crypto/rand"
"io"
"encoding/base64"
"encoding/hex"
@gadelkareem
gadelkareem / Hash.go
Created March 9, 2018 06:37
Hash model values to enable partial update for the ORM
package main
import (
"strings"
"reflect"
"github.com/mitchellh/hashstructure"
"fmt"
)
type Hash struct {