Skip to content

Instantly share code, notes, and snippets.

View altwitt's full-sized avatar

Harrison Witt altwitt

  • Geospatial Developer
  • Memphis, TN
  • 19:08 (UTC -06:00)
View GitHub Profile
@altwitt
altwitt / arcgis_online_rss.py
Created December 13, 2019 20:37
ArcGIS Online Health Dashboard ArcGIS Online publishes our latest information on service availability in the table below. Check back here to get current status information, or subscribe to an RSS feed to be notified of interruptions to each individual service.
import requests
from bs4 import BeautifulSoup
base_page = "https://status.arcgis.com/rss/ago_{}.rss"
all_rss = "https://status.arcgis.com/rss/all.rss"
feed_name_list = ["ws",
"rest",
"fs",
"fpub",
"tile",
watson add --from "2019-12-02 11:11:11" --to "2019-12-02 12:12:12" \
work +wfdss +ward-phone
iMac:~ altwitt$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/bin
iMac:~ altwitt$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/bin
@altwitt
altwitt / animated-3d-globe-webgl-three-js.markdown
Created November 30, 2019 03:46
Animated 3D Globe (WebGL/three.js)
## COMMAND TO RUN AFTER DOWNLOADING OS INSTALLER
"/Users/altwitt/Sierra.app/Contents/Resources/startosinstall" --eraseinstall --newvolumename "Macintosh HD" --agreetolicense
That’s
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group FB363AAC-635D-4ABB-B8B7-627ADF465DFF
=========================================================
#!/usr/bin/env bash
# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias -- -="cd -"
alias c='clear'
# Shortcuts
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.13574660633484159</real>
<key>Green Component</key>
<real>0.13574660633484159</real>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.0</real>
<key>Green Component</key>
<real>0.0</real>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.0</real>
<key>Green Component</key>
<real>0.0</real>