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 | |
if [ "$#" -ne 1 ]; then | |
echo "Please supply topic name" | |
exit 1 | |
fi | |
nohup bin/zookeeper-server-start.sh -daemon config/zookeeper.properties > /dev/null 2>&1 & | |
sleep 2 | |
nohup bin/kafka-server-start.sh -daemon config/server.properties > /dev/null 2>&1 & |
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
deb http://www.mirrorservice.org/sites/packages.linuxmint.com/packages/ olivia main upstream import | |
deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse | |
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse | |
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse | |
deb http://archive.canonical.com/ubuntu/ raring partner |
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() { | |
"use strict"; | |
var MyRouter = Backbone.Router.extend({ | |
routes: { | |
"/" : "home", | |
"user/:username" : "profilePage", | |
"user/:username/following": "following", | |
"user/:username/followers": "followers" | |
}, |
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
YouCompleteMe | |
Zenburn | |
ctrlp.vim | |
detectindent | |
easybuffer.vim | |
nerdcommenter | |
nerdtree | |
python-mode | |
rust.vim | |
syntastic |
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
execute pathogen#infect() | |
let g:pathogen_disabled = [] | |
if has("gui") | |
" You complete me ! <3 | |
let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py" | |
nnoremap <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR> | |
let g:ycm_show_diagnostics_ui=0 | |
" colorscheme |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<button>connect</button> | |
<script src="http://cdn.peerjs.com/0.3/peer.js"></script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>getUserMedia - Demo</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<h1>getUserMedia - Demo</h1> | |
<video autoplay></video> | |
<button id="capture">Capture</button> |
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
(defproject node "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.5.1"] | |
[org.clojure/clojurescript "0.0-1978"]] | |
:plugins [[lein-cljsbuild "0.3.4"]] | |
:cljsbuild { |
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
<html> | |
<head> | |
<title> | |
My webpage | |
</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<h1>Real time web apps</h1> | |
</body> |
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
### adb libraries missing in Ubuntu | |
* apt-get install lib32ncurses5 lib32stdc++6 | |
### Installing mercurial | |
sudo apt-get install python-setuptools python-dev build-essential | |
sudo easy_install -U mercurial | |
* https://developer.mozilla.org/en/docs/Installing_Mercurial |