This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopt -s expand_aliases | |
eval "$(hub alias -s)" | |
## Work Aliases | |
alias sow='. ~/.bash_aliases_roam'; | |
## Command Aliases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Color { | |
constructor (r, g, b) { | |
this.r = r | |
this.g = g | |
this.b = b | |
} | |
toHex () { | |
return [this.r, this.g, this.b].reduce( | |
(a, b) => a + ('00' + b.toString(16)).slice(-2), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontFamily": "Maison Mono, Input Mono Light, Menlo, monospace", | |
"editor.fontSize": 13 /*13, 10, 11.4*/, | |
"editor.lineHeight": 15, /*12*/ | |
"editor.rulers": [80], | |
"editor.wordWrap": "off", | |
"editor.wrappingIndent": "indent", | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
html | |
head | |
link(rel='stylesheet', href='style.css') | |
title Flyt | |
body | |
header | |
nav.row | |
.left-unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Mastermind { | |
constructor() { | |
this.length = 4 | |
this.chars = ['0', '1', '2', '3', '4', '5'] | |
} | |
generate() { | |
this.guesses = 0 | |
this.key = [] | |
for (var i = 0; i < this.length; i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bristol LOLCODE | |
=============== | |
Author: James Daly (Dec 2016) | |
This document outlines a parser for a dialect of [LOLCODE][1], an | |
esoteric imperative language devised in 2007 by [Justin J. Mesa][2] | |
based on the ["lolspeak" or "chanspeak" language][3] from popular ["lolcats"][4] | |
and ["Can I Haz Cheezburger?"][5] memes and weblogs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@VERSION = 288 | |
__ = @ | |
@sf = 32 | |
@sz = 24 | |
@mx = 7 | |
@po = { px: 48, py: 48 } | |
@types = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef _WIN32 | |
#include <conio.h> | |
#else | |
#include <ncurses.h> | |
#endif | |
#include <stdio.h> | |
#include "palace.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
using System.Windows.Forms; | |
class Program { | |
static void Main() { | |
Console.WriteLine("Hello..."); | |
try { | |
while (true) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$font-stack: "Inter UI", $font-fallback-stack; | |
$font-fallback-stack: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |
$base-font-size: calc(100vw / 160 + 12px); | |
$ratio: 1.6; | |
@function pow($number, $exponent) { | |
$value: 1; | |
@if $exponent > 0 { |