Skip to content

Instantly share code, notes, and snippets.

kendellfab / synergy_build
Created Dec 1, 2014
Building Synergy on OSX Yosemite
View synergy_build
I was able to get this working on Yosemite with the following command:
./ conf -g2 --mac-sdk 10.10 --mac-identity Yosemite
Of course, this will only work given you have the dependencies. You can install them with the Homebrew package manager.
brew install cmake qt
Additionally, you'll want to build it with:
./ build
And finally, to install it, you'll get the compiled results from the bin folder, i.e.
kendellfab / Apache Test
Created Aug 12, 2013
Example of using apache test tools to test server.
View Apache Test
ab -c 100 -n 10000 http://{your ip}:8000/
kendellfab / Typescript Comments
Created Aug 15, 2013
Sublime Text TypeScript commenting.
View Typescript Comments
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
kendellfab / ejabberd_user
Created Sep 3, 2013
Register a new ejabberd user.
View ejabberd_user
sudo ejabberdctl register <username> <domain> <password>
kendellfab / fish_shell
Created Sep 5, 2013
Adding a list to a list in fish shell.
View fish_shell
set PATH $PATH {$GOPATH}/bin
kendellfab / arch_java.
Created Sep 19, 2013
Install Oracle java 7
View arch_java.
sudo pacman -R icedtea-web
Then build Oracle JRE AUR package,
Before installing OracleJRE I had to remove openjdk6 manually and ignore dependencies:
[argy@Freak jre]$ sudo pacman -Rdd openjdk6
kendellfab / pacman_aur
Created Sep 23, 2013
Show list of AUR packages installed in pacman.
View pyobject_demo
from gi.repository import Gtk
builder = Gtk.Builder()
window = builder.get_object("window1")
kendellfab / golang_concurrency
Created Nov 4, 2013
Simple Golang concurrency concept.
View golang_concurrency
func Google(query string) (results []Result) {
c := make(chan Result)
go func() { c <- Web(query) } ()
go func() { c <- Image(query) } ()
go func() { c <- Video(query) } ()
for i := 0; i < 3; i++ {
result := <-c
results = append(results, result)
kendellfab / git_retieve
Created Nov 13, 2013
Retrieve lost file from git.
View git_retieve
git checkout <rev> filename