Skip to content

Instantly share code, notes, and snippets.

View stackpoet's full-sized avatar
💭
I may be slow to respond.

Kenya Sullivan stackpoet

💭
I may be slow to respond.
View GitHub Profile
@stackpoet
stackpoet / .hyper.js
Last active November 20, 2019 20:49
Hyper.js config 11-20-2019
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
fontSize: 14,
@stackpoet
stackpoet / config-docker.sh
Created July 7, 2018 01:02 — forked from rainabba/config-docker.sh
Install docker-ce, docker-compose and docker-sync in Ubuntu for WSL
#!/bin/bash
#
#This script assumes very little other than a fresh Ubuntu install (using the Windows store) on Win10 1709 or newer with WSL installed already
#In Powershell, run the following to install WSL and Ubuntu
#
#Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
#Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.zip -UseBasicParsing
#Expand-Archive ~/Ubuntu.zip ~/Ubuntu
#~/Ubuntu/ubuntu.exe
#
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcode-select --install
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcode-select --install
@stackpoet
stackpoet / eslint-cofiguration-react
Created November 11, 2017 17:52
eslint configuration for react projects
// install the following packages:
// yarn add --dev eslint prettier eslint-config-airbnb@^15.0.1 eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y@^5.1.1
{
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
@stackpoet
stackpoet / VSCode Settings
Created November 11, 2017 17:49
VSCode Settings, terminal configuration
{
"emmet.includeLanguages": {"javascript": "javascriptreact"},
"emmet.triggerExpansionOnTab": false,
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.fontFamily": "Inconsolata for Powerline",
"editor.tabSize": 2,
"editor.minimap.enabled": false,
"workbench.colorTheme": "Cobalt2",
"editor.formatOnSave": true,
"javascript.format.enable": false,
@stackpoet
stackpoet / .hyper.js
Created January 13, 2017 14:42 — forked from nolanlawson/.hyper.js
.hyper.js
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@stackpoet
stackpoet / iterm2-solarized.md
Created November 10, 2016 05:02 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font (OS X / macOS)

Solarized

@stackpoet
stackpoet / .gitignore
Created October 6, 2016 01:57 — forked from salcode/.gitignore
WordPress .gitignore - this is my preferred gitignore file when working with WordPress. It ignores almost all files by default.
# -----------------------------------------------------------------
# .gitignore for WordPress @salcode
# ver 20160309
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore
# to download this file
#
# By default all files are ignored. You'll need to whitelist
# any mu-plugins, plugins, or themes you want to include in the repo.
@stackpoet
stackpoet / uninstall-nodejs
Created October 3, 2016 19:08
Uninstall Node.JS binary installation.
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}