Skip to content

Instantly share code, notes, and snippets.

View vnpnlz's full-sized avatar
🎯
Focusing

Von Peñaloza vnpnlz

🎯
Focusing
  • Philippines
View GitHub Profile
{
"querystring" : "#foreach($key in $input.params().querystring.keySet())#if($foreach.index > 0)&#end$util.urlEncode($key)=$util.urlEncode($input.params().querystring.get($key))#end",
"body" : $input.json('$')
}
mountvol S: /S
S:
cd .\EFI\
dir
rd /S Ubuntu
@vnpnlz
vnpnlz / shell_upload_lambda.sh
Created May 25, 2018 07:38
Compressed and Upload Lambda Function Shell Script
# Remove .pyc and _pycache_
echo "Removing .pyc and __pycache__"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Replace lambda handler based on your own use
HANDLER='handler'
find . | grep -E "(__pycache__|\.pyc|\.pyo|\.vscode$)" | xargs rm -rf
@vnpnlz
vnpnlz / user_settings.json
Created May 25, 2018 01:22
VSCode Settings
{
"editor.fontLigatures": true,
// "vscode_custom_css.imports": ["file://home/ins-von/Templates/style.css"],
"editor.insertSpaces": true,
"editor.tabSize": 4,
"editor.renderWhitespace": "all",
"editor.renderIndentGuides": true,
"editor.rulers": [79],
"editor.cursorStyle": "line",
"editor.snippetSuggestions": "top",
@vnpnlz
vnpnlz / vs-code-personal-settings.json
Created March 12, 2018 02:32
VS Code Personal Settings
{
"editor.fontLigatures": true,
"vscode_custom_css.imports": ["file://home/ins-von/Templates/style.css"],
"editor.insertSpaces": true,
"editor.tabSize": 4,
"editor.renderWhitespace": "all",
"editor.renderIndentGuides": true,
"editor.rulers": [79],
"editor.cursorStyle": "line",