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 | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: S 0 1 6 | |
# Short-Description: nginx initscript | |
# Description: nginx | |
### END INIT INF |
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
khelll@khelll-laptop:~/projects/merb-book$ git rebase mattetti/master | |
book-content/ar/toc.markdown: needs update | |
gems/bin/autospec: needs update | |
gems/bin/edit_json.rb: needs update | |
gems/bin/erubis: needs update | |
gems/bin/gpgen: needs update | |
gems/bin/maruku: needs update | |
gems/bin/marutex: needs update | |
gems/bin/merb: needs update | |
gems/bin/mongrel_rails: needs update |
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
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
require 'growl' | |
# Configuration | |
# | |
# URL to get questions from |
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
@@v = 1 | |
class MyClass | |
@@v = 2 | |
end | |
@@v #=>2 |
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
class Spot | |
include Mongoid::Document | |
include Mongoid::Timestamps | |
## Fields ## | |
field :name_t | |
## Associations ## | |
embeds_many :items | |
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
testing |
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
# Default ruby is 1.9.3, but opening a new shell results in having 1.9.2 instead! | |
~|⇒ ruby -v | |
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] | |
~|⇒ rvm list default | |
Default Ruby (for new shells) | |
ruby-1.9.3-p125 [ x86_64 ] |
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 | |
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
# usage \curl -sSL https://gist.githubusercontent.com/khelll/6eee332fcbc8667b326c/raw/4efeb70acad6e41fea129c472d6bf7f2236fa37d/install-ffmpeg-amazon-linux.sh | bash | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
rm -rf ~/ffmpeg_build ~/bin/{ffmpeg,ffprobe,ffserver,lame,vsyasm,x264,x265,yasm,ytasm} |
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
class Kops < Formula | |
desc "Production Grade K8s Installation, Upgrades, and Management" | |
homepage "https://github.com/kubernetes/kops" | |
url "https://github.com/kubernetes/kops/archive/1.8.0.tar.gz" | |
sha256 "16d75793d138204c56c43c28e356102a11901919ae9c7ce2eea16843f340abe6" | |
head "https://github.com/kubernetes/kops.git" | |
bottle do | |
cellar :any_skip_relocation | |
rebuild 1 |
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 | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: S 0 1 6 | |
# Short-Description: nginx initscript | |
# Description: nginx | |
### END INIT INF |
OlderNewer