Skip to content

Instantly share code, notes, and snippets.

View ChristopherBilg's full-sized avatar
🪰
Battling, bashing, and banishing bothersome bugs

Chris Bilger ChristopherBilg

🪰
Battling, bashing, and banishing bothersome bugs
View GitHub Profile
@ChristopherBilg
ChristopherBilg / book_info.txt
Created March 13, 2018 14:26
r/DailyProgrammer Bookshelf Problem
500 500 500
1309 Artamene
303 A la recherche du temps perdu
399 Mission Earth
500 500 500
1309 Artamene
303 A la recherche du temps perdu
399 Mission Earth
@ChristopherBilg
ChristopherBilg / kids.txt
Created March 13, 2018 14:27
r/DailyProgrammer Kids Lotto
Rebbeca Gann;Latosha Caraveo;Jim Bench;Carmelina Biles;Oda Wilhite;Arletha Eason;Theresa Kaczorowski;Jane Cover;Melissa Wise;Jaime Plascencia;Sacha Pontes;Tarah Mccubbin;Pei Rall;Dixie Rosenblatt;Rosana Tavera;Ethyl Kingsley;Lesia Westray;Vina Goodpasture;Drema Radke;Grace Merritt;Lashay Mendenhall;Magali Samms;Tiffaney Thiry;Rikki Buckelew;Iris Tait;Janette Huskins;Donovan Tabor;Jeremy Montilla;Sena Sapien;Jennell Stiefel;15
@ChristopherBilg
ChristopherBilg / letters.py
Last active October 2, 2023 22:40
r/DailyProgrammer Letters In Alphabetical Order
#!usr/bin/env python3
"""
This script is the r/DailyProgrammer Easy Challenge #228 titled
Letters in Alphabetical Order.
"""
ORDER = {
"IN_ORDER": 0,
"NOT_IN_ORDER": 0,
"REVERSED_ORDER": 0
}
@ChristopherBilg
ChristopherBilg / packet_assembler.py
Last active October 2, 2023 22:40
r/DailyProgrammer Packet Assembler
#!usr/bin/env python3
"""
This script is the r/DailyProgrammer Easy Challenge #333 titled
Packet Assembler.
Author: Christopher Bilger
"""
class Packet():
"""
@ChristopherBilg
ChristopherBilg / rack_management.py
Last active October 2, 2023 22:40
r/DailyProgrammer Rack Management 1
#!usr/bin/env python3
"""
This script is the r/DailyProgrammer Easy Challenge #294 titled
Rack Management 1.
Author: Christopher Bilger
"""
def scrabble(rack_str, desired_str):
"""
@ChristopherBilg
ChristopherBilg / numbers.txt
Created March 13, 2018 14:31
r/DailyProgrammer Reverse Factorial
120
150
3628800
479001600
6
18
@ChristopherBilg
ChristopherBilg / integers.py
Created March 14, 2018 16:28
r/DailyProgrammer Integer Complexity 1
#!usr/bin/env python3
"""
This script is the r/DailyProgrammer Easy Challenge #354 titled
Integer Complexity 1.
Author: Christopher Bilger
"""
import math as Math
class Integer():
@ChristopherBilg
ChristopherBilg / clock.py
Created March 15, 2018 13:49
r/DailyProgrammer Talking Clock
#!usr/bin/env python3
"""
This script is the r/DailyProgrammer Easy Challenge #321 titled
Talking Clock.
Author: Christopher Bilger
"""
WORD_HOURS = [
"twelve",
"one",
"two",
@ChristopherBilg
ChristopherBilg / Class Inheritance Example.py
Created March 15, 2018 16:27
Python Example of Class Inheritance
#!/usr/bin/env python3
class Ship():
def __init__(self, name="Ship", yearBuilt=2000):
self.name = str(name)
self.yearBuilt = int(yearBuilt)
def name(self, name=None):
if not name == None:
@ChristopherBilg
ChristopherBilg / carriage_return.c
Last active October 2, 2023 22:40
C Language: Carriage Return Example
#include <stdio.h>
#include <unistd.h>
#define itterator 100000
#define pollingDelay 1
int main() {
for(int i = 1; i <= itterator; i++){
printf("i = %d\r", i);
sleep(pollingDelay/10);