I hereby claim:
- I am korovamilk on github.
- I am korovamilk (https://keybase.io/korovamilk) on keybase.
- I have a public key whose fingerprint is F8E8 D517 E9D0 9E8D 880B 0064 5ED1 D31E 5146 7A9D
To claim this, I am signing this object:
#### Set english as default language | |
LANG='en_GB.UTF-8' | |
#### Start ssh-agent on first terminal session | |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { | |
echo "Initialising new SSH agent..." | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
echo succeeded |
### add this to .bashrc | |
DEST_EMAIL="MY_SPAM_JAM@gmail.com" | |
TMPCOOKIE="/tmp/cookie.$(date +%y%m%d%H%M%S)" | |
CONNIP=$(echo $SSH_CONNECTION | cut -d " " -f 1) | |
touch ${TMPCOOKIE} | |
if [ -z "$CONNIP" ] | |
then | |
echo "${HOSTNAME}: User $USER just logged in from console" >> ${TMPCOOKIE} | |
echo >> ${TMPCOOKIE} | |
w >> ${TMPCOOKIE} |
#!/bin/bash | |
# author: marco @ agate . io | |
# if this helped, donate your LTC here: Lcu3TvhGEfKfPndRMhoWjkSk9dAFXhYrn2 | |
FIREFOXBIN="/cygdrive/c/Program\ Files\ \(x86\)/Mozilla\ Firefox/firefox.exe -new-tab" | |
launchURL() { | |
myURL="$1" | |
faucet_name=$(echo $1 | cut -d\/ -f3) | |
echo "$(date +%H:%M:%S) ~ ${faucet_name}" | |
/cygdrive/c/Program\ Files\ \(x86\)/Mozilla\ Firefox/firefox.exe -new-tab "${myURL}" & |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Use this script to copy shared (libs) files to Apache/Lighttpd chrooted | |
# jail server. | |
# ---------------------------------------------------------------------------- | |
# Written by nixCraft <http://www.cyberciti.biz/tips/> | |
# (c) 2006 nixCraft under GNU GPL v2.0+ | |
# + Added ld-linux support | |
# + Added error checking support | |
# ------------------------------------------------------------------------------ | |
# See url for usage: |
#!/bin/bash | |
confirm() { | |
echo -n "Continue? (y/n) " | |
read answer | |
case $answer in | |
y|Y|j|J"") return 0 ;; | |
n|N) return 1 ;; | |
*) confirm ;; | |
esac |
# example email - real name list "<filename>" | |
# (note that name4 entry is broken - email appears 2 times | |
name1@example.com;"Real Name" | |
name2@example.com;"Real Name" | |
name3@example.com;"Real Name" | |
name4@example.com;name4@example.com;"Real Name" | |
# following awk will find and print the lines with MORE than one matching pattern | |
# (here I grep for "@") | |
$ awk '{n=split($0,c,"@")-1;if (n>1) print $0 }' <filename> |