The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
{ | |
"info" : [ | |
{ | |
"id": 1, | |
"name": "Harry Potter", | |
"school": "Hogwarts", | |
"house": "Gryffindor", | |
"role": "Hogwarts Student", | |
"image_url": "http://i.imgur.com/lX3lE9V.jpg", | |
"characters_detailed_id": "1", |
//Top array is simulated input | |
var array = ['at&t', 'ATT', 'att', 'tmobile', 'T-mobile', 'TMobile', 'Tesla']; | |
var endArray = []; | |
for(var i = 0; i < array.length; i++) { | |
switch(array[i]){ | |
case 'at&t': | |
endArray[i] = 'AT&T'; | |
break; |
Create a lesson plan for a lesson on data types and variables in Java.
You can assume students have seen a “Hello World” application in Java with explanations of “static void main(String[] args)”, how to run a Java program, etc.
Also assume that students have already learned procedural and object-oriented basics in Python, so the lesson should compare/contrast to Python.
This doesn’t need to be a full written-out lesson, just an outline. Though please do include any code examples you would use.
Directions for using TensorFlow with the Fast-Style-Transfer repo.
This aritcle assumes that you followed the setup directions found here OR that you have python correctly setup on your machine with an anaconda environment that has TensorFlow installed.
Clone the Fast-Style-Transfer repo: $ git clone https://github.com/lengstrom/fast-style-transfer.git
$ cd fast-style-transfer
Setting up my machine to learn to web development was something I really struggled with before having access to the professional developers that taught my bootcamp program. This guide is based on what they walked us through -- I wish I had had this when I was banging around trying to learn on my own!
This article assumes your computer:
This article assumes that you have a basic working knowledge of node and that you know how to use the node package manager (npm).
If you are deploying a simple HTML and CSS web page surge is a great (free) option.
First make sure that all your HTML and CSS files are in a single directory and appropriately linked together. Your main HTML page should be called index.html
.
From your terminal:
From your iphone
Copy this: javascript:location.href="googlechrome"+location.href.substring(4);
TensorFlow is the Google built open source software library for machine intelliegence.
Per Google: TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them.
This article assumes that you have a basic knowledge of the terminal, node, homebrew, and the command line -- and that you are working on a Mac (directions could be adjusted for a PC, but that's not what they're written for). This article also assumes that you do not have a working knowledge of python or anaconda.
Check your version of python:
$ python --version