This file contains hidden or 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
| <!doctype html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/fontawesome.min.css"/> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/solid.min.css"> | |
| <style type="text/css"> |
This file contains hidden or 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
| import numpy as np | |
| # define letters | |
| letter_d = [[0, 1, 0, 0], [0, 1, 2, 0]] | |
| letter_i = [[1, 1], [2, 0]] | |
| letter_n = [[0, 0, 1, 1, 1], [2, 0, 1, 2, 0]] | |
| letter_h = [[0, 0, 0, 1, 1, 1], [0, 2, 1, 1, 2, 0]] | |
| letter_names = ["d", "i", "n", "h"] | |
| letter_paths = [letter_d, letter_i, letter_n, letter_h] |
This file contains hidden or 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
| for FILENAME_WEBP in `ls $1 | grep "webp"` | |
| do | |
| DELAY=${DELAY:-10} | |
| LOOP=${LOOP:-0} | |
| echo $FILENAME_WEBP | |
| FILENAME_WEBP_PREFIX=$(echo $FILENAME_WEBP | sed 's/\(.*\)\.webp/\1/') | |
| echo $FILENAME_WEBP_PREFIX | |
| n=`webpinfo -summary $FILENAME_WEBP | grep frames | sed -e 's/.* \([0-9]*\)$/\1/'` | |
| dur=`webpinfo -summary $FILENAME_WEBP | grep Duration | head -1 | sed -e 's/.* \([0-9]*\)$/\1/'` |
This file contains hidden or 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 python | |
| # -*- coding: utf-8 -*- | |
| import math | |
| registrant_file = "current_guests.csv" | |
| # csv file with row format "first_name,last_name,email,institution" | |
| # email must be unique identifier | |
| with open(registrant_file, "r") as fi: | |
| registrant_rows = fi.readlines() |
This file contains hidden or 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
| import requests | |
| import time | |
| import random | |
| from bs4 import BeautifulSoup | |
| import argparse | |
| import urllib | |
| import string | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("--bookmarks", type=str, default="") |
This file contains hidden or 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
| from theano import tensor | |
| import numpy | |
| from numpy.testing import assert_allclose | |
| from blocks.bricks.recurrent import BaseRecurrent, recurrent | |
| class UnexpectedRecurrent(BaseRecurrent): | |
| """`blocks.bricks.recurrent.recurrent` showing unexpected behavior =( |