Hello coders,
Look at your code.
Now look at mine.
Now back to your code
Now back to MINE!
Sadly, your code does not render correctly.
But if you stopped using IE and switched to Chrome;
Your code would render correctly.
# Reset Prefix | |
set -g prefix C-a | |
# Escape time | |
set -s escape-time 0 | |
# large history | |
set-option -g history-limit 10000 | |
# don't rename window |
#!/bin/bash | |
SESSION=sess_name | |
PROJ_FOLDER=proj_name | |
cd $PROJ_FOLDER | |
# if the session is already running, attach to it. | |
tmux has-session -t $SESSION | |
if [ $? -eq 0 ]; then |
<script> | |
var user_already_annoyed = false; | |
window.onbeforeunload = function() { | |
if ( !user_already_annoyed ){ | |
lpTag.vars.push([{ scope:"page", name:"tryclose", value:"true" }]); | |
lpTag.vars.send(); | |
user_already_annoyed = true; | |
return "Please don't leave just yet. Click 'stay on this page' for a nice discount!"; | |
} | |
} |
Hello coders,
Look at your code.
Now look at mine.
Now back to your code
Now back to MINE!
Sadly, your code does not render correctly.
But if you stopped using IE and switched to Chrome;
Your code would render correctly.
alias can-haz="sudo apt-get install" | |
# Autocomplete function | |
_can-haz() { | |
cur=`_get_cword` | |
COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) ) | |
return 0 | |
} | |
complete -F _can-haz can-haz |