Skip to content

Instantly share code, notes, and snippets.


Jim Dennis JimDennis

View GitHub Profile
JimDennis /
Last active Aug 10, 2017 — forked from anonymous/
Mystery Python code from G+
#/usr/bin/env python
from __future__ import print_function
import random
list1 = list('abc') # We can expand strings into lists with this:
list2 = list1[:] # Makes a (shallow) copy of the list
letter_counts = dict()
JimDennis / bignums.js
Last active Jul 9, 2017 — forked from anonymous/
Sample JS Code for bigNums Exercise
View bignums.js
7. Iterate over the "bigNums" array.
If any number is less than 10, replace it with "x".
Return "bigNums"
HINT: You will need to "loop" over the array and check "if" the numbers are "less than" 10
Answer: This function should return ["x", 12, "x", 56, 19, "x", "x", "x", 14, 10, "x"]
let bigNums = [3, 12, 7, 56, 19, 9, 1, 5, 14, 10, 2];
JimDennis /
Last active Sep 11, 2016 — forked from chris-belcher/
JoinMarket's privacy is degraded until further notice

JoinMarket's privacy is degraded (for a while)



JoinMarket is a young project, there are some possible vulnerabilities which could be exploited to spy on every user.

Recently people have noticed that one such attack seems to actually be happening. The attack has the possibility of degrading the privacy of all JoinMarket coinjoins.