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
#!/usr/bin/env bash | |
options=':c:om' | |
while getopts $options option | |
do | |
case $option in | |
c ) timeChange=$OPTARG;; | |
m ) syncModifiedTimestamp=true;; | |
o ) execute=true;; | |
h ) echo "imageChangeDate.sh [-c] timeChange String] [-o] Overwrite File"; exit;; |
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 convertNumberToAlphabeticColumn(columnNumber) { | |
dividend = int(columnNumber); | |
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
columnName = ""; | |
while (dividend > 0) | |
{ | |
mod = int( dividend ) % 26; | |
columnName = substr( alphabet, mod, 1 )columnName; | |
dividend = int( dividend - mod ) / 26 ; | |
} |
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
// 1. Open chrome://settings/passwords | |
// 2. Open chrome developer tools (using F12 or Ctrl+Shift+i) | |
// 3. Run the following code in the console tab | |
// 4. Copy output in a text file and save it somewhere safe! | |
function asyncForEach(array, done, iterator) { | |
var i = 0; | |
next(); | |
function next(err) { | |
if (err) { |
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
0440823f1ca755c5cf6ec0817791cbdb0233ec3ace9b2757919dbefe55e9aa0d7cce299ee737c5a2e6a4217d074e93013f0a97ddd199d8ee9a7d7afb44c3f4230a;synace |
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
MYQ_EMAIL="" | |
MYQ_PASSWORD="" | |
MYQ_API_URI="https://myqexternal.myqdevice.com/api/v4" | |
MYQ_APP_ID="JVM/G9Nwih5BwKgNCjLxiFUQxQijAebyyg8QUHr7JOrP+tuPb8iHfRHKwTmDzHOu" | |
curl "$MYQ_API_URI/User/Validate" \ | |
-d '{"username":"'$MYQ_EMAIL'","password":"'$MYQ_PASSWORD'"}' \ | |
-H 'Content-Type: application/json' \ | |
-H 'User-Agent: Chamberlain/3.73' \ | |
-H 'BrandID: 2' \ |