Instantly share code, notes, and snippets.

View pm.txt
# DISCOVERY
In the early morning hours of Tuesday, April 10th, 2018, BostonHacks member Charles Ma discovered that the landing page for bostonhacks, bostonhacks.io, was offline. Charles promptly accessed his facebook messenger to notify the BostonHacks team (from now on refered to as BH team). Ken Garber then opened his computer to diagnose and repair the issue.
# DIAGNOSIS
Accessing bostonhacks.io, Ken noticed that he was getting an error message from cloudflare, showing that, "The SSL certificate presented by the server did not pass validation...". He realized the SSL certificates from letsencrypt are short lived and probably just expired.
# REPAIR
First Ken turned off Nginx, as it gets in the way of "certbot", the program which renews our certificates. He ran the "sudo service nginx stop" command. Next, he accessed cloudflare to turn off the proxy for bostonhacks.io,museo.bostonhacks.io, and www.bostonhacks.io. He ran the command "sudo certbot renew --cert-name bostonhacks.io --dry-run" to dry run a rene
View pythonSudokuSolver.py
__author__ = 'kengarber'
import datetime
# SETUP ------------------------------------------------------------------
given_board = [[0, 0, 0, 0, 4, 0, 0, 0, 0],
[1, 0, 7, 0, 0, 0, 0, 8, 0],
[5, 0, 0, 6, 0, 7, 0, 3, 0],
[2, 0, 0, 3, 0, 4, 8, 9, 0],
View sudokuSolver.java
package sudoku.solver.two;
import java.util.Scanner;
/**
*
* @author kengarber
*/
public class SudokuSolverTwo {