- Chrome ($Free) - Because Safari sucks
- VLC Media Player ($Free) - Because QuickTime blows
- Acorn ($30) - Photoshop for humans
- Airmail ($10) - An excellent email client, supports Gmail, Yahoo, Hotmail, Exchange, etc.
- Twitter ($Free) - Twitter's official Mac client. It's pretty great.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the JSON Schema | |
const customerSchema = JSON.parse(environment.customerSchema); | |
// Test whether the response matches the schema | |
var customer = JSON.parse(responseBody); | |
tests["Customer is valid"] = tv4.validate(customer, customerSchema); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests["Status code is 200"] = responseCode.code === 200; | |
tests["Response time is acceptable"] = responseTime < 200; // milliseconds | |
tests["Content-Type header is set"] = postman.getResponseHeader("Content-Type"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var customer = JSON.parse(responseBody); | |
if (customer.id === undefined) { | |
// No customer was returned, so don't run the rest of the collection | |
postman.setNextRequest(null); | |
} | |
else { | |
// Save the customer ID to a Postman environment variable | |
postman.setEnvironmentVariable("cust_id", customer.id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Get customer info', () => { | |
it('should return a valid response', () => { | |
response.should.have.status(200); | |
response.should.be.json; | |
response.body.should.not.be.empty; | |
}); | |
it('should set the Location header', () => { | |
response.should.have.header('Location'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> | |
<!doctype html> | |
<head> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<h1 style="text-align:center" id="title" style="center" >Super Duper Survey Form</h1> | |
<p id="description"> | |
<legend style="text-align:center">What do you like about Stuff and Things</legend> | |
</p> |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.
Edward Snowden answered questioned after a showing of CITIZENFOUR at the IETF93 meeting; this is a transcript of the video recording.
For more information, see the Internet Society article.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* OpenSimplex (Simplectic) Noise Test for Unity (C#) | |
* This file is in the Public Domain. | |
* | |
* This file is intended to test the functionality of OpenSimplexNoise.cs | |
* Attach this script to a GameObject with mesh (eg a Quad prefab). | |
* Texture is updated every frame to assist profiling for performance. | |
* Using a RenderTexture should perform better, however using a Texture2D | |
* as an example makes this compatible with the free version of Unity. | |
* |