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:
const AWS = require('aws-sdk') | |
const s3 = new AWS.S3() | |
const BUCKET_NAME = 'MyBucket' | |
async function main() { | |
try { | |
const data = await s3.headBucket({ Bucket: BUCKET_NAME }).promise() | |
return `Bucket "${BUCKET_NAME}" exists` |
/*************************** | |
NOT MAINTAINED! from ~2015 | |
****************************/ | |
// photoshop script to resize images proportionally to fit inside a 1024px box i.e. longest side/edge will equal 1024px | |
// useful when scaling down many large photos for web use, simply toss in a batch action | |
var activeDoc = app.activeDocument | |
var docWidth = activeDoc.width | |
var docHeight = activeDoc.height |
{
"always_prompt_for_file_reload": true,
"bold_folder_labels": true,
/* | |
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; | |
} |
# 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 |
<!-- | |
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> |
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": [ | |
{ | |
"command": { | |
"action": "copy", | |
"singleLine": false | |
}, | |
"keys": "ctrl+c" |