Skip to content

Instantly share code, notes, and snippets.

View jordanbrauer's full-sized avatar

Jordan Brauer jordanbrauer

View GitHub Profile
@jordanbrauer
jordanbrauer / SassMeister-input.scss
Created September 8, 2016 01:10 — forked from craigmdennis/SassMeister-input.scss
Generated by SassMeister.com.
// Buttons
// ".btn-{modifiername}", background-color, border, color
$buttons: (
("primary", #2F9ED8, #2886B7, #FFFFFF),
("secondary", #FFFFFF, #DDDDDD, #101010)
);
// Generate Button Modifiers
@each $b in $buttons {
.btn.btn-#{nth($b,1)} {
@jordanbrauer
jordanbrauer / README.md
Last active February 27, 2024 13:42
Runes.txt (Diablo II)

Runes.txt

Ladder only runewords, by default, are not able to be used in Single Player in Diablo II: Lord of Destruction.

  1. Download the Runes.txt file below.
  2. Place the Runes.txt file into your Diablo II directory under Diablo II\data\global\excel.
    Please note, these folders may need to be created!
  3. Right click on your Diablo 2 shortcut → properties → Add -direct -txt in the target line after ...\Diablo II\Diablo II.exe
  4. Test runewords!
@jordanbrauer
jordanbrauer / package.json
Created September 30, 2016 01:38
Just my current list of commonly used node package dev dependencies.
"devDependencies": {
"del": "^2.2.1",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
"gulp-cache": "^0.4.5",
"gulp-compass": "^2.1.0",
"gulp-concat": "^2.6.0",
"gulp-cssnano": "^2.1.2",
"gulp-imagemin": "^3.0.2",
"gulp-livereload": "^3.8.1",
@jordanbrauer
jordanbrauer / .gitignore
Created September 30, 2016 01:47
My base .gitignore file.
### Custom ###
cache
dist
test
### macOS ###
*.DS_Store
.AppleDouble
.LSOverride
@jordanbrauer
jordanbrauer / print_md.php
Created January 3, 2017 22:03
Get the raw text content from a markdown file to use elsewhere in your code. Made for use in conjunction with the erusev/parsedown composer package.
<?php
/** Print Markdown
* Author: Jordan Brauer <jbrauer.inc@gmail.com>
* Function: print_md()
* Description: get the raw text content from a markdown file
* to use elsewhere in your code.
*
* Note: Made for use in conjunction with the erusev/parsedown composer package.
*/
<?php
namespace C3\Utility;
use Monolog\Logger;
/**
* Class DuplicateDatabase
*
* @package C3\Utility
@jordanbrauer
jordanbrauer / customers.sql
Created June 30, 2017 19:34 — forked from leek/_Magento1_DeleteTestData.md
Magento - Delete All Test Data
SET FOREIGN_KEY_CHECKS=0;
-- Customers
TRUNCATE `customer_address_entity`;
TRUNCATE `customer_address_entity_datetime`;
TRUNCATE `customer_address_entity_decimal`;
TRUNCATE `customer_address_entity_int`;
TRUNCATE `customer_address_entity_text`;
TRUNCATE `customer_address_entity_varchar`;
TRUNCATE `customer_entity`;
{%- comment -%}
--------------------------- WARNING ---------------------------
This file is auto-generated by BOLD and should not be modified.
It may be overwritten and any customizations would be lost.
--------------------------- WARNING ---------------------------
{%- endcomment -%}
<script>
@jordanbrauer
jordanbrauer / prealoadImages.js
Created July 24, 2017 01:07
Preload images on page
preloadImages() {
let i = 0;
const arr = [...Backgrounds, ...Images];
return new Promise(resolve => {
arr.map(filename => {
const img = new Image();
img.src = filename;
img.onload = () => (++i == arr.length) ? resolve() : 1;
});
});