Skip to content

Instantly share code, notes, and snippets.

@mamrehn
mamrehn / xkcd_neon_colors.ipynb
Created April 26, 2017 13:53
xkcd neon colors for matplotlib/seaborn
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mamrehn
mamrehn / install.sh
Created March 27, 2017 11:01 — forked from Reddine/install.sh
Install Theano on Ubuntu 14.04
sudo apt-get install build-essential
sudo apt-get update
# BLAS → LAPACK → ATLAS → numpy → scipy → Theano
# remove numpy and scipy
sudo apt-get remove python-numpy
sudo apt-get remove python-scipy
# Instalation commands
sudo apt-get install gfortran
sudo apt-get install libopenblas-dev
sudo apt-get install liblapack-dev
@mamrehn
mamrehn / [profile] map and iterators.ipynb
Created January 12, 2017 15:23
Test for StackOverflow question about python's list comprehension vs.map. http://stackoverflow.com/questions/1247486/python-list-comprehension-vs-map
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html>
<head>
<title>The curse of dimensionality</title>
</head>
<body>
<h3>The curse of dimensionality</h3>
<p>
@mamrehn
mamrehn / README.md
Last active October 9, 2015 12:05
Short introduction to AngularJS 1.x

Short introduction to AngularJS 1.x

Get AngularJS at https://angularjs.org/.

See a demo of this code @plunker.

Model

Services hold the business logic for an app.

@mamrehn
mamrehn / test.stl
Last active September 29, 2015 11:00
STL file format test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mamrehn
mamrehn / random_data_thresholded.stl
Created September 27, 2015 13:07
STL file format test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mamrehn
mamrehn / test.stl
Created September 27, 2015 13:02
An STL file format test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mamrehn
mamrehn / README.md
Last active August 29, 2015 14:21
Binary Websocket Test

Quick way to test binary websocket API behaviour.

Example outcome:

# Up
object [object ArrayBuffer], Key data: 38, String data: ☁
string , Key data: 38, String data: ☁

# Down
@mamrehn
mamrehn / README.md
Last active August 29, 2015 14:18
HTML5 WebSocket profiling using ws[s]://echo.websocket.org

WebSocket Test

ws://echo.websocket.org

iterations = 50
dataSize   = 512
mean [ms]  = 105.20454545454545
deviation  = 4.966156120337965
variance = 24.662706611570233