I hereby claim:
- I am robinmollah on github.
- I am robinmollah (https://keybase.io/robinmollah) on keybase.
- I have a public key ASBMh18Xlr2QspJB-8x4hK_EJKrEOmNoRML1h-tnIvo6Ugo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
for i in {1..1000} | |
do | |
adb shell input tap 235 1066 | |
adb shell input tap 927 1098 | |
sleep 30s | |
done |
const { exec, spawn } = require('child_process'); | |
function getProcessPath(process_name){ | |
exec(`powershell "Get-Process ${process_name} | Format-List Path"`, (err, stdout, stderr) => { | |
if (err) { | |
console.error(err); | |
return; | |
} | |
let paths = convertToArray(stdout); | |
console.log(paths); |
const fs = require("fs"); | |
const path = require("path"); | |
function findFolder(folder, searchQuery) { | |
if (!fs.existsSync(folder)) { | |
console.error("dir not found ", folder); | |
return; | |
} | |
let subdirs = fs |
const fs = require("fs"); | |
function lastModifiedFiles(dir) { | |
fs.readdir(dir, (err, files) => { | |
if (err) { | |
console.error(err); | |
return; | |
} | |
console.log(files); | |
let tmpFiles = files |
/* | |
* In this video, you will be able to see the code that automates calculation of selected text | |
* https://www.linkedin.com/posts/robinmollah_scriptwriting-javascript-productivity-activity-6785840697766498304-asBl | |
/* | |
function run(input, parameters) { | |
if(input.length == 0) input.push("robin +11tk\\nrobin +11tk"); | |
let output = input[0].split("\n"); | |
let sum = 0; | |
for(let line of output){ |
# Add executable permission to run it using "chmod +x aws-search-instance-id.sh" | |
# Example usage ./aws-search-instance-id.sh i-xxxxxxxxxx | |
regions="ap-southeast-2 us-west-2 us-west-1 us-east-1 us-east-2 ap-east-1 ap-southeast-1 ap-northeast-2 ap-northeast-3 ap-northeast-1 ca-central-1 eu-west-2 af-south-1 eu-central-1 eu-west-1 me-south-1 eu-south-1 eu-west-2 eu-west-3 eu-north-1 sa-east-1" | |
for region in $regions | |
do | |
echo "Checking: " $region | |
aws ec2 describe-instances --instance-ids $1 --region $region --output table | |
done |