Skip to content

Instantly share code, notes, and snippets.

View neetjn's full-sized avatar
💻
cd /fridge/beer | drink && fallover

John W. Nolette neetjn

💻
cd /fridge/beer | drink && fallover
View GitHub Profile
@neetjn
neetjn / i3-gaps.sh
Created April 25, 2019 20:36 — forked from dabroder/i3-gaps.sh
Install i3-gaps on ubuntu 18.04
#!/bin/bash
sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake
cd /tmp
# clone the repository
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
# compile & install
@neetjn
neetjn / install-pulse.sh
Created March 4, 2019 16:25 — forked from tafarij/install-pulse.sh
Install Pulse Secure on Ubuntu 16.04
# https://vt4help.service-now.com/kb_view_customer.do?sysparm_article=KB0010740#linux
wget https://secure.nis.vt.edu/resources/downloads/pulse-8.2R5.i386.deb
sudo dpkg –i pulse-8.2R5.i386.deb
/usr/local/pulse/PulseClient.sh install_dependency_packages
@neetjn
neetjn / VSCode-custom.css
Last active February 7, 2018 05:43 — forked from td0/VSCode-custom.css
vscode-styles for operator mono, fira code ligatures, and oceanic next italic
div.window-title, div.panel-header div.title, a.editor-status-mode,
div.results-group, span.quick-open-entry-description>span.monaco-highlighted-label:first-child,
.input, div.column.when span,
.Equinusocio-vsc-material-theme-themes-Material-Theme-Palenight-json .mtk12,
.Equinusocio-vsc-material-theme-themes-Material-Theme-Palenight-json .mtk9,
.Equinusocio-vsc-material-theme-themes-Material-Theme-Palenight-json .mtk4,
.Equinusocio-vsc-material-theme-themes-Material-Theme-Palenight-json .mtk3.mtki.detected-link,
.Equinusocio-vsc-material-theme-themes-Material-Theme-Palenight-json span.mtk11.mtki,
.Tyriar-theme-sapphire-theme-bright-json .mtk6,
.zhuangtongfa-Material-theme-themes-OneDark-Pro-json .mtk6,
@neetjn
neetjn / vscode-styles.css
Last active February 7, 2018 05:37 — forked from joshwiens/vscode-styles.css
vscode-styles for operator mono, fira code ligatures, and oceanic next italic
.type.storage,.type.storage.declaration, .storage.class.modifier {
font-family: 'flottflott';
}
.type.storage.arrow.function {
font-family: 'Fira Code'
}
.token.keyword.operator {
font-family: 'Fira Code'
@neetjn
neetjn / javascript-query-string.js
Created November 27, 2017 22:04 — forked from DavidWells/javascript-query-string.js
JavaScript :: Regex trick: Parse a query string into an object
// http://stevenbenner.com/2010/03/javascript-regex-trick-parse-a-query-string-into-an-object/
// JavaScript regex trick: Parse a query string into an object
var queryString = {};
anchor.href.replace(
new RegExp("([^?=&]+)(=([^&]*))?", "g"),
function($0, $1, $2, $3) { queryString[$1] = $3; }
);
// Usage