This is a list of things you need to accomplish to start up a new React project.
- Run
git init
? - Run
npm init
? - Created
.gitignore
? - Made sure
node_modules
is in.gitignore
? - Installed React?
npm install react --save
# CHIP-8 emulator, work in progress | |
# RAM array: 4 kilobytes (4096 unsigned 8-bit integers). First 512 elements are taken up by the interpreter, 0x200 to 0xFFF are free. | |
ram = bytearray(4096) | |
# Variable registers: 16 8-bit variable registers. Referred to as VX, where X is a hexadecimal digit (V0, VF, etc.) | |
v = bytearray(16) # VX = v[x], where x is a number between 0 and 15 (corresponding to 0 through F) |
-- The results of Joins are equivalent to everything that evaluates to true in these comparisons: | |
-- INNER JOIN: | |
-- "A && B" == "A and also B" | |
-- FULL JOIN: | |
-- "A || B" == "A or B or both" | |
-- LEFT JOIN: | |
-- "A || (A && B)" == "A with or without B" |
nerve-gulpfile () { | |
echo "// using https://github.com/gulpjs/gulp/blob/master/docs/recipes/fast-browserify-builds-with-watchify.md | |
var gulp = require('gulp'); | |
// browserify + watchify | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
// other stuff for watchify | |
var source = require('vinyl-source-stream'); |
/*global describe, it */ | |
'use strict'; | |
(function () { | |
describe('Chip8', function () { | |
describe('RAM', function () { | |
it('has 4096 bytes', function () { | |
expect(Chip8.ram.length).toEqual(4096); |
This is a template for a new pull request (PR). There are particular expectations upon engineers for communicating their changes to reviewers in a proper and useful manner. This template intends to make this as easy as possible and to reduce the amount of times that a reviewer has to go over the PR.
**References [ticket-name](ticket-link).**
### Original Problem
api_test_from_scratch () { | |
RAILS_ENV=test ruby test/create_test_databases.rb | |
RAILS_ENV=test bundle exec rake db:test:prepare | |
RAILS_ENV=test bundle exec rake db:schema:load | |
RAILS_ENV=test bundle exec rake test $1 | |
} | |
api_test_from_scratch TEST=./test/controllers/heartbeat_controller_test.rb |
------------------------------------------------------------------------------- | |
§6-1-2 Timbre - SSG Sound Source Options | |
------------------------------------------------------------------------------- | |
The MML compiler has 10 built-in envelopes for the SSG sound source, applicable with the E command. | |
The following envelopes are available: | |
@0 E0,0,0,0 Default | |
@1 E2,-1,0,1 Synth type 1 | |
@2 E2,-2,0,1 Synth type 2 |
(ns libwar.domain) | |
;; Domain data structures and knowledge for war. | |
;; A War game | |
;; War has two players, and current state. | |
(def war-example | |
{:p1 {:deck [{:type :red |