Cmd sucks. Powershell is weird. I like tabs. Git for windows uses cygwin. Cygwin doesn't interpret ANSI colours.
- Git for Windows: https://git-scm.com/download/win
- Console2: https://github.com/cbucher/console/wiki/Downloads
Cmd sucks. Powershell is weird. I like tabs. Git for windows uses cygwin. Cygwin doesn't interpret ANSI colours.
| /** | |
| * Takes an array of input values eg. [1, 2, 3] | |
| * Takes a number of math operators eg. [+, -, *] | |
| * Determines all possible permutations of sums that can be made using: | |
| * - any combination of operators, including repeating operators (plus one equals sign) | |
| * - any sequence (but no repeating) of the given numbers. | |
| * | |
| * Used to solve a maths puzzle because I'm stupid. | |
| */ | |
| class SumFinder |
| :: IE DNS Cache Buster | |
| :: | |
| :: Because IE keeps a hold of the DNS Cache for up to 30 minutes. | |
| :: https://support.microsoft.com/en-au/kb/263558 | |
| :: | |
| :: Created based on | |
| :: http://blog.patrickmeenan.com/2012/11/clearing-ies-caches-not-as-simple-as-it.html | |
| :: | |
| :: This is an overly-violent method of killing the web cache, and probably has lots of nightmarish side-effects. | |
| :: If you can, changing the Registry value as mentioned in KB-263558 is probably a lot safer. |
| <resource rel="self" href="/" xmlns:ex="http://example.org/rels/"> | |
| <link rel="ex:look" href="/bleh" /> | |
| <link rel="ex:search" href="/search?term={searchTerm}" /> | |
| <resource rel="ex:member" name="1" href="/foo"> | |
| <link rel="ex:created_by" href="/some_dude" /> | |
| <example>bar</example> | |
| <resource rel="ex:status" href="/foo;status"> | |
| <some_property>disabled</some_property> | |
| </resource> | |
| </resource> |
| <scheme name="v1nce" version="141" parent_scheme="Default"> | |
| <option name="LINE_SPACING" value="1.0" /> | |
| <option name="EDITOR_FONT_SIZE" value="10" /> | |
| <option name="CONSOLE_FONT_NAME" value="Source Code Pro" /> | |
| <option name="CONSOLE_FONT_SIZE" value="9" /> | |
| <option name="EDITOR_QUICK_DOC_FONT_SIZE" value="XX_SMALL" /> | |
| <option name="EDITOR_FONT_NAME" value="Consolas" /> | |
| <colors> | |
| <option name="ADDED_LINES_COLOR" value="295622" /> | |
| <option name="ANNOTATIONS_COLOR" value="8b999f" /> |
| Code and things. |
| 'use strict'; | |
| /** | |
| * Bootstrap-toggle Directive | |
| * @link https://github.com/minhur/bootstrap-toggle | |
| */ | |
| angular.module('toggleCheckbox', []) | |
| .directive('toggleCheckbox', function() { | |
| /** |