Skip to content

Instantly share code, notes, and snippets.

@laranea
laranea / README.md
Created April 26, 2020 15:44 — forked from ryansb/README.md
SQLAlchemy/JSON Notebook - requires Python 3, SQLAlchemy, psycopg2, and Jupyter (formerly IPython Notebook)

Before running this notebook, run:

pip3 install jupyter SQLAlchemy psycopg2

This will install the notebook server and database drivers needed to run these examples. For more information on installing Jupyter (formerly IPython notebook) see their install guide.

Once you've installed the dependencies, run jupyter notebook and it will open your web browser to the notebook's main page. Then upload this notebook (SQLTest.ipynb) and run it.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@laranea
laranea / dbxcli-getr
Created April 6, 2020 14:56 — forked from debuti/dbxcli-getr
Wrap "dbxcli get" command to download files from a dropbox dir recursively
#!/usr/bin/env python3
import os
import sys
import subprocess
import re
import argparse
import hashlib
args = None
@laranea
laranea / dbxcli-getdir
Created April 6, 2020 14:44 — forked from shadiakiki1986/README.md
Wrap "dbxcli get" command to download files from a dropbox dir
#!/bin/sh
# Wrap "dbxcli get" command to download files from a dropbox dir
# Solves https://github.com/dropbox/dbxcli/issues/60
#
# Published at https://gist.github.com/shadiakiki1986/c22fa50523dc7f80ceda6b940358eedf
#
# Tested on
# dbxcli version: v2.1.1
# SDK version: 4.5.0
# Spec version: a1d5111
@laranea
laranea / The Technical Interview Cheat Sheet.md
Created March 30, 2020 17:29 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

; ___ _ __ ___ __ ___
; / __|_ _ __ _| |_____ / /| __|/ \_ )
; \__ \ ' \/ _` | / / -_) _ \__ \ () / /
; |___/_||_\__,_|_\_\___\___/___/\__/___|
; An annotated version of the snake example from Nick Morgan's 6502 assembly tutorial
; on http://skilldrick.github.io/easy6502/ that I created as an exercise for myself
; to learn a little bit about assembly. I **think** I understood everything, but I may
; also be completely wrong :-)
@laranea
laranea / SMBDIS.ASM
Created March 25, 2020 08:28 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no