This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutjake@linux-hmf7:~/fceux-docker> cat Dockerfile | |
FROM ubuntu | |
RUN apt-get dist-upgrade -y | |
RUN apt-get update -y | |
RUN apt-get upgrade -y | |
RUN apt-get install -y fceux | |
RUN apt-get install -y wget unzip | |
RUN wget http://mirror1.freeroms.com/nes_roms/04/mpout.zip | |
RUN unzip mpout.zip | |
CMD nes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var https = require('https'); | |
var fs = require('fs'); | |
var options = { | |
host: process.argv[2], | |
port: process.argv[3], | |
}; | |
if(process.argv.length === 5) { | |
options.cert = fs.readFileSync(process.argv[4], 'ascii'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutjake@linux-hmf7:~/Documents/trytls> trytls https node stubs/node-https/run.jsplatform: Linux (openSUSE 20160720) | |
runner: trytls 0.1.1 (CPython 2.7.12, OpenSSL 1.0.2h-fips) | |
stub: node 'stubs/node-https/run.js' | |
PASS expired certificate [reject expired.badssl.com:443] | |
PASS wrong hostname in certificate [reject wrong.host.badssl.com:443] | |
PASS self-signed certificate [reject self-signed.badssl.com:443] | |
FAIL SHA-256 signature [accept sha256.badssl.com:443] | |
FAIL 1000 subjectAltNames [accept 1000-sans.badssl.com:443] | |
PASS incomplete chain of trust [reject incomplete-chain.badssl.com:443] | |
PASS Superfish CA [reject superfish.badssl.com:443] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutjake@linux-hmf7:~/Documents/trytls> trytls https stubs/erlang-ssl/run.sh | |
platform: Linux (openSUSE 20160720) | |
runner: trytls 0.1.1 (CPython 2.7.12, OpenSSL 1.0.2h-fips) | |
stub: 'stubs/erlang-ssl/run.sh' | |
PASS expired certificate [reject expired.badssl.com:443] | |
PASS wrong hostname in certificate [reject wrong.host.badssl.com:443] | |
PASS self-signed certificate [reject self-signed.badssl.com:443] | |
FAIL SHA-256 signature [accept sha256.badssl.com:443] | |
FAIL 1000 subjectAltNames [accept 1000-sans.badssl.com:443] | |
PASS incomplete chain of trust [reject incomplete-chain.badssl.com:443] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutjake@linux-l76y:~/trytls> trytls https stubs/erlang-httpc/run.sh | |
platform: Linux (openSUSE 20160720) | |
runner: trytls 0.1.1 (CPython 2.7.12, OpenSSL 1.0.2h-fips) | |
stub: 'stubs/erlang-httpc/run.sh' | |
FAIL expired certificate [reject expired.badssl.com:443] | |
FAIL wrong hostname in certificate [reject wrong.host.badssl.com:443] | |
FAIL self-signed certificate [reject self-signed.badssl.com:443] | |
PASS SHA-256 signature [accept sha256.badssl.com:443] | |
FAIL 1000 subjectAltNames [accept 1000-sans.badssl.com:443] | |
FAIL incomplete chain of trust [reject incomplete-chain.badssl.com:443] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env escript | |
%% -*- erlang -*- | |
%% trytls (https://github.com/ouspg/trytls) stub for erlang | |
%% Uncomment the following line if needed. Hard to say if compiling is worthwhile here. | |
%% -mode(compile). | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/thoj/go-ircevent" | |
"strings" | |
"time" | |
"strconv" | |
) | |
var next_url = make(chan string) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
def csv_to_json(csv_str, column_names_list=None): | |
"""Comma-separated csv to json. First row taken as column_names, unless optional parameter column_names_list is supplied.""" | |
columns_lst = column_names_list | |
csv_rows = map(lambda row: row.split(","), csv_str.split("\n")) | |
if not column_names_list: | |
columns_lst = csv_rows.pop(0) | |
return json.dumps(map(lambda row: dict(zip(columns_lst, row)), csv_rows)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am mutjake on github. | |
* I am mutjake (https://keybase.io/mutjake) on keybase. | |
* I have a public key whose fingerprint is 73FD E530 9DAB 2195 0B2B 5321 B40D 5681 DE76 4E72 | |
To claim this, I am signing this object: |