Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim Dennis JimDennis

View GitHub Profile
@JimDennis
JimDennis / mystery_code.py
Last active Aug 10, 2017 — forked from anonymous/mystery_code.py
Mystery Python code from G+
View mystery_code.py
#/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
JimDennis / bignums.js
Last active Jul 9, 2017 — forked from anonymous/bignums.ps
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
JimDennis / JMalert.md
Last active Sep 11, 2016 — forked from chris-belcher/JMalert.md
JoinMarket's privacy is degraded until further notice
View JMalert.md

JoinMarket's privacy is degraded (for a while)

09/06/2016

Summary

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.