This file contains 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
diff --git a/dist/pack.js b/dist/pack.js | |
index 4582cb1ad12e8eb67843e8268674680d886feaa5..394fb9d743777d1003d4e8f53b765807cd729cfe 100644 | |
--- a/dist/pack.js | |
+++ b/dist/pack.js | |
@@ -65,10 +65,10 @@ const filterFilesForZipPackage = ({ files, functionAlias, includedFiles, exclude | |
// if no externals is set or if the provider is google, we do not need any files from node_modules | |
if (!hasExternals || isGoogleProvider) | |
return false; | |
- if ( | |
- // this is needed for dependencies that maps to a path (like scoped ones) |
This file contains 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
<# | |
- BIOS of host machine also needs to be configured to allow hardware virtualization | |
- Windows 10 Pro or otherwise is needed; Windows 10 Home Edition CANNOT get WSL | |
- This gist WSLv2, but can use WSLv1 instead. I needed v1 as I run Windows 10 in a VM in Virtualbox. | |
- WSLv2 has been giving me problems in Virtualbox 6.1, but WSLv1 works properly. | |
- vbox has issues with the GUI settings when it comes to nested virtualization on certain systems, | |
so run the following if needing to give a VM this enabled setting: | |
VBoxManage modifyvm <vm-name> --nested-hw-virt on | |
#> |
This file contains 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
package main | |
import ( | |
"encoding/csv" | |
"encoding/json" | |
"io/ioutil" | |
"os" | |
) | |
type Instance struct { |
This file contains 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
function Get-InjectedThread | |
{ | |
<# | |
.SYNOPSIS | |
Looks for threads that were created as a result of code injection. | |
.DESCRIPTION | |
This file contains 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 | |
# set up some variables | |
NOW_DATE=$(date '+%Y-%m-%d-%H-%M') | |
RESTORE_FROM_INSTANCE_ID=<source name> | |
TARGET_INSTANCE_ID=<target name> | |
TARGET_INSTANCE_CLASS=db.m4.large | |
VPC_ID=<vpc subnet id> | |
NEW_MASTER_PASS=<root password> |