Skip to content

Instantly share code, notes, and snippets.

@blaisethomas
blaisethomas / type-conversion.html
Last active January 17, 2017 21:41
lifted from w3 schools - type conversion table : http://www.w3schools.com/js/js_type_conversion.asp
<table >
<tbody>
<tr>
<th>Original<br>Value</th>
<th>Converted<br>to Number</th>
<th>Converted<br>to String</th>
<th>Converted<br>to Boolean</th>
</tr>
<tr>
@blaisethomas
blaisethomas / readme.md
Created August 8, 2016 05:49
API in Rails

API in Rails

(Cheatsheet with no coding or local installations needed in approximately 15 minutes)

##Intro

Here are some instructions to build and deploy a RESTful JSON API. Backed by Rails and a SQL database (postgresql), deployed to heroku, and publically accessible. There are 3 quick & easy steps:

  1. use prelang.com to scaffold a rails app on your github account, based on a data model (entity relationship model) of your choice
  2. use cloud9.io to access the code and prepare it to be deployed to Heroku.
  3. Heroku: a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.
@blaisethomas
blaisethomas / readme.md
Last active March 25, 2019 14:59
Android accessibility guidelines

General Assembly Logo Android Accessibility Guidelines

Objectives

After this lesson, students will be able to:

  • Review Android accessibility guidelines
  • Explore directional controls from alternative input methods and gestures to TalkBack and Explore by Touch
  • Testing your app for accessibility

Preparation

#Intro to C

##Objectives:

  • A brief history of programming
  • JS implementations
  • A first look at C
  • Compiling
  • Machine Code
  • Assembly Language


#Agenda

  • Intro
    • Learning Objectives
    • Your Instructors
    • Why Android?
@blaisethomas
blaisethomas / npm&stuff.md
Created February 2, 2016 23:38
learning how to do node

#Intro to Node (part 2)


title: more intro to Node type: lesson duration: '"1"' creator: name: Blaise Thomas city: Los Angeles competencies: Server Applications

@blaisethomas
blaisethomas / ajax-delete.md
Last active January 19, 2016 20:22
JQuery AJAX Delete for lab on friday (slightly hacked)

#The Delete button on index page (à la "jquery AJAX")

include jquery

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"> </script>

add button to loop. Notice id is set to Mongo ID

#WDI 20

###Holiday Break 2015/2016 Homework

  1. Hartl Tutorial speed read chapters 1+2 then as much as possible up to chapter 9 (Or finish the book if you're a hero)
  2. Daily kata on codewars in both JS and Ruby. You should be able to handle 6kyu katas in both languages by january.
  3. Optionals:
  • Paperclip - image uploads. USE CAUTION if connecting AWS S3. MAKE SURE those keys dont end up on github!
  • HTTParty - API integration - play with 3rd party data.

#RAILS (the CLI)

Objectives:

  • Understand that a CLI is just like any normal software except it is used through Terminal and does not have a GUI.
  • You do not need to memorize commands in order to learn Rails. The manual pages are for that!

###What is a CLI?