- https://config.qmk.fm/
- import JSON
- キーマップを編集
- COMPILE
- FIRMWARE押すと
.hex
ファイルを入手
- QMK Toolbox
.hex
をOpen
- Reset -> Flash
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
/** | |
* order指定されてないアイテムの順番を維持して、 | |
* 指定アイテムのみソート | |
* | |
* @param {array} cards | |
* @param {array} array of card.id | |
* @return {array} sorted cards | |
*/ | |
pointOrder(items, order) { | |
// console.log('order:', order) |
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
describe('destroy()の挙動', () => { | |
test('clearIntervalされているかどうか', () => { | |
// globalメソッドを上書きして、intervalIDを記録する | |
let intervals = [] | |
window.mockSetInterval = window.setInterval | |
window.setInterval = function(func, interval) { | |
const intervalId = window.mockSetInterval(func, interval) | |
intervals = [...intervals, intervalId] | |
//console.log('window.setInterval:', intervalId, intervals) | |
return intervalId |
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 = { | |
extends: [ | |
'eslint:recommended', | |
'@nuxtjs/eslint-config-typescript', | |
'plugin:vue/recommended', | |
'plugin:nuxt/recommended', | |
'plugin:prettier/recommended', | |
'prettier/vue', | |
], | |
plugins: ['vue'], |
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
/** | |
* URLを叩いた結果で振り分ける。modal出すか、画面遷移するか。 | |
* @param {String} url | |
*/ | |
(async () => { | |
try { | |
const fetchUrl = encodeURIComponent(url); | |
const response = await fetch(fetchUrl); | |
const data = await response.json(); |
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
rm -rf /usr/local/var/mysql | |
brew remove --force mysql | |
brew remove --force [email protected] | |
brew install [email protected] | |
mysql.server start |
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 PYENV_ROOT="$HOME/.pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" |
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
vendor/ | |
client_secret.json | |
composer.phar |
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
[[plugins]] | |
repo = 'sbdchd/neoformat.git' | |
hook_add = ''' | |
"let g:neoformat_verbose = 1 " only affects the verbosity of Neoformat | |
" Enable tab to spaces conversion | |
let g:neoformat_basic_format_retab = 1 | |
" Enable trimmming of trailing whitespace | |
let g:neoformat_basic_format_trim = 1 |
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
Show hidden characters
// requires semicolons | |
{ | |
"semi": ["error", "always"], | |
"semi-spacing": ["error", {"after": true, "before": false}], | |
"semi-style": ["error", "last"], | |
"no-extra-semi": "error", | |
"no-unexpected-multiline": "error", | |
"no-unreachable": "error" | |
} |
NewerOlder