This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Smlb Autoexec | |
// Buy Binds | |
bind "del" "buy ak47; buy m4a1;" | |
bind "pgdn" "buy awp;" | |
bind "kp_pgup" "buy deagle;" | |
bind "End" " buy vesthelm; buy vest;" | |
bind "ins" "buy p250;" | |
bind "rightarrow" "buy hegrenade" | |
bind "leftarrow" "buy molotov;buy incgrenade" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A simple script that list all the AUR packages | |
# Clone, rebuild and add them to a local repository | |
# It's very very rude. | |
find=$(find . -maxdepth 1 -type d | cut -c 3-) | |
repo="/home/$(whoami)/repo" | |
[[ -d $repo ]] || mkdir -p $repo | |
cd $repo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
MAINTAINER smlb | |
RUN apk update && \ | |
apk add --no-cache curl-dev gcc musl-dev make | |
RUN mkdir /c3p0 | |
ADD src/ /c3p0 | |
WORKDIR /c3p0 | |
RUN make && \ | |
./bin/c-3po irc.freenode.net 6667 test_bot12345 \#\#sysyphus:porcodio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ $(xrandr | awk '/HDMI-0/ {print $2}') == "connected" ]]; then | |
exec i3 -c ~/.config/i3/dual | |
else | |
exec i3 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i3status | (read line && echo $line && read line && echo $line && while : | |
do | |
read line | |
vars=`echo -e "$([[ -z $(mpc current) ]] && echo -e "" || echo -e " $(mpc current)|")$(free -m | awk '/Mem/ {print $3}')Mb"` | |
text="[{ \"full_text\": \"${vars}\" }," | |
echo "${line/[/$text}" || exit 1 | |
done) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
active_connection=`awk '/\*/ {print $2}' <(netctl list)` | |
red='\e[0;31m' | |
noc='\e[0m' | |
_get_connection() { | |
echo -e "1)$red devnull$noc\n2)$red eduroam$noc\nSelect a connection [o=1, t=2, q=quit]: " | |
read otq | |
case $otq in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# toggle the touchpad | |
state=$(awk '/TouchpadOff/ { print $3 }' <(synclient -l)) | |
case "$state" in | |
0) synclient touchpadoff=1 | |
unclutter -noevents | |
;; | |
1) synclient touchpadoff=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RAM() { | |
echo -e "\xe2\x88\x9e $(free -h | awk '/Mem:/{print $3}')" | |
} | |
BATT() { | |
echo -e "\xe2\x99\xa5 $(acpi | awk {'print $4'} | sed 's/,//' || echo off)" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autocmd! BufWritePost * Neomake | |
" Make ctrl-h/j/k/l move between windows and auto-insert in terminals | |
func! s:mapMoveToWindowInDirection(direction) | |
func! s:maybeInsertMode(direction) | |
stopinsert | |
execute "wincmd" a:direction | |
if &buftype == 'terminal' | |
startinsert! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event-img.qwapi.com | |
adserver-live.yoc.mobi | |
admax.nexage.com | |
mm.admob.com | |
iphone-services.apple.com | |
iphonesubmissions.apple.com | |
ads2.greystripe.com | |
adsx.greystripe.com | |
c.greystripe.com | |
a.medialytics.com |
NewerOlder