As configured in my dotfiles.
start new:
tmux
start new with session name:
http://sourabhbajaj.com/mac-setup/Vim/README.html | |
http://www.viemu.com/vi-vim-cheat-sheet.gif | |
"vim awesome" |
import org.apache.lucene.analysis.standard.StandardAnalyzer; | |
import org.apache.lucene.search.*; | |
import uk.co.flax.luwak.*; | |
import uk.co.flax.luwak.matchers.SimpleMatcher; | |
import uk.co.flax.luwak.presearcher.TermFilteredPresearcher; | |
import uk.co.flax.luwak.queryparsers.LuceneQueryParser; | |
import java.util.ArrayList; | |
import java.util.List; |
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
As configured in my dotfiles.
start new:
tmux
start new with session name:
{ | |
"key": 500613, | |
"doc_count": 10 | |
}, | |
{ | |
"key": 500383, | |
"doc_count": 8 | |
}, | |
{ | |
"key": 502181, |
goto: http://davidraffauf.com/2016/01/08/terminal-customization/ and http://devsnaps.herokuapp.com/blog/2013/11/09/setting-up-the-terminal-for-development-in-os-x
and then install tmux use tmux after that.
and if you want more: https://iterm2.com/why_no_content.html
in short: install iterm2,
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
Param ref must be a string of less than 150 characters. Allowed characters include alphanumeric characters and +-./:=_ | |
possible values: | |
oneBigWord123 | |
sample=pageId | |
key=value | |
#!/bin/bash | |
# this script will do the following | |
# create a folder by the name provided in argument1 | |
# create a new virtualenv inside that folder | |
# activate the environment and using pip to install django | |
# start a django project by the name provided in argument2 | |
# do the db migrate using python manage.py migrate | |
# and atlast, deactivate the environment | |
# to run this file use "sh django-script.sh outer-folder-name django-project-folder-name" command. |