- Time countdown with one key
- Different backlighting modes
- TKL 87 ANSI layout
- Double shot backlit keycaps
- Integrated with three layouts (QWERTY, DVORAK, COLEMAK)
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
#!/usr/bin/env bash | |
NOCOLOR='\e[0m' | |
RED='\e[0;31m' | |
GREEN='\e[0;32m' | |
YELLOW='\e[1;33m' | |
CYAN='\e[0;36m' | |
command -v ffmpeg >/dev/null 2>&1 || { echo >&2 "${RED}ffmpeg not installed!${NOCOLOR}"; exit 1; } | |
echo -e "You can select a window for ${CYAN}fixed coordinates${NOCOLOR} in 3 seconds." | |
sleep 3 | |
echo "Select window!" |
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
import i18n from 'i18next'; | |
import { initReactI18next } from 'react-i18next'; | |
import resources from '../locales/translations.json'; | |
// we disable the translation texts for dev mode so that the | |
// tests would only break if an ID is missing but not | |
// if the translation has been changed by the translators. | |
const devTranslations = Object.keys(resources['en-US'].translation).reduce((acc, key) => { | |
acc[key] = key; | |
return acc; |
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
#!/usr/bin/env bash | |
# EDITORCONFIG | |
# ============ | |
echo "\ | |
root = true | |
[*] | |
indent_style = space |
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
// save bandcamp album tracks to a pls playlist; | |
// mp3 file urls are protected by a token, so these playlist | |
// will "expire", but at least one can use a native player; | |
// still, please do read http://bandcamp.com/help/audio_basics#steal | |
// and http://bandcamp.com/terms_of_use | |
// | |
// ``` | |
// mkdir bandcamp-pls && \ | |
// cd bandcamp-pls && \ | |
// npm init --yes && \ |
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
import store, { IState } from '../../actions' | |
import { connect } from 'react-redux' | |
const isFunc = (item) => typeof item === 'function' | |
const isNotFunc = (item) => !isFunc(item) | |
const filter = (obj, comp) => { | |
return Object.keys(obj).reduce((acc, key) => { | |
if (comp(obj[key])) { | |
acc[key] = obj[key] | |
} |
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
const fs = require('fs') | |
const path = require('path') | |
const shell = require('shelljs') | |
const prettier = require('prettier') | |
const args = process.argv | |
const doGitAdd = args.includes('--git-add') || args.includes('-ga') | |
const FILTER_PATTERN = /\.tsx?$/ | |
shell.config.silent = true | |
const changedFiles = shell.exec('git status --porcelain=v1 -z') |
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
import * as log from 'loglevel' | |
// # create bem | |
// | |
// ``` | |
// const bem = createBem('my-favorite-foods') | |
// | |
// bem.b() === 'my-favorite-foods' | |
// bem.b('ordered') === 'my-favorite-foods--ordered' | |
// bem.b(['ordered', 'waiting-for']) === 'my-favorite-foods--ordered my-favorite-foods--waiting-for' |
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
const fs = require('fs') | |
const getContent = (command) => | |
`Set oShell = CreateObject ("WScript.Shell") : oShell.run "cmd /c start ${command}", 0, False` | |
const items = { | |
'PC Settings': 'ms-settings:', | |
'Closed captioning': 'ms-settings:easeofaccess-closedcaptioning', | |
'High contrast': 'ms-settings:easeofaccess-highcontrast', | |
'Keyboard': 'ms-settings:easeofaccess-keyboard', | |
'Magnifier': 'ms-settings:easeofaccess-magnifier', | |
'Mouse': 'ms-settings:easeofaccess-mouse', |
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
!dpi should be 125.37, but thats just huge | |
!the rest has been taken from the arch forum | |
xft.dpi: 110 | |
xft.antialias: true | |
xft.rgba: rgb | |
xft.hinting: true | |
xft.hintstyle: hintslight | |
!xterm settings, mostly taken from the arch wiki | |
xterm*reverseVideo: on |