To install this theme, copy or symlink custom.css
into ~/.jupyter/custom/
(create that directory if it doesn't exist.) Then, whenever you run jupyter notebook
, iruby notebook
, etc. it will use this theme.
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
#!/bin/bash | |
mkdir build && cd build | |
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -DBUILD_EXAMPLES=ON DWITH_OPENGL=ON -DBUILD_TIFF=ON -DWITH_GTK_2_X=ON ../opencv-3.3 | |
make -j16 | |
sudo make install | |
sudo ldconfig |
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
var config = require('../config') | |
, bitcoin = new (require('bitcoin').Client)(config('BTC')) | |
, async = require('async') | |
, db = require('./db') | |
, num = require('num') | |
, lastHeight | |
, clientHeight | |
, blockHash | |
, minConf = 3 | |
, txConcurrency = 2 |
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
[ | |
{ | |
"name": "Memcached", | |
"command": "/usr/bin/dpkg -l | awk '$2==\"memcached\" { print $3 }'", | |
"required": "1.4.14", | |
"comparison": ">=", | |
"installer": "memcached.sh", | |
"order": "1" | |
}, | |
{ |
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
[ | |
{ | |
"name": "SupervisorD", | |
"command": "/usr/bin/supervisord -v", | |
"required": "3.0.0", | |
"comparison": ">=", | |
"installer": "supervisord.sh", | |
"order": "1" | |
} | |
] |
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
[ | |
{ | |
"name": "Rsync", | |
"command": "/usr/bin/dpkg -l | awk '$2==\"rsync\" { print $3 }'", | |
"required": "3.1.1", | |
"comparison": ">=", | |
"installer": "rsync.sh", | |
"order": "1" | |
} | |
] |
JS Build tool with Node.js
- Node.js
- Npm
- Bower
- Gulp
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
[ | |
{ | |
"name": "Beanstalkd", | |
"command": "/usr/bin/dpkg -l | awk '$2==\"beanstalkd\" { print $3 }'", | |
"required": "1.10", | |
"comparison": ">=", | |
"installer": "beanstalkd.sh", | |
"order": "1" | |
} | |
] |
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
#!/bin/bash | |
# for use with cron, eg: | |
# 0 3 * * * postgres /var/db/db_backup.sh foo_db | |
if [[ -z "$1" ]]; then | |
echo "Usage: $0 <db_name> [pg_dump args]" | |
exit 1 | |
fi |
Simple Laravel 5.2 stack with web serer (php-fpm) and db drivers
- NGINX
- PHP7
- PHP mongo driver for php-fpm and php-cli
- PHP mbstring module
- PHP bz2 module
- PHP imagick module
- Memcached + PHP memcached
- Mysql PHP driver