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
removedName = ['groupon', | |
'avg', | |
'red', | |
'Jenkins', | |
'petewarden', | |
'booking', | |
'Hudson', | |
'blog', | |
'ebay', |
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
{ | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/.DS_Store": true, | |
".idea": true, | |
"bower_components": true, | |
"dist": true, | |
"tmp": true |
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
# config/ranger/plugins/autojump.py | |
import ranger.api | |
import subprocess | |
from ranger.api.commands import * | |
HOOK_INIT_OLD = ranger.api.hook_init | |
def hook_init(fm): | |
def update_autojump(signal): |
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/sh | |
# ubuntu install opencv + anaconda | |
# anaconda | |
curl -O https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh | |
sha256sum Anaconda3-4.3.1-Linux-x86_64.sh | |
bash Anaconda3-4.3.1-Linux-x86_64.sh | |
# paste the below to bashrc | |
export PATH=~/anaconda3/bin:$PATH |
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/sh | |
# Author : [email protected] | |
# Copyright [2015] <[email protected]> | |
PORT=5555 | |
if [ $# -ne 0 ]; then | |
while [ $# != 0 ] | |
do | |
PORT=$1 |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
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: Installl packages for localhost | |
hosts: "{{ cluster_name }}" | |
#hosts: all | |
become: true | |
tasks: |
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 apt-get update | |
sudo apt-get install -y virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 | |
sudo apt-get -y install git | |
sudo apt-get -y install -y ant | |
sudo apt-get -y install g++ | |
sudo apt-get -y install ipython | |
sudo apt-get -y install python2.7-dev python-pip | |
sudo apt-get -y install geany tree meld |
NewerOlder