Skip to content

Instantly share code, notes, and snippets.

@copperwalls
copperwalls / UserConfiguration.json
Created March 24, 2019 13:48
My UHK conf with Vim mod arrow keys. Also made fn layout a bit similar to HHKB 🤓
{
"userConfigMajorVersion": 4,
"userConfigMinorVersion": 0,
"userConfigPatchVersion": 0,
"deviceName": "My UHK",
"doubleTapSwitchLayerTimeout": 250,
"iconsAndLayerTextsBrightness": 255,
"alphanumericSegmentsBrightness": 128,
"keyBacklightBrightness": 255,
"mouseMoveInitialSpeed": 4,

Keybase proof

I hereby claim:

  • I am copperwalls on github.
  • I am pwned (https://keybase.io/pwned) on keybase.
  • I have a public key ASB-UkOHxVBD_AkTNUEexqXm3iF0fp7nTCmnmpgzJrRVKwo

To claim this, I am signing this object:

@copperwalls
copperwalls / karabiner.json
Last active September 8, 2017 06:29
Make the CM Storm (Side print—replaced with blank keys) behave like the HHKB Pro 2 Blank keyboard
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@copperwalls
copperwalls / de-hook.sh
Last active October 10, 2017 03:12
Hook script for dehydrated (Let's Encrypt)
#!/bin/bash
# -- de-hook.sh ----------------------------------------------------------------
#
# This program comes with no warranty. Use at your own risk.
# You have been warned. (That said, it works well for me :)
#
# This script is for reloading Nginx whenever [dehydrated] creates or renews the
# certificate file(s). This is meant to be used as a hook wherein `dehydrated`
# exports $BASEDIR automatically.
#
@copperwalls
copperwalls / .yamllint
Created August 3, 2017 08:33
yamllint example configuration
---
extends: default
rules:
comments:
level: error
require-starting-space: true
min-spaces-from-content: 2
document-start:
@copperwalls
copperwalls / .pylintrc
Created July 21, 2017 06:19
Pylint example configuration
[MASTER]
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS
@copperwalls
copperwalls / tslint.json
Created July 21, 2017 05:52
TSLint example configuration
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"cyclomatic-complexity": true,
"encoding": true,
"indent": [
@copperwalls
copperwalls / .eslintrc.yml
Last active July 20, 2017 07:50
ESLint example configuration
env:
browser: true
es6: true
jest: true
jquery: true
node: true
worker: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
@copperwalls
copperwalls / .stylelintrc.json
Last active July 31, 2017 08:32
stylelint example configuration
{
"rules": {
"at-rule-blacklist": null,
"at-rule-empty-line-before": "always",
"at-rule-name-case": "lower",
"at-rule-name-newline-after": "always-multi-line",
"at-rule-name-space-after": "always",
"at-rule-no-unknown": true,
"at-rule-no-vendor-prefix": true,
"at-rule-semicolon-newline-after": "always",