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
$ curl -v http://ftp.gnu.org/ | |
* Trying 208.118.235.20... | |
* TCP_NODELAY set | |
* Connection failed | |
* connect to 208.118.235.20 port 80 failed: Operation timed out | |
* Failed to connect to ftp.gnu.org port 80: Operation timed out | |
* Closing connection 0 | |
curl: (7) Failed to connect to ftp.gnu.org port 80: Operation timed out | |
$ ping ftp.gnu.org |
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
# I can never remember... | |
git fetch upstream | |
git checkout master | |
git merge upstream/master |
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
james@Jamess-iMac: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
sudo ln -s /Users/james/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.2 . | |
sudo ln -s /Users/james/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.3 . | |
sudo ln -s /Users/james/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.4 . | |
sudo ln -s /Users/james/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0 . | |
sudo ln -s /Users/james/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.1 . | |
sudo ln -s /Users/james/Desktop/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2 . | |
james@Jamess-iMac: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport |
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 | |
logExt="$(date +%Y-%m-%d).log" | |
LOG_FILE="/var/services/homes/james/logs/$(basename "$0").$logExt" | |
WORK_DIR=$(mktemp -d) | |
# check if tmp dir was created | |
if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then | |
echo "Could not create temp dir" |
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
Jekyll::Hooks.register :site, :post_write do |site| | |
Jekyll.logger.info "site.dest: ", site.dest | |
Jekyll.logger.info "site.source: ", site.source | |
ioDest = '/Users/james/Projects/jamesstout.github.io' | |
Jekyll.logger.info "GitHub.io dest: ", ioDest | |
hash = `git rev-parse --short HEAD` | |
Jekyll.logger.info "hash: ", hash |
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
- [Firebase/Core][I-COR000001] Configuring the default app. | |
- [Firebase/Core][I-COR000033] Data Collection flag is not set. | |
- [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT | |
- [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT | |
- [41112:16549661] [Firebase/Crashlytics] Version 4.1.0 | |
- [Firebase/Crashlytics][I-CLS000000] [Crashlytics] Running on iOS Simulator (iPhone), 12.2.0 (17G12034) | |
- [Firebase/Crashlytics][I-CLS000000] [Crashlytics:Settings] No settings were cached | |
- [Firebase/Crashlytics][I-CLS000000] Root: /Users/james/Library/Developer/CoreSimulator/Devices/4EF0C0BF-0DF1-47D9-B9E6-19307E748F0E/data/Containers/Data/Application/7C3A9AE4-84B0-40A5-A24A-87DA7D4387F1/Library/Caches/com.crashlytics.data/com.tiberiushk.hkwarningspushtest | |
- [Firebase/Crashlytics][I-CLS000000] Automatic data collection is enabled. | |
- [Firebase/Crashlytics][I |
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 | |
# shellcheck shell=bash | |
# set -x | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
# Header logging | |
e_header() { | |
printf "\n$(tput setaf 7)%s$(tput sgr0)\n" "$@" | |
} |
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 | |
# shellcheck shell=bash | |
# SEE: https://docs.microsoft.com/en-us/appcenter/diagnostics/iOS-symbolication#app-center-api | |
# AND: https://github.com/microsoft/appcenter-cli#commands | |
# Common functions | |
jcs_log () { echo "[JCS] $1"; } | |
# TODO: change to fail |
OlderNewer