This file contains hidden or 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
{ | |
"eslint.format.enable": true, | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
"source.fixAll.eslint": true | |
}, | |
"files.associations": { | |
"*.js": "javascriptreact" | |
}, |
This file contains hidden or 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
one.one.one.one | |
1dot1dot1dot1.cloudflare-dns.com | |
dns.google | |
dns.quad9.net | |
dns.adguard.com | |
dns-family.adguard.com | |
CleanBrowsing | |
adult-filter-dns.cleanbrowsing.org |
This file contains hidden or 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 | |
brew update | |
brew upgrade | |
echo "outdated casks:" | |
brew cask outdated | |
for c in $(brew cask outdated | xargs -n1); do | |
echo "updating $c" |
This file contains hidden or 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
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
This file contains hidden or 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
{ | |
"ecmaVersion": 6, | |
"libs": [ | |
"browser", | |
"jquery", | |
"underscore" | |
], | |
"loadEagerly": [ | |
"absolute/or/relative/path/to/your/js/**/*.js" | |
], |
This file contains hidden or 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
{ | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", | |
"selector": "text.html" | |
}, | |
{ | |
"characters": ".", | |
"selector": "source.js" |
This file contains hidden or 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
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
$cols: 4; | |
$mobile-first : false; | |
$bp-names: 'xs' 's' 'm' 'l' 'xl'; | |
$bp-vals: 320px 568px 768px 1024px 1280px; |
This file contains hidden or 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
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"path": ".", | |
"folder_exclude_patterns": [ "release", "public", "dist", "material" ] | |
} | |
], | |
"ternjs": |
This file contains hidden or 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
'use strict'; | |
/******************************************************************************* | |
DEPENDENCIES | |
*******************************************************************************/ | |
// Load plugins fails with some plugins! | |
// var $ = require('gulp-load-plugins')(); | |
// instead use fashion style: |
This file contains hidden or 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
{ | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP<", | |
"selector": "text, source, meta, string, punctuation, constant" | |
}, | |
{ | |
"characters": "/", | |
"selector": "string.quoted.double.html, string.quoted.single.html, source.css, source.scss" |