Skip to content

Instantly share code, notes, and snippets.

View GirlBossRush's full-sized avatar
🌎
Building open source geo-spatial software

Teffen Ellis GirlBossRush

🌎
Building open source geo-spatial software
View GitHub Profile
{
"Seti_SB_bright": true,
"Seti_blue_tab_label": false,
"Seti_in_4_a_treat": true,
"Seti_no_bar_undertabs": true,
"Seti_no_blue_bar": false,
"Seti_orange_button": false,
"Seti_orange_label": true,
"Seti_rainbow": true,
"Seti_sb_wild": false,
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install zsh htop zip unzip vim cowsay tmux wget curl git build-essential man lsof cmake tig imagemagick python-software-properties
sudo apt-get -y install libssl-dev postgresql postgresql-server-dev-all postgresql-contrib libpq-dev libreadline6-dev libxml2 libxml2-dev libxslt1-dev
sudo apt-get -y install libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
cd /home/connor
chsh -s /usr/bin/zsh connor
su connor -c 'curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh'
@GirlBossRush
GirlBossRush / funcify.js
Created September 7, 2015 07:27
Converting a method into a function
function funcify (method) {
return function (self) {
return method.apply(self, Array.prototype.slice.call(arguments, 1))
}
}
const map = funcify(Array.prototype.map)
const attributes = map(document.querySelectorAll('div'), element => element.classList)
{
"env": {
"browser": true,
"node": true
},
"globals": {
},
"rules": {
"brace-style": [1, "stroustrup"],
"camelcase": [1, {
@GirlBossRush
GirlBossRush / zalgo-flicker-on-scroll.js
Last active August 29, 2015 14:23
Flickers ZALGO text randomly when the user scrolls.
var
zeroWidthSpace = "\u200B",
characters = {}
characters.up = [
"\u030d", /* ̍ */ "\u030e", /* ̎ */ "\u0304", /* ̄ */ "\u0305", /* ̅ */
"\u033f", /* ̿ */ "\u0311", /* ̑ */ "\u0306", /* ̆ */ "\u0310", /* ̐ */
"\u0352", /* ͒ */ "\u0357", /* ͗ */ "\u0351", /* ͑ */ "\u0307", /* ̇ */
"\u0308", /* ̈ */ "\u030a", /* ̊ */ "\u0342", /* ͂ */ "\u0343", /* ̓ */
"\u0344", /* ̈́ */ "\u034a", /* ͊ */ "\u034b", /* ͋ */ "\u034c", /* ͌ */
var
elements = Array.prototype.slice.call(document.querySelectorAll("div, header, footer, img, p, span"))
elements.forEach(function (element) {
element._offset = 0.2;
element.style.transformOrigin = "left top"
element.style.transition = "transform 3s ease-in"
})
function tilt (element) {
@GirlBossRush
GirlBossRush / web-of-likes.js
Last active August 29, 2015 14:22
Web of Likes
var MIDDLE_CLICK_TYPE = 2
var LIKEABLE_ELEMENT_NAMES = [
"dd",
"h1",
"h2",
"h3",
"h4",
"h5",
"figure",
/**
* Vue.js v0.11.9
* (c) 2015 Evan You
* Released under the MIT License.
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
/**
* Vue.js v0.11.10
* (c) 2015 Evan You
* Released under the MIT License.
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
/**
* Vue.js v0.11.8
* (c) 2015 Evan You
* Released under the MIT License.
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)