Skip to content

Instantly share code, notes, and snippets.

View gothburz's full-sized avatar
🎯
Focusing

Peter Girnus gothburz

🎯
Focusing
View GitHub Profile
@gothburz
gothburz / sharedmedia.lua
Created December 5, 2015 20:24
Add new fonts to ElvUI complete UI system for World of Warcraft
--[[
Navigate to your main WoW installation folder then go into Interface/AddOns/ElvUI
Steps:
1) Drop .ttf files into ElvUI/media/fonts
2) Go up a directory into ElvUI/media and open sharedmedia.lua, add this line
LSM:Register("font","XX", [[Interface\AddOns\ElvUI\media\fonts\XX.ttf]])
@gothburz
gothburz / var_export.php
Last active September 14, 2015 04:26
Using var_export to debug, returns a "parsable string representation of a variable".
$debug = var_export($your_function, true);
var_export($debug);
@jshawl
jshawl / Gruntfile.js
Last active January 18, 2023 13:52
Grunt + Sass + Autoprefixer
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options:{
style:'compressed'
},
files: {
'css/style.css' : 'scss/style.scss'