This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
/usr/local/go/src/cmd/go/main.go: goto Slow | |
/usr/local/go/src/cmd/internal/rsc.io/arm/armasm/ext_test.go: goto nomatch | |
/usr/local/go/src/cmd/internal/rsc.io/arm/armasm/ext_test.go: goto Fix | |
/usr/local/go/src/cmd/internal/rsc.io/x86/x86asm/ext_test.go: goto nomatch | |
/usr/local/go/src/cmd/internal/rsc.io/x86/x86asm/ext_test.go: goto Fix | |
/usr/local/go/src/cmd/yacc/yacc.go:var indgo = make([]int, NSTATES) // index to the stored goto table | |
/usr/local/go/src/cmd/yacc/yacc.go: goto l1 | |
/usr/local/go/src/cmd/yacc/yacc.go: goto l1 | |
/usr/local/go/src/cmd/yacc/yacc.go: // do a goto on c | |
/usr/local/go/src/cmd/yacc/yacc.go: fmt.Fprintf(foutput, "\t%v goto %v\n", symnam(j0+NTBASE), temp1[j1]) |
docker run --net=host -d gcr.io/google_containers/etcd:2.0.12 /usr/local/bin/etcd --addr=127.0.0.1:4001 --bind-addr=0.0.0.0:4001 --data-dir=/var/etcd/data | |
docker run \ | |
--volume=/:/rootfs:ro \ | |
--volume=/sys:/sys:ro \ | |
--volume=/dev:/dev \ | |
--volume=/var/lib/docker/:/var/lib/docker:ro \ | |
--volume=/var/lib/kubelet/:/var/lib/kubelet:rw \ | |
--volume=/var/run:/var/run:rw \ | |
--net=host \ |
I hereby claim:
To claim this, I am signing this object:
:80 | |
root /usr/src/wordpress | |
gzip | |
fastcgi / wordpress:9000 php | |
rewrite { | |
if {path} not_match ^\/wp-admin | |
to {path} {path}/ /index.php?_url={uri} | |
} | |
log stdout | |
errors stderr |
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func main() { | |
http.Handle("/static/", http.StripPrefix("/static", http.FileServer(http.Dir("static")))) | |
http.HandleFunc("/", handler) |
# Sadly i have to go through these. Unity was fine :( | |
# Important installs | |
Gnome tweak tool | |
Top panel workspace scroll extension | |
Dash to Dock extension | |
Gtile extension | |
# Ubuntu's gnome session is not for me, the dock is problematic | |
sudo apt install gnome-session |
urrent directory: /home/abiola/.vagrant.d/gems/2.4.1/gems/nokogiri-1.8.2/ext/nokogiri | |
/home/abiola/.rvm/rubies/ruby-2.4.1/bin/ruby -r ./siteconf20180317-6457-194o3fh.rb extconf.rb | |
/home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/git.rb:202:in `rescue in load_spec_files': https://github.com/hashicorp/vagrant-spec.git (at master@f3daeda) is not yet checked out. Run `bundle install` first. (Bundler::GitError) | |
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/git.rb:199:in `load_spec_files' | |
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/path.rb:100:in `local_specs' | |
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/git.rb:166:in `specs' | |
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/lazy_specification.rb:76:in `__materialize__' | |
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/spec_set.rb:85:in `block in materialize' | |
# Gnome 3 - based on https://blog.samalik.com/make-your-gnome-title-bars-smaller/ | |
.header-bar.default-decoration { | |
padding-top: 3px; | |
padding-bottom: 3px; | |
font-size: 0.8em; | |
} | |
.header-bar.default-decoration .button.titlebutton { | |
padding: 0px; | |
} |
REMOTE=${REMOTE:-"upstream/master"} | |
DOC_EXAMPLE_CHANGE_PATTERN="\ | |
-e ^doc/ \ | |
-e ^examples/ \ | |
-e ^(VERSION|LICENSE)$ \ | |
-e \.md$\ | |
" | |
echo using remote $REMOTE |