Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
dragos@dragos:~/Dummies$ git push unfuddle master | |
Username for 'https://sparktech.unfuddle.com': dragos | |
Password for 'https://[email protected]': | |
To https://sparktech.unfuddle.com/git/sparktech_nlp-api-client/ | |
! [rejected] master -> master (non-fast-forward) | |
error: failed to push some refs to 'https://sparktech.unfuddle.com/git/sparktech_nlp-api-client/' | |
hint: Updates were rejected because the tip of your current branch is behind | |
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull') | |
hint: before pushing again. | |
hint: See the 'Note about fast-forwards' in 'git push --help' for details. |
dragos@dragos:~$ cd Dummies | |
dragos@dragos:~/Dummies$ rails new nlp | |
create | |
create README.rdoc | |
create Rakefile | |
create config.ru | |
create .gitignore | |
create Gemfile | |
create app | |
create app/assets/images/rails.png |
ruby-1.9.3-p194 in current/ | |
› gem install RedCloth | |
Building native extensions. This could take a while... | |
Successfully installed RedCloth-4.2.9 | |
1 gem installed | |
Installing ri documentation for RedCloth-4.2.9... | |
Installing RDoc documentation for RedCloth-4.2.9... | |
ruby-1.9.3-p194 in current/ | |
› gem which rails |
LIBS="-lopencv_imgproc -lopencv_highgui -lopencv_core -lopencv_objdetect" | |
g++ -I/usr/local/include/opencv -I/usr/local/include/opencv2 -L/usr/lib -L/usr/local/lib -fpic -Wall -c "faces.cpp" $LIBS | |
//create shared library | |
g++ -shared -I/usr/local/include/opencv -I/usr/local/include/opencv2 -o libfaces.so faces.o -L/usr/local/lib $LIBS | |
//create executable (in case you want to play with it directly) | |
g++ -I/usr/local/include/opencv -I/usr/local/include/opencv2 -o faces faces.o -L/usr/local/lib $LIBS |
sudo apt-get install aha | |
git log --color-words --oneline | aha > index.html | |
git whatchanged --color-words --since="100 days ago" -p | aha >> index.html | |
firefox index.html |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="author" content="Martin Bean" /> | |
<title>Twitter’s Bootstrap with Ryan Fait’s Sticky Footer</title> | |
<link rel="stylesheet" href="css/bootstrap.min.css" /> | |
<style> | |
html, body { | |
height: 100%; |
#!upstart | |
description "GitLab (Sidekiq)" | |
author "Jakub Jirutka" | |
start on starting gitlab | |
stop on stopping gitlab | |
env sidekiq_logfile="/var/log/gitlab/sidekiq.log" | |
env sidekiq_queues="-q post_receive -q mailer -q system_hook |
// http://www.ietf.org/rfc/rfc1928.txt | |
// Tested with: curl http://www.google.se/ --socks5 1080 --proxy-user foo:bar | |
var States = { | |
CONNECTED:0, | |
VERIFYING:1, | |
READY:2, | |
PROXY: 3 | |
}; |
The IPython Notebook has two different keyboard input modes. Edit mode allows you to type code/text into a cell and is indicated by a green cell border. Command mode binds the keyboard to notebook level actions and is indicated by a grey cell border.