Pointing your domains to a gh-pages
branch requires three steps.
- Add the Github IPs as
A
records on Namecheap.
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
import torch | |
from torch.utils.flop_counter import FlopCounterMode | |
from triton.testing import do_bench | |
def get_flops_achieved(f): | |
flop_counter = FlopCounterMode(display=False) | |
with flop_counter: | |
f() | |
total_flops = flop_counter.get_total_flops() | |
ms_per_iter = do_bench(f) |
domain | gscore | |
---|---|---|
asylum.ai | 10 | |
ballpark.ai | 10 | |
barium.ai | 10 | |
campanile.ai | 10 | |
caviar.ai | 10 | |
chaperon.ai | 10 | |
crowded.ai | 10 | |
evasion.ai | 10 | |
finagle.ai | 10 |
from lxml import html | |
import requests | |
import urllib.request | |
import re | |
import time | |
import os.path | |
HANDLE = '^/handle/[0-9]+/[0-9]+$' | |
BASE_URL = 'https://tspace.library.utoronto.ca' | |
page = requests.get(BASE_URL + '/handle/1807/24487') |
try: | |
import pyaudio | |
import numpy as np | |
import pylab | |
import matplotlib.pyplot as plt | |
from scipy.io import wavfile | |
import time | |
import sys | |
import seaborn as sns | |
except: |
7 | |
2 | |
1 | |
0 | |
4 | |
1 | |
4 | |
9 | |
5 | |
9 |
Solarized | |
#FDF6E3,#EEE8D5,#93A1A1,#FDF6E3,#EEE8D5,#657B83,#2AA198,#DC322F | |
Solarized Dark | |
#073642,#002B36,#B58900,#FDF6E3,#CB4B16,#FDF6E3,#2AA198,#DC322F | |
import pyaudio | |
import wave | |
FORMAT = pyaudio.paInt16 | |
CHANNELS = 2 | |
RATE = 44100 | |
CHUNK = 1024 | |
RECORD_SECONDS = 5 | |
WAVE_OUTPUT_FILENAME = "file.wav" | |
#!/usr/bin/env python | |
""" | |
Script to open a sqlite3 database and dump all user tables to CSV files. | |
Tested in Unicode-rich environment. | |
Usage: | |
dumpsqlite3tocsv foo.db | |
""" | |
import sqlite3, csv, codecs, cStringIO, os, os.path |