Skip to content

Instantly share code, notes, and snippets.

@maaatts
maaatts / autoexec.cfg
Last active November 15, 2015 17:37
CS:GO CFG - Place in csgo/cfg/mallard - Put "exec mallard/autoexec.cfg" in main autoexec
clear
echo "---------------"
echo " Mallard's CFG "
echo "---------------"
echo "Type nadetraining to execute nade training config"
echo "Press - on the keypad to disable voice"
echo "Press \ on your keyboard to show smoke lines"
echo "Click your scrollwheel to use the jumpthrow bind"
@maaatts
maaatts / .vimrc
Last active October 24, 2015 17:53
" Pathogen
execute pathogen#infect()
"
set nocompatible
" Enable filetype plugins
filetype plugin on
filetype indent on
~/tmk_keyboard/keyboard/planck $ make
Makefile:55: MATRIX: matrix_pcb.c
-------- begin --------
avr-gcc (GCC) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@maaatts
maaatts / bitversion.sh
Last active October 6, 2015 19:49
8BitMMO Gamepack Archiver
#!/bin/bash
pushd `dirname $0` > /dev/null
ARCHIVELOC="$(pwd)/archive"
popd > /dev/null
download() {
if hash curl 2>/dev/null; then
curl -silent -O "$@"
elif hash wget 2>/dev/null; then
#!/bin/bash
printhelp() {
ME=$(basename ${0})
echo "Usage: ${ME} <classname>"
}
if [ "$1" == "--help" ]; then
printhelp
exit 0
@maaatts
maaatts / .bash_aliases
Last active November 23, 2015 21:54
bashrc
#vim: set ft=bash:
EDITOR=vim
# Programs
## Editors
alias e="$EDITOR"
alias se="sudo $EDITOR"
## Toys
alias clock="tty-clock -sSbctd 100000000"
@maaatts
maaatts / htmud.diff
Created October 30, 2015 20:43
8BitMMO r1245 > r1250
diff -r 1245/aI.java 1250/aI.java
9,14d8
< public aI(double paramDouble1, double paramDouble2)
< {
< b(new cX("undefined.png", paramDouble1, paramDouble2));
< this.c = false;
< }
<
diff -r 1245/aZ.java 1250/aZ.java
49c49
@maaatts
maaatts / hosts.sh
Created December 27, 2015 22:29
hosts
#!/bin/bash
### Mallard's Hosts Script
###.... Create hosts.conf
###........ set LISTS to a space seperated lists of lists to download from
###.... Optionally, create custom.d
###........ Place any custom rules in files in custom.d
###........ They are interpreted as raw text
###.... Run the script as root

Keybase proof

I hereby claim:

  • I am maaatts on github.
  • I am mallard (https://keybase.io/mallard) on keybase.
  • I have a public key whose fingerprint is 60B4 52E6 B9C3 0D74 17AE 14FE 8DB5 24E6 32FD 892F

To claim this, I am signing this object: