!(A || B) == (!A && !B)!(A && B) == (!A || !B)| attrcolor b ".I" | |
| termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' | |
| defbce "on" | |
| term screen-256color-bce | |
| defscrollback 100000 | |
| hardstatus alwayslastline | |
| hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d/%Y %{W}%C %{g}]' |
| # This goes in your ~/.bashrc | |
| if [ -f ~/.bash_files/prompts/elite ]; then | |
| . ~/.bash_files/prompts/elite | |
| elite | |
| fi |
| #!/bin/bash | |
| # Version: 1.0.1 | |
| # Author: David Chapman | |
| # Description: A quick script to get a Ubuntu machine up and running. | |
| # The commands we'll be using are here | |
| CURL="curl" | |
| APT="apt-get" | |
| # Checks that the system has apt |
| These are the Launch options I use: | |
| -heapsize 1048576 -freq 60 -full -w 640 -h 480 -32bpp -gl -dxlevel 90 -noaafonts -console -nocrashdialog +map_background none -nojoy | |
| Here are the ones that are available: | |
| +map_background none -novid | |
| -noforcemaccel ; Use desktop mouse acceleration settings | |
| -noforcemspd ; Use desktop mouse speed settings. | |
| -noforcemparms ; Use desktop mouse buttons settings. | |
| -noaafonts ; Disables Anti-Aliasing of Screen Fonts. |
| $ sudo su | |
| # apt-get install postgresql | |
| # su postgres | |
| $ createuser -P -s -e developer | |
| Enter password for new role: <PASSWORD> | |
| And now you're ready to set up your project on postgres... |