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
# -*- coding: utf-8 -*- | |
from PIL import Image | |
from PIL import ImageFont | |
from PIL import ImageDraw | |
import textwrap | |
import sys | |
import os | |
from os.path import basename | |
import pyimgur | |
import time |
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
{ | |
accounts { | |
id | |
balance | |
createdAt | |
} | |
} | |
{ | |
accounts(filter: { balance: {op: LESS_THAN_OR_EQUAL, value: 100000}}) { | |
balance |
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
// rustc lexer.rs && curl -s https://norvig.com/big.txt | ./lexer | |
use std::io::{Read, Result, stdin}; | |
#[derive(Debug)] | |
struct Token<'a> { | |
s: &'a str, | |
start_index: usize, | |
} |