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
I was able to get this working on Yosemite with the following command: | |
./hm.sh 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: | |
./hm.sh build | |
And finally, to install it, you'll get the compiled results from the bin folder, i.e. Synergy.app |
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
ab -c 100 -n 10000 http://{your ip}:8000/ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Comments</string> | |
<key>scope</key> | |
<string>source.ts</string> | |
<key>settings</key> | |
<dict> |
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
sudo ejabberdctl register <username> <domain> <password> |
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
set PATH $PATH {$GOPATH}/bin |
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
http://stackoverflow.com/questions/13439665/how-to-install-java-on-arch-linux | |
============================================================================= | |
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 |
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
pacman -Qm |
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
from gi.repository import Gtk | |
builder = Gtk.Builder() | |
builder.add_from_file("/home/kendell/Desktop/gui.glade") | |
window = builder.get_object("window1") | |
window.show_all() | |
Gtk.main() |
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
// http://talks.golang.org/2012/concurrency.slide | |
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) |
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
git checkout <rev> filename |
OlderNewer