There's a built-in sync feature: https://code.visualstudio.com/docs/editor/settings-sync
I'm sharing this as a gist so that people may grab bits and pieces if they feel like it 🤷
You can easily install the extensions below by:
There's a built-in sync feature: https://code.visualstudio.com/docs/editor/settings-sync
I'm sharing this as a gist so that people may grab bits and pieces if they feel like it 🤷
You can easily install the extensions below by:
# https://github.com/alacritty/alacritty | |
TERM: xterm-256color | |
window: | |
dimensions: | |
columns: 147 | |
lines: 37 |
<!-- | |
https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/ | |
https://medium.com/sedeo/how-to-fix-target-blank-a-security-and-performance-issue-in-web-pages-2118eba1ce2f | |
https://blog.dareboost.com/en/2017/03/target-blank-links-rel-noopener-performance-security/ | |
--> | |
<a href="#" target="_blank" rel="noopener noreferrer">Link</a> |
const AWS = require('aws-sdk') | |
const Promise = require('bluebird') | |
const filesize = require('filesize') | |
// AWS.config.update({ accessKeyId: '', secretAccessKey: '', region: '' }) | |
const s3 = new AWS.S3() | |
const cloudwatch = new AWS.CloudWatch() | |
const TWELVE_HOURS_IN_SECONDS = 43_200 |
# https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html | |
# https://docs.aws.amazon.com/cli/latest/index.html | |
# https://stedolan.github.io/jq/ | |
aws dynamodb scan \ | |
--table-name tableName \ | |
--profile dev \ | |
--page-size 5 | jq .Items[] | jq {field1:.field1.S,field2:.field2.S} | json2csv |
application/doc | |
application/msword | |
application/rtf | |
application/vnd.ms-word.document.macroEnabled.12 | |
application/vnd.oasis.opendocument.text | |
application/vnd.openxmlformats-officedocument.wordprocessingml.document | |
application/x-abiword | |
application/x-iwork-pages-sffpages | |
application/x-rtf | |
application/x-soffice |
// \s - any whitespace character (including \t, \n and a few others) | |
// \S - any non-whitespace character | |
// \w - any word character (uppercase and lowercase latin alphabet, numbers 0-9, and _) | |
// \W - any non-word character | |
// \b - word boundary (boundaries between \w and \W, matches in-between characters) | |
// \B - non-word boundary (inverse of \b) | |
// (?!) - negative lookahead | |
// (?=) - positive lookahead | |
// (?<=) - positive lookbehind | |
// (?<!) - negative lookbehind |
// useful when a 'followed' redirect needs to happen, etc. | |
// https://github.com/insin/get-form-data | |
function $forEach(arr, cb) { | |
var arrLen = arr.length | |
for (var i = 0; i < arrLen; i++) cb(arr[i]) | |
} | |
function $form(action, method, fields) { | |
var form = document.createElement('form') |
/* | |
Disable annoying highlight/select on click | |
https://css-tricks.com/almanac/properties/u/user-select/ | |
*/ | |
.button { | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} |