This file contains 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
void Main() | |
{ | |
// Uncomment QueryDuplicates2 to run that query. | |
// QueryDuplicates(); | |
QueryDuplicates2(); | |
// Keep the console window open in debug mode. | |
// Console.WriteLine("Press any key to exit."); | |
// Console.ReadKey(); | |
} |
This file contains 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
# r/dailyprogrammer challenge number 163 "easy" | |
# Probability Distribution of a 6 Sided Di | |
# Author: Kit Roed | |
# Language: python3 | |
#make python random do all the work | |
import random | |
dsize = 6 | |
roll_counts = [] |
This file contains 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
# daily programmer #162 easy "Novel Compression pt. 1: Unpacking the Data" | |
# author: Kit Roed | |
# example dictionary: | |
# | |
# is | |
# my | |
# hello | |
# name | |
# stan |
This file contains 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
puts "Hello World" |
This file contains 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 os | |
import time | |
# global vars | |
iterations = 0 | |
x = 0 | |
y = 0 | |
grid = [] | |
# function to check life/death |
This file contains 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
<html> | |
<head> | |
</head> | |
<body> | |
<div> | |
<h1>Input</h1> | |
</div> | |
<div> | |
<h1>Output</h1> | |
<textarea type="text" id="outputTextArea" style="width:100%" rows=25></textarea> |
This file contains 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
Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES; | |
acrobat africa alaska albert albino album | |
alcohol alex alpha amadeus amanda amazon | |
america analog animal antenna antonio apollo | |
april aroma artist aspirin athlete atlas | |
banana bandit banjo bikini bingo bonus | |
camera canada carbon casino catalog cinema | |
citizen cobra comet compact complex context | |
credit critic crystal culture david delta | |
dialog diploma doctor domino dragon drama |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,5d,e0,5c,e0,00,00,00,00 |
This file contains 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 json | |
from hashlib import md5 | |
from os import path | |
from sys import stdout | |
from datetime import datetime | |
from dateutil.parser import parse | |
from sqlalchemy import create_engine | |
from sqlalchemy import Column, Integer, String, Date, Boolean | |
from sqlalchemy.orm import sessionmaker, relationship | |
from sqlalchemy.ext.declarative import declarative_base |
This file contains 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
# the idea here is to throw together a quick | |
# SQLite database to store the hash of all | |
# the files found in a given subdir | |
import hashlib | |
import os | |
import time | |
import datetime | |
import socket | |
from sqlalchemy import create_engine |