Skip to content

Instantly share code, notes, and snippets.

@teamdandelion
teamdandelion / labels_1024.tsv
Last active February 6, 2024 08:33
TensorBoard: TF Dev Summit Tutorial
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
7
2
1
0
4
1
4
9
5
9
@craffel
craffel / draw_neural_net.py
Created January 10, 2015 04:59
Draw a neural network diagram with matplotlib!
import matplotlib.pyplot as plt
def draw_neural_net(ax, left, right, bottom, top, layer_sizes):
'''
Draw a neural network cartoon using matplotilb.
:usage:
>>> fig = plt.figure(figsize=(12, 12))
>>> draw_neural_net(fig.gca(), .1, .9, .1, .9, [4, 7, 2])
@sean-hill
sean-hill / Ionic and ngCordova upload example
Last active May 6, 2019 01:52
Upload service for Ionic and ngCordova
Ionic and ngCordova upload example
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@karl-
karl- / CleanUpWindow.cs
Created November 15, 2012 03:25
New interface for removing unused Unity assets
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections;
using System.Collections.Generic;
public class CleanUpWindow : EditorWindow
{
bool groupEnabled = true;
List<string> usedAssets = new List<string>();
@jimk
jimk / eric_on_lion.txt
Created April 30, 2012 23:43
Installing the Eric IDE for Python on OS X Lion
You'll find that getting QT to play nicely on Lion is less than intuitive and painful much less getting all of the Eric IDE pre-requisites working, as well. In a effort to ease your pains, here's the steps that I went through:
btw, these instructions are assuming you have an Intel Mac (I doubt Lion supports PowerPC, though).
Xcode
- What developer hasn't installed Xcode on his Mac, yet?!?
- Xcode has the build tools that everything needs so you'll need this.
Python
- I think the OS X version of Python will work but I used python2.7 from Homebrew