Skip to content

Instantly share code, notes, and snippets.

View ttamnedlog's full-sized avatar

Matt ttamnedlog

View GitHub Profile
function event_level_up(e)
-- All skills except caster specializations
local skills = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
@ttamnedlog
ttamnedlog / search_and_replace.sh
Last active April 7, 2018 21:15 — forked from kates/search_and_replace.sh
bulk search and replace with the silver searcher, awk, sed and xargs
ag $1 --files-with-matches | xargs -I {} sed -i '.back' -e "s/$1/$2/g" {}
@ttamnedlog
ttamnedlog / wp-query-ref.php
Created May 9, 2017 14:08 — forked from luetkemj/wp-query-ref.php
WP: Query $args
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php
*/
$args = array(