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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
export const define = ( | |
name: string, | |
ElCtor: CustomElementConstructor, | |
options?: ElementDefinitionOptions | |
): void => { | |
if (typeof window !== 'undefined') { | |
customElements.define(name, ElCtor, options) | |
} | |
} |
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
alsa-plugins | |
alsa-utils | |
arandr | |
autoconf | |
autofs | |
automake | |
base | |
bash-completion | |
binutils | |
bison |
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
#!/bin/bash | |
# Setup arch | |
pacman -S --noconfirm pacman-contrib curl | |
# Setup Mirrors | |
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup | |
curl "https://www.archlinux.org/mirrorlist/?country=CA&country=US&protocol=http&protocol=https&ip_version=4" -o /etc/pacman.d/mirrorlist.new -s | |
sed -i 's/#S/S/g' /etc/pacman.d/mirrorlist.new | |
rankmirrors -n 10 /etc/pacman.d/mirrorlist.new > /etc/pacman.d/mirrorlist |
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
# make sure there is no delay in the esacpe sequence | |
set -g escape-time 10 | |
# use C-a, since it's on the home row and easier to hit than C-b | |
set-option -g prefix C-a | |
unbind-key C-a | |
bind-key C-a send-prefix | |
set -g base-index 1 | |
# Easy config reload |
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
base 2-2 | |
curl 7.70.0-1 | |
docker 1:19.03.11-1 | |
docker-compose 1.25.5-1 | |
e2fsprogs 1.45.6-2 | |
gist 5.1.0-1 | |
git 2.27.0-1 | |
grub 2:2.04-7 | |
haveged 1.9.8-2 | |
inetutils 1.9.4-8 |
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
base 2-2 | |
curl 7.70.0-1 | |
docker 1:19.03.11-1 | |
docker-compose 1.25.5-1 | |
e2fsprogs 1.45.6-2 | |
gist 5.1.0-1 | |
git 2.27.0-1 | |
grub 2:2.04-7 | |
haveged 1.9.8-2 | |
inetutils 1.9.4-8 |
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
module.exports = { | |
parser: "babel-eslint", | |
extends: ["prettier"], | |
plugins: ["import", "react"], | |
rules: { | |
"no-unused-vars": [2, { varsIgnorePattern: "h" }], | |
"react/jsx-uses-vars": 2, | |
"no-undef": 0 | |
} | |
}; |
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
// Load your Glitch project, paste this into the javascript console of chrome inspect | |
// Enjoy vim goodness! | |
(function () { | |
var makeCursorFat = function() { | |
var style = document.createElement('style'); | |
style.textContent = | |
'div.CodeMirror div.CodeMirror-cursor { ' + | |
'width: auto; ' + | |
'border: 0; ' + |
NewerOlder