This demonstrates how to configure your Golang Lambda function (that uses Redis) on localstack using docker.
- docker-compose
- AWS CLI
- Run
./setup.sh
to set up. - Run
./update.sh
to update lambda with your latest code.
This demonstrates how to configure your Golang Lambda function (that uses Redis) on localstack using docker.
./setup.sh
to set up../update.sh
to update lambda with your latest code.awk 'NF' .env | jq -cMR '[inputs | split("=") | {(.[0]): (.[1]) }] | add' |
#!/usr/bin/env bash | |
cp -r ./include/google /usr/local/include/ | |
cp ./bin/protoc /usr/local/bin/protoc | |
xattr -d com.apple.quarantine /usr/local/bin/protoc |
package main | |
import ( | |
"fmt" | |
"runtime" | |
) | |
func main() { | |
myFunction() | |
} |
@echo off | |
echo This will create an undeletable folder AUTORUN.INF and a file RECYCLER on | |
echo the drive you choose in next prompt. | |
echo. | |
echo 1. Enable | |
echo 2. Disable (Undo this tweak) | |
echo 3. Exit | |
echo. | |
set /p twk=Choose an option : | |
if "%twk%"=="1" goto d |
@echo off | |
pushd "%~dp0" | |
:A | |
echo. | |
echo 1. Set USB Devices as Read Only on this PC | |
echo 2. Set USB Devices as Read and Write on this PC | |
echo 3. Exit | |
echo. | |
set /p usbd=Choose an option : | |
SET _REG=reg add "HKLM\SYSTEM\ControlSet001\Control\StorageDevicePolicies" /f /t REG_DWORD /v WriteProtect /d |
@echo | |
title USB Shortcut File Reovery - Faizan Khalid | |
cls | |
echo Enter the USB Drive Letter (e.g. F): & set /p Drive= | |
cls | |
echo Recovering Files.. | |
attrib -h -r -s %Drive%:*.* /s /d | |
attrib +s +h "%Drive%:System Volume Information" /s /d | |
cls | |
echo Done! |
echo off | |
title Windows Spotlight | |
cls | |
echo This will copy all wallpapers from %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\ to the folder "wallpaper" on the Desktop | |
pause | |
cd %userprofile%\Desktop | |
md wallpaper | |
cd wallpaper | |
rem md %date:/=% | |
rem cd %date:/=% |
I hereby claim:
To claim this, I am signing this object:
mvn install:install-file | |
-Dfile=./lib/RedshiftJDBC41-no-awssdk-1.2.27.1051.jar | |
-DgroupId=com.amazon.redshift \ | |
-DartifactId=jdbc41 | |
-Dversion=1.2.27.1051 | |
-Dpackaging=jar |