Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
class Version
module Symbol
POSITIVE_INTEGER = 0
ZERO = 1
LETTER = 2
DOT = 3
DASH = 4
UNKNOWN = 99
def self.for(character)
project.task('createAmplifyApp') {
def npx = 'npx'
if (project.file(gradleConfigFileName).exists()) {
return
}
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
npx += '.cmd'
}
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 19 columns, instead of 5 in line 9.
gameid,tourneyid,tie,winnerid,winnername,winnerscore,winneroldrating,winnernewrating,winnerpos,loserid,losername,loserscore,loseroldrating,losernewrating,loserpos,round,division,date,lexicon
1,1,False,268,Harriette Lakernick,0,1568,1684,1,429,Patricia Barrett,0,1915,1872,3,1,1,1998-12-06,False
2,1,False,268,Harriette Lakernick,0,1568,1684,1,435,Chris Cree,0,1840,1798,6,2,1,1998-12-06,False
3,1,False,268,Harriette Lakernick,0,1568,1684,1,441,Caesar Jaramillo,0,1622,1606,10,3,1,1998-12-06,False
4,1,False,268,Harriette Lakernick,0,1568,1684,1,456,Mike Chitwood,0,1612,1600,9,4,1,1998-12-06,False
5,1,False,268,Harriette Lakernick,0,1568,1684,1,1334,Nancy Scott,0,1537,1590,4,6,1,1998-12-06,False
6,1,False,268,Harriette Lakernick,0,1568,1684,1,454,Mary Rhoades,0,1676,1647,8,8,1,1998-12-06,False
7,1,False,268,Harriette Lakernick,0,1568,1684,1,5766,Stephen Fierros,0,1647,1640,7,9,1,1998-12-06,False
8,1,False,268,Harriette Lakernick,0,1568,1684,1,442,Matt Dewaelsche,0,1739,1747,2,10,1,1998-12-06,False
9,1,False,429,Pat
@jpignata
jpignata / protect.sh
Last active April 13, 2020 08:20
Install git-secrets on all repos in home directory
#!/usr/bin/env bash
# Install git-secrets template for new and cloned repos
if [ ! -d "$HOME/.git-templates/git-secrets" ]
then
echo "Installing git-secret globally"
git secrets --register-aws --global
git secrets --install $HOME/.git-templates/git-secrets
git config --global init.templateDir $HOME/.git-templates/git-secrets
set currentSettings to get volume settings
if input volume of currentSettings > 0 then
set volume input volume 0
else
set volume input volume 100
end if
tell application "System Events"
tell process "NotificationCenter"
set windowCount to count windows
$ cat input.txt | python solve.py
Part 1: 1519
Part 2: 14358

Introduction

Hi! I'm a Software Development Manager on the [AWS AppSync] team.

Contact

Need help? Have a question? Just want to say hi? Reach out!

import threading
import socket
CHARS = [chr(i).encode('ascii') for i in range(32, 127)]
NEWLINE = '\n'.encode('ascii')
def server(host='127.0.0.1', port=19):
def generate(client):
line = 1