Skip to content

Instantly share code, notes, and snippets.

View daroza's full-sized avatar

Ed Daroza daroza

  • Starbucks
  • Seattle, WA
View GitHub Profile

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@daroza
daroza / README.md
Last active April 15, 2022 23:29 — forked from jtpio/README.md
JupyterLab 3.3.3

JupyterLab 3.3.3 on Binder

Binder

@daroza
daroza / README.md
Last active April 18, 2022 18:42 — forked from jtpio/README.md
JupyterLab 3.2.9

JupyterLab 3.2.9 on Binder

Binder

Features

  • Real Time Collaboration enabled

rtc-demo

JupyterLab 3.2 on Binder with some extra libraries

Binder

@daroza
daroza / stockfish.py
Created March 19, 2017 17:52 — forked from notbanker/stockfish.py
Python call to stockfish chess engine
import subprocess
from lib.common.dominoUtil import running_on_local
from lib.config import PROJECT_PATH
import time
import psutil
import os
import numpy as np
def _recommended_threads():
return psutil.cpu_count()-2
@daroza
daroza / readme.md
Created March 8, 2017 19:12 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@daroza
daroza / .block
Created November 22, 2016 10:37 — forked from mbostock/.block
Collapsible Tree
license: gpl-3.0
@daroza
daroza / millionbase_to_json.py
Created November 4, 2016 04:03 — forked from rasmusab/millionbase_to_json.py
Converts the millionbase chess PGN database (http://www.top-5000.nl/pgn.htm) to json
# Converts the millionbase chess PGN database (http://www.top-5000.nl/pgn.htm) to json
# with one json dictionary per row. (That is, the resulting file is contain multiple json objects,
# not just one large).
import json
import chess.pgn # From python-chess https://github.com/niklasf/python-chess
pgn = open("millionbase-2.22.pgn") # Or where you have put it
fout = open('milionbase-2.22.json', 'w') # Or where you want it
@daroza
daroza / bash-cheatsheet.sh
Created June 11, 2016 04:00 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04