Skip to content

Instantly share code, notes, and snippets.

Avatar
Working on Ruff

Charlie Marsh charliermarsh

Working on Ruff
View GitHub Profile
View boot.py
#!/usr/bin/env python
import os
import sys
import vocabcompiler
lib_path = os.path.abspath('../client')
sys.path.append(lib_path)
View gist:11092828
import re
f = open('D-small-2-attempt0.in.txt','r')
T = int(f.readline())
for t in range(T):
s = f.readline()
counter = 0
ghosts = re.findall(r'GHOST', s)
View gist:4139881
disclosureIndicator.layer.shadowColor = [UIColor colorWithRed:0.2 green:0.2 blue:0.2 alpha:0.5].CGColor;
disclosureIndicator.layer.shadowOffset = CGSizeMake(0, 1);
disclosureIndicator.layer.shadowOpacity = 1.0;
disclosureIndicator.layer.shadowRadius = 1;
disclosureIndicator.layer.masksToBounds = NO;