This file contains hidden or 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
    
  
  
    
  | #!/usr/bin/env bash | |
| #You need to have aws-cli installed and configured | |
| #Credits to Reddit user u/aa93 for the suggestions | |
| mkdir code | |
| aws lambda list-functions | \ | |
| grep FunctionName | \ | |
| cut -d '"' -f4 | \ | |
| while read -r name; do | |
| aws lambda get-function --function-name $name | tail -n 3 | egrep -o 'https?://[^ ]+' | sed 's/"//' | xargs wget -O ./code/$name.zip | 
  
    
      This file contains hidden or 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
    
  
  
    
  | 'use strict'; | |
| const axios = require('axios'); | |
| const AWS = require('aws-sdk'); | |
| const S3UploadStream = require('s3-upload-stream'); | |
| const Twilio = require('twilio'); | |
| const ACCOUNT_SID = "AC2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; | |
| const AUTH_TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; | |
| const S3_BUCKET = "BUCKET-NAME"; | |
| const S3_PREFIX = "Recordings"; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * The onOpen function runs automatically when the Google Docs document is | |
| * opened. Use it to add custom menus to Google Docs that allow the user to run | |
| * custom scripts. For more information, please consult the following two | |
| * resources. | |
| * | |
| * Extending Google Docs developer guide: | |
| * https://developers.google.com/apps-script/guides/docs | |
| * | |
| * Document service reference documentation: | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <# | |
| .SYNOPSIS | |
| Creates a new cabinet .CAB file on disk. | |
| .DESCRIPTION | |
| This cmdlet creates a new cabinet .CAB file using MAKECAB.EXE and adds | |
| all the files specified to the cabinet file itself. | |
| .PARAMETER Name | |
| The output file name of the cabinet .CAB file, such as MyNewCabinet.cab. | 
  
    
      This file contains hidden or 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
    
  
  
    
  | [reflection.assembly]::loadfile( "C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Drawing.dll") | |
| function BytesToString($bytes) { | |
| return [System.Text.Encoding]::ASCII.GetString($bytes) | |
| } | |
| function StringToBytes($string) { | |
| return [System.Text.Encoding]::ASCII.GetBytes($string) | |
| } | |
| function GetImageTakenDate($filename) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * Gravity Wiz // Gravity Forms // Change Field ID via Browser Console | |
| * | |
| * Provides a simple function for changing the ID of a Gravity Forms field via the browser console from the Form Editor page. | |
| * | |
| * @version 1.0 | |
| * @author David Smith <david@gravitywiz.com> | |
| * @license GPL-2.0+ | |
| * @link http://gravitywiz.com/changing-your-gravity-forms-field-ids/ | |
| * @video http://www.screencast.com/t/STm1eLZEsR9q |