Skip to content

Instantly share code, notes, and snippets.

View Helloman892's full-sized avatar

Dylan G. Helloman892

View GitHub Profile

Keybase proof

I hereby claim:

  • I am helloman892 on github.
  • I am hm892 (https://keybase.io/hm892) on keybase.
  • I have a public key ASCXFMl3EB5-tGxk0-l7cTAXEieFgLvna-Rq_aI-q299AAo

To claim this, I am signing this object:

@Helloman892
Helloman892 / breeding_competition.py
Created January 21, 2018 20:46
basically i'm better or something idk
from random import randint, shuffle, choice
from timeit import Timer
def f(x):
y = list(range(1, x + 1)) # creates list
def inner(lst):
# the condition below checks if the parities of the list are all 0 or 1
# and continues if they aren't
package Calculator;
import javax.swing.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import static javax.swing.JOptionPane.showMessageDialog;
public class Calculator {
@Helloman892
Helloman892 / gfm.rb
Created March 23, 2013 01:44 — forked from mojombo/gfm.rb
require 'digest/md5'
def gfm(text)
# Extract pre blocks
extractions = {}
text.gsub!(%r{<pre>.*?</pre>}m) do |match|
md5 = Digest::MD5.hexdigest(match)
extractions[md5] = match
"{gfm-extraction-#{md5}}"
end
@Helloman892
Helloman892 / commit.java
Created May 15, 2012 17:58
A new idea, commit enclosed :->
TROLOLOLOLOLOL