Skip to content

Instantly share code, notes, and snippets.

View jsoma's full-sized avatar

Jonathan Soma jsoma

View GitHub Profile
@jsoma
jsoma / ai2html-html.html
Created March 29, 2022 16:15
ai2html-html text block for illustrator
ai2html-html
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.3.0/d3.min.js"></script>
<style>
.hidden { visibility: hidden; }
</style>
@jsoma
jsoma / Downloading a list of files with Python.ipynb
Created December 7, 2021 17:13
How to download a list of files using Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsoma
jsoma / stockx.ipynb
Created December 3, 2021 15:35
Basic StockX pandas analysis data and notebook. You can find the notebook here and the data here: https://s3.amazonaws.com/stockx-sneaker-analysis/wp-content/uploads/2019/02/StockX-Data-Contest-2019-3.xlsx
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsoma
jsoma / lumber-prices.csv
Created December 3, 2021 15:33
Time-series lumber prices analysis for video walkthrough at https://youtu.be/4j9LcUPlKwA
open high low close date
$407.00 $424.70 $377.00 $424.70 1996-12-09T00:00:00
$426.00 $450.50 $395.00 $411.40 1997-01-02T00:00:00
$408.50 $421.50 $382.10 $383.50 1997-02-03T00:00:00
$386.00 $389.70 $355.00 $380.50 1997-03-03T00:00:00
$378.00 $417.50 $376.50 $403.10 1997-04-01T00:00:00
$401.90 $404.40 $370.10 $380.50 1997-05-01T00:00:00
$387.50 $393.10 $347.10 $378.00 1997-06-02T00:00:00
$380.60 $380.90 $332.00 $343.70 1997-07-01T00:00:00
$342.00 $365.90 $341.10 $356.70 1997-08-01T00:00:00
@jsoma
jsoma / idols.ipynb
Created December 3, 2021 15:26
Notebook and data for kpop idols analysis video https://youtu.be/XHnBUaHvbeo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsoma
jsoma / 00 - Scraping basics for Selenium.ipynb
Created December 2, 2021 01:13
Jupyter notebook of an exercise about scraping with Selenium into a pandas dataframe. YouTube video here: https://youtu.be/G2spsjuyIwE
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsoma
jsoma / Plotting data in groups and preparing data for plotting in groups.ipynb
Created June 28, 2021 14:43
Using pandas to plot grouped bar charts, and reshaping data to make it work
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsoma
jsoma / Using paginated APIs (4 ways!).ipynb
Created June 27, 2021 14:01
Paginated APIs with Python: Four ways!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jsoma
jsoma / README.md
Last active July 16, 2025 13:09
How to use pandoc and Markdown to build a simple reveal.js presentation (and a bit about how to customize it, too)

Requirements

First you need to install pandoc.

I used brew install pandoc to install via Homebrew since I'm on a mac.

Writing your presentation

Make a slides.md for your slides (or name it whatever you want!). I put images in an /images/ folder. You can see how links and images and all of that work from this sample:

@jsoma
jsoma / CORS.json
Created November 20, 2020 19:07
CORS configuration for AWS S3 public files
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"