Skip to content

Instantly share code, notes, and snippets.

View hcho3's full-sized avatar

Philip Hyunsu Cho hcho3

View GitHub Profile
# Check for open appointments in the current month at Las Vegas DMV
# Currently, the script looks for appointments of type "Multiple Services - DL/Vehicle"
import datetime
import time
import boto3
import requests
# List of Nevada DMV locations in the Las Vegas metro area
las_dmv = { # site_id, servicetype_id
@sriramch
sriramch / pr 4478 issue
Created May 30, 2019 22:53
4478 cli regression
the dataset is ~ 80gb
external memory is turned on
i do not think the cache files are created on the backing store. it is trying to make the entire dataset resident
sample config:
booster = gbtree
objective = binary:logistic
verbosity = 3
#single_precision_histogram = true
# Thanks to this post:
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
$ brew install cabextract
$ cd ~/Downloads
$ mkdir consolas
$ cd consolas
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
$ cabextract PowerPointViewer.exe
$ cabextract ppviewer.cab