- env
- Dock
- 右側に、デフォルト非表示
- 不要なものは Dock から削除
- ホットコーナー
- 左下カーソルでスリープ
- スポットライト
- Dock
- ショートカット設定(⌘+option)
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
plugins=(git) | |
alias st="git status" | |
alias br="git branch" | |
alias gl="git log" | |
alias ad="git add ." | |
alias cm="git commit -m " |
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
var glob = require('glob') | |
var path = require('path') | |
var entries = {} | |
glob.sync("./src/**/entry.js").map(function(file) { | |
entries[file] = file | |
}) | |
module.exports = { | |
entry: entries, |
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
#!/bin/bash | |
# execute command | |
# ------------------- | |
# curl -s https://gist.githubusercontent.com/busonx/f0e9644c7685097fe8916546f1a95f5d/raw/78e86b7226e02c627ae937a3ff4a6d85f9092cbb/install-centos7.x-vscode-extensions.sh | /bin/bash | |
# Ref: https://qiita.com/takeru08ma/items/43705af9fa864cf3bc18 | |
# Visual Studio Code :: Package list | |
pkglist=( |
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
(function(word) { | |
console.log(word) | |
})('hello') |
- React Developer Tools
- Angular DevTools
- Redux Tools
- Google Analytics Debugger
- JSON Formatter
- VisBug
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
(function() { | |
var log = function(x) { | |
console.log(x); | |
}; | |
var void_text = ''; | |
// 口調 | |
function getWords(type) { | |
switch(type) { |
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 throwError = () => { throw new Error('foo') } | |
const delayFunc = async () => { | |
setTimeout(async () => { | |
try { | |
await throwError() | |
} catch(e) { | |
// This won't be captured by main function | |
throw e | |
} |
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
// ==UserScript== | |
// @name Wider Modal - https://control.akamai.com/apps/property-manager/ | |
// @namespace https://gist.github.com/chuck0523/bd260ee3d9933f741ec2d436aa706549 | |
// @version 0.1 | |
// @description Make modal wider for visibility | |
// @author chuck0523 | |
// @match https://control.akamai.com/apps/property-manager/ | |
// @grant none | |
// ==/UserScript== |
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
// 要素数10の配列を作成 | |
const ary = new Array(10) | |
// 0番目と3番目の要素に文字列を設定 | |
ary[0] = "foo" | |
ary[3] = "bar" | |
// 10回標準出力される | |
for (let i = 0; i < ary.length; i++) { | |
console.log(ary[i]) |
NewerOlder