Skip to content

Instantly share code, notes, and snippets.

@reccanti
reccanti / Portfolio Style Guide.markdown
Created November 28, 2015 06:25
Portfolio Style Guide
@reccanti
reccanti / Observer.js
Created February 24, 2016 22:22
JavaScript Observer Pattern
/**
* This module describes a Calculator.
* The calculator performs a single calculation of a
* given function, then sends the output to a list of
* observers.
*/
var Calculator = (function() {
/**
@reccanti
reccanti / 430_Project_Proposal.md
Last active April 20, 2016 04:00
Design Document for Project

#Project Goal The goal of the project is to facilitate drawing as a means of communication. This means that drawings should be able to be made and shared quickly and easily.

--

#Scope

This project WILL:

  1. To provide a tool through which the User can create drawings and share them as easily as possible.
@reccanti
reccanti / Instructions.md
Last active May 18, 2016 01:17
Installs the Inspire project

#Overview Inspire consists of two main modules: A Node Express server and an OpenFramworks client.

The Node Express server is responsible for the following things: rendering the client input screen, fetching and bundling assets from various APIs, distributing assets, and playing audio files.

The OpenFrameworks client is responsible for handling the assets received from the server, generating a display, and broadcasting that display for use by MadMapper.

In addition to these components, several other repos that we worked on can be found at the Team Tentickles Organization on GitHub

#Requirements

#Intro

For this project, I experimented with several technologies that were new to me. I had barely looked into React or Redux, and my experience with Node servers and MongoDB was minimal. Many of the issues I ran into were a result of this inexperience, and I learned a lot from this.

#What Went Well

  1. The technologies work together: Despite working with so many new technologies, I was able to make them all integrate together. Getting the server to work in the front-end was particularly challenging, as I had never had to work with a single-page application. It was a challenging problem but I learned a lot by solving it.
  2. Coming up with a Minimum Viable Product: I had a lot of ideas for what I could do with this product and where I could take it. However, the core of my idea was always to have a simple drawing app where users could host and share their drawings. When I noticed certain aspects of the project going overscope, I at least had that basic app to fall back on.

#What Went Wrong

var canvas = document.createElement("canvas");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
var ctx = canvas.getContext("2d");
ctx.translate(0.5, 0.5);
document.body.appendChild(canvas);
window.addEventListener("resize", function() {
canvas.width = window.innerWidth;
@reccanti
reccanti / git_and_unity.md
Created February 9, 2017 06:00 — forked from Ikalou/git_and_unity.md
Git and Unity

Using Git with Unity

Git logo

Git is a popular free and open source distributed version control system.

I am new to Unity, but as a long time git user, I wanted to use git for my Unity projects. The bottom line is... it doesn't work nearly as well as I would like it to.

@reccanti
reccanti / introrx.md
Created March 9, 2017 01:45 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@reccanti
reccanti / mnist.py
Last active May 25, 2017 02:54
The Tensorflow Getting Started Tutorials
import tensorflow as tf
# get MNIST data
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
# describe a placeholder for a value
x = tf.placeholder(tf.float32, [None, 784])
# define the weights and biases
@reccanti
reccanti / .emacs
Created January 29, 2018 11:16
Emacs Config File
(require 'package) ;; You might already have this line
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
(add-to-list 'package-archives (cons "melpa" url) t))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))