I hereby claim:
- I am antonfisher on github.
- I am afschr (https://keybase.io/afschr) on keybase.
- I have a public key whose fingerprint is 2762 516A 0461 6A5C 5356 98FE CD4E 893B 2CB4 4DFD
To claim this, I am signing this object:
| /* | |
| * React.js Material-UI Table and TableRow components with flexible height and fixed header | |
| * - fixes "jumping" scrolling bar in WebKit browsers | |
| * - shows permanent scrolling bar for other browsers | |
| * | |
| * Usage: import this Table and TableRow component instead of | |
| * 'material-ui/Table' and 'material-ui/TableRow' component | |
| */ | |
| import React, {PropTypes} from 'react'; |
| # eslint only added/modified js files | |
| git status --porcelain | grep '^\s*[AM]\+\s\+.*\.js$' | sed 's/^\s*[AM]\+\s\+//' | xargs eslint | |
| # list licenses of all node_modules | |
| cd node_modules && for i in $(ls); do echo $i: $(npm v $i license); done | |
| # run script on remote machine | |
| cat s.js | ssh [email protected] "cat | node" | |
| # npm outdate for projects in dir @climagic |
| vim .config/monitors.xml | |
| gnome-terminal --hide-menubar --full-screen; | |
| for i in `xrandr --query | grep " connected" | grep -v "primary" | sed -e 's/^.*connected \([^ ]*\).*$/\1/'`; do gnome-terminal --hide-menubar --full-screen --geometry=$i; done |
| plugins: [ | |
| new webpack.optimize.CommonsChunkPlugin({ | |
| name: 'vendor', | |
| minChunks: (module) => { | |
| if (module.resource && /^.*\.(css|scss)$/.test(module.resource)) { | |
| return false; | |
| } | |
| return module.context && module.context.includes('node_modules'); | |
| } | |
| }) |
| wget --mirror -p --html-extension --convert-links [HOST] |
I hereby claim:
To claim this, I am signing this object:
| # ------------------------------------------------------ | |
| # --- PRE-CONFIGURATION -------------------------------- | |
| # ------------------------------------------------------ | |
| #enable shh | |
| touch ./boot/ssh | |
| #preconfigure wifi | |
| vim ./boot/wpa_supplicant.conf | |
| # --- file conrent ------------------------------------- |
| sudo apt install git vim redshift nodejs npm htop guake gnome-tweak-tool; | |
| redshift -l list | |
| # redshift -l geoclue2 | |
| sudo update-alternatives --config editor | |
| # bind keyboard source change to CapsLosk | |
| #gsettings get org.gnome.desktop.input-sources xkb-options | |
| #gsettings set org.gnome.desktop.input-sources xkb-options "[]" | |
| #gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Alt>Shift_L']" #['Caps_Lock'] |
| [user] | |
| name = Anton Fisher | |
| email = [email protected] | |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| ui = true | |
| [alias] | |
| st = status |
| { | |
| "printWidth": 120, | |
| "tabWidth": 2, | |
| "useTabs": false, | |
| "semi": true, | |
| "singleQuote": true, | |
| "trailingComma": "none", | |
| "bracketSpacing": false, | |
| "jsxBracketSameLine": false, | |
| "arrowParens": "always" |