start new:
tmux
start new with session name:
tmux new -s myname
# cheat_sheet.org.sh | |
# The contents of this file are released under the GNU General Public License. Feel free to reuse the contents of this work, as long as the resultant works give proper attribution and are made publicly available under the GNU General Public License. | |
# Best viewed in emacs org-mode. | |
# Alternately, one can keep this cheat sheet handy by adding the following line to ~/.bashrc: | |
# | |
# alias cheatsheet="less ~/path_to_cheat_sheet.org.sh" | |
* Reference: | |
** Basics: |
As configured in my dotfiles.
start new:
tmux
start new with session name:
http://ss64.com/osx/syntax-bashkeyboard.html | |
Bash Keyboard Shortcuts | |
Moving the cursor: | |
Ctrl + a Go to the beginning of the line (Home) | |
Ctrl + e Go to the End of the line (End) | |
Ctrl + p Previous command (Up arrow) | |
Ctrl + n Next command (Down arrow) |
I have marked with a * those which I think are absolutely essential Items for each section are sorted by oldest to newest. Come back soon for more!
see here: https://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup
sudo pacman -S numlockx
numlockx & exec openbox
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
In terminal:
sudo apachectl start
sudo vim /etc/apache2/httpd.conf uncomment "LoadModule php5_module libexec/apache2/libphp5.so"
sudo apachectl restart
cd to Dev folder