Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Johnathan Ingle jingle1000

🎯
Focusing
View GitHub Profile
@jingle1000
jingle1000 / tangentlines.ipynb
Last active Jun 28, 2019
Simple example of using the definition of a derivative to calculate a tangent line to a point.
View tangentlines.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jingle1000
jingle1000 / Program.cs
Created Sep 13, 2019
Get the pixels from a jpeg with ImageSharp
View Program.cs
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using System;
using System.IO;
namespace ImageSharpConsole
{
class Program
View Real Estate Price Map.py
import plotly.graph_objs as go
import pandas as pd
import numpy as np
df = pd.read_csv("Real Estate Data YOY .csv")
print(df.head())
i = 0
cols = [col for col in df.columns]
cols = cols[1:]
@jingle1000
jingle1000 / environment-gpu.yml
Last active Mar 27, 2020
A conda environment for getting started with this repository: https://github.com/MortenHannemose/pytorch-vfi-cft
View environment-gpu.yml
name: torch
channels:
- pytorch
- defaults
dependencies:
- _pytorch_select=1.1.0=cpu
- blas=1.0=mkl
- ca-certificates=2020.1.1=0
- certifi=2019.11.28=py36_1
- cffi=1.14.0=py36h7a1dbc1_0
View Format for Flourish.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jingle1000
jingle1000 / dynamic_parent.py
Created Apr 19, 2020
Dynamic Parent Plugin for Blender 2.8x
View dynamic_parent.py
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
You can’t perform that action at this time.