Skip to content

Instantly share code, notes, and snippets.

Jordan Brauer jordanbrauer

Block or report user

Report or block jordanbrauer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jordanbrauer
jordanbrauer / workflow.md
Created Nov 13, 2017 — forked from stuartsaunders/workflow.md
Versioning and Git Workflow
View workflow.md

Semantic Versioning

Details:

Versions are denoted using a standard triplet of integers: MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are incompatible, large-scale upgrades of the API. MINOR versions retain source and binary compatibility with older minor versions, and changes in the PATCH level are perfectly compatible, forwards and backwards.

View _hda.scss
// Hexadecimal Alpha Colour function
@function hda($hexdec: null, $alpha: 1)
{
@if $hexdec == null {
// throw error if no value supplied for $hexdec
@error "$hexdex cannot be null: was, NULL";
} @else {
// evaluate input
@if $alpha >= 1 {
// return plain hexadecimal value if $alpha is greater than or equal to 1.
@jordanbrauer
jordanbrauer / README.md
Last active Jun 8, 2019
Runes.txt (Diablo II)
View README.md

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 / thanos.sh
Last active Jul 27, 2019
perfectly balanced, as all things should be
View thanos.sh
#!/usr/bin/env bash
echo 'ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBgYC4tLTo6Ojo6LS0tLS5gYCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYC0tLy8vKysrKysrKysvLy8vLzo6Oi0uYCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBgLS8rK
@jordanbrauer
jordanbrauer / between.php
Created Sep 16, 2019
determine if a value is within range
View between.php
/**
* Determine if a numeric value is within range
*
* @return bool
*/
function between($subject, $min, $max): bool {
if (!is_numeric($subject) {
throw new LogicException;
}
View composer.json
{
"require": {
"leocavalcante/siler": "^1.7",
"zendframework/zend-diactoros": "^2.2",
"zendframework/zend-httphandlerrunner": "^1.1"
}
}
You can’t perform that action at this time.