Skip to content

Instantly share code, notes, and snippets.

# Exact Solarized Dark color theme for the color GNU ls utility.
# Designed for dircolors (GNU coreutils) 5.97
#
# This simple theme was simultaneously designed for these terminal color schemes:
# - Solarized dark (best)
# - Solarized light
# - default dark
# - default light
# with a slight optimization for Solarized Dark.
#
@damouse
damouse / ubuntu.sh
Last active April 3, 2018 17:43
Clean up Ubuntu bloatware and extras.
# unity
sudo apt-get purge --quiet --assume-yes unity-scope-calculator \
unity-scope-chromiumbookmarks \
unity-scope-colourlovers \
unity-scope-devhelp \
unity-scope-firefoxbookmarks \
unity-scope-manpages \
unity-scope-musicstores \
unity-scope-openclipart \
unity-scope-texdoc \
/* Copyright 2015-2017 Jack Humbert
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty ofqwerqweasdfzxcv
* GNU General Public License for more details.
'''
A collection of adjectives and nouns. Useful for generating names with haikunator.
https://github.com/Atrox/haikunatorpy
'''
adjectives = ['aback', 'abaft', 'abandoned', 'abashed', 'aberrant', 'abhorrent', 'abiding', 'abject', 'ablaze', 'able', 'abnormal', 'aboard', 'aboriginal', 'abortive', 'abounding', 'abrasive', 'abrupt', 'absent', 'absorbed', 'absorbing', 'abstracted', 'absurd', 'abundant', 'abusive', 'acceptable', 'accessible', 'accidental', 'accurate', 'acid', 'acidic', 'acoustic', 'acrid', 'actually', 'ad', 'hoc', 'adamant', 'adaptable', 'addicted', 'adhesive', 'adjoining', 'adorable', 'adventurous', 'afraid', 'aggressive', 'agonizing', 'agreeable', 'ahead', 'ajar', 'alcoholic', 'alert', 'alike', 'alive', 'alleged', 'alluring', 'aloof', 'amazing', 'ambiguous', 'ambitious', 'amuck', 'amused', 'amusing', 'ancient', 'angry', 'animated', 'annoyed', 'annoying', 'anxious', 'apathetic', 'aquatic', 'aromatic', 'arrogant', 'ashamed', 'aspiring', 'assorted', 'astonishing', 'attractive', 'auspicious', 'aut
@damouse
damouse / keymapping.h
Last active December 15, 2016 23:38
Keymapping for qmk_firmware on an OLKB Atomic. From: keyboards/atomic/damouse
#include "atomic.h"
/* QWERTY
* .---------------------------------------------------------------------------------------------------------------------- 2u ------------.
* | ESCAPE | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BACKSP | DEL
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
* | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | END |
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+- ---------------+--------|
* | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | VOL UP| PG UP |
@damouse
damouse / .bashrc
Last active June 12, 2018 22:03
Personal bashrc, shared and updated among many, many machines running all kinds of OS. Self updating with rcpush and rcpull.
# Damouse's autoupdateing bash script, with autoupdating and sublime syncing
#
# To install: remove .bashrc, git clone git@github.com:85e8f43913f591e2d0fa.git, and move contents into home directory
#
# Go commands required for GoOracle:
# go get -u golang.org/x/tools/cmd/goimports
# go get -u golang.org/x/tools/cmd/vet
# go get -u golang.org/x/tools/cmd/oracle
# go get -u golang.org/x/tools/cmd/godoc
#
//: Playground - noun: a place where people can play
import UIKit
// Basic functions
func add(a: Int, b: Int) -> Int {
return a + b
}