This file contains hidden or 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
function(doc) { | |
var userID = 500; | |
var userTags = [ | |
100000036, | |
100000065, | |
100000077, | |
100000046, | |
100000062, | |
100000103 | |
]; |
This file contains hidden or 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
brew install git imagemagick couchdb macvim ejabberd git-flow git-extras postgresql git-multipush git-utils darwinbuild ffmpeg node nmap maven wget cassandra mysql memcached redis git-cola git-extras git-flow subversion beanstalk |
This file contains hidden or 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
package laan.xml | |
{ | |
public class PlistParser | |
{ | |
public function PlistParser() | |
{ | |
} | |
public static function parsePlist ( xmlPlist : XML ) : XML { | |
This file contains hidden or 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
curl -X POST -H "Content-Type: application/json" -d '{"source": "http://wikileaks.nymphormation.org/wikileaks", "target": "http://localhost:5984/_replicate", "create_target": true, "continuous": true}' http://localhost:5984/_replicate |
This file contains hidden or 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
npm install beanstalk_client cloud9 beanstalk_worker bufferlib carrier cookie cradle facebook-client facebook-connect file filesystem-composer gitter git hash hamljs haml gzip gzip-stack headers mkdirp monitor mysql-native n natives node-restclient node-uuid node-xmpp nstore npm-github-service oauth nurl restartr user-agent yaml xmpp-client ya-csv |
This file contains hidden or 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 add-apt-repository ppa:nikount/orta-desktop && sudo apt-get update && sudo apt-get install orta-theme && sudo add-apt-repository ppa:tiheum/equinox && sudo apt-get update && sudo apt-get install faenza-icon-theme |
This file contains hidden or 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 @rownum =0; | |
SET @rank =0; | |
SET @prev_val=0; | |
SELECT @rownum := @rownum + 1 AS row | |
, @rank := IF(@prev_val!=uxp,@rownum,@rank) AS rank | |
, @prev_val := uxp AS uxp, | |
userId | |
FROM | |
( |
This file contains hidden or 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
rsync -ruzptv --archive spaces/ /Volumes/Stuff/Backup\ New\ MBP/Backup/ |
This file contains hidden or 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/bash | |
#----------------------------------------------------------- | |
# | |
# Purpose: Just run this script to install the required | |
# ubuntu/pear packages for php development. | |
# | |
# Tested on Ubuntu 10.04 | |
#----------------------------------------------------------- | |
echo "Installing basic packages for development." |
This file contains hidden or 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
Passwordless SSH Login | |
========================= | |
On the client | |
* generate a RSA keypair | |
* copy the *.pub part to the server, add it to ~/.ssh/authorized_keys | |
* modify your /etc/ssh_config for keepalive (30 sec. is very short - only if you get "broken pipe" errors): | |
ServerAliveInterval 30 |