sudo mkdir /private/tmp
sudo chmod 1777 /private/tmp
xcrun
xcrun simctl list devices //to list all simulators
xcrun simctl delete // to delete specific device
| #!/usr/bin/env bash -e | |
| ## | |
| ## Automatic version from package.json file | |
| ## | |
| ## Call this script from your XCode Scheme: | |
| ## - Copy / paste this script in a .sh file | |
| ## - Open your app scheme in XCode (shortcut: Cmd + <) | |
| ## - go to Build > Pre-actions | |
| ## - Add a run Script ('+' button in scheme window > "New Run Script Action" |
| // for multiple requests | |
| let isRefreshing = false; | |
| let failedQueue = []; | |
| const processQueue = (error, token = null) => { | |
| failedQueue.forEach(prom => { | |
| if (error) { | |
| prom.reject(error); | |
| } else { | |
| prom.resolve(token); |
| package ciphers | |
| import ( | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/sha512" | |
| "crypto/x509" | |
| "encoding/pem" | |
| "log" | |
| ) |
| Domain: TEST.local | |
| User Enumeration: | |
| Windows: | |
| net user | |
| net user /domain | |
| net user [username] | |
| net user [username] /domain | |
| wmic useraccount | |
| Mac: | |
| dscl . ls /Users |