Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Wilcox jeffwilcox

View GitHub Profile
@ayastreb
ayastreb / webpack.config.js
Created May 25, 2017
Build Chrome Extension with React using Webpack
View webpack.config.js
const path = require('path')
const webpack = require('webpack')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin')
module.exports = {
// Entry files for our popup and background pages
entry: {
popup: './src/popup.js',
@dmtucker
dmtucker / ipv6-erl.md
Last active Aug 9, 2021
Configuring IPv6 on EdgeRouter Lite
View ipv6-erl.md

Configuring IPv6 on EdgeRouter Lite

Tested with:

  • v1.9.7+hotfix.4, Wave G in Seattle
  • v1.10.5, Comcast in the South Bay Area
set interfaces ethernet eth0 description LAN
set interfaces ethernet eth1 description WAN
set interfaces ethernet eth2 description WLAN
@binaryphile
binaryphile / one-handed.ahk
Created Aug 31, 2012
Simple One-handed Keyboard Autohotkey script
View one-handed.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Recommended for catching common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Toggle := False
$Space::
KeyWait, Space, T0.15 ; Adjust this value to control the delay before switching modes
If ErrorLevel
@davejamesmiller
davejamesmiller / _README.md
Last active Oct 19, 2021
Bash General-Purpose Yes/No Prompt Function ("ask")
View _README.md

This is a general-purpose function to ask Yes/No questions in Bash, either with or without a default answer. It keeps repeating the question until it gets a valid answer.