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
Apple removed colored sub-pixel antialiasing in MacOS Mojave | |
(https://developer.apple.com/videos/play/wwdc2018/209/ starting from ~28min) | |
To make fonts look normal in Sublime Text, add to Preferences: | |
// For the editor | |
"font_options": [ "gray_antialias" ], | |
// For the sidebar / other elements | |
"theme_font_options": [ "gray_antialias" ], |
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
''' people export''' | |
import base64 | |
import csv | |
import sys | |
import time | |
import urllib # for url encoding | |
import urllib2 # for sending requests | |
try: |
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
#!/bin/bash | |
# https://cloud.google.com/compute/docs/faq#find_ip_range | |
# nslookup -q=TXT _cloud-netblocks.googleusercontent.com 8.8.8.8 | |
myarray=() | |
for LINE in `dig txt _cloud-netblocks.googleusercontent.com +short | tr " " "\n" | grep include | cut -f 2 -d :` | |
do | |
myarray+=($LINE) | |
for LINE2 in `dig txt $LINE +short | tr " " "\n" | grep include | cut -f 2 -d :` |