Instance | Branch |
---|
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
<div class="control-group"> | |
<label for="dob-day" class="control-label">Date of birth</label> | |
<div class="controls"> | |
<select name="dob-day" id="dob-day"> | |
<option value="">Day</option> | |
<option value="">---</option> | |
<option value="01">01</option> | |
<option value="02">02</option> | |
<option value="03">03</option> | |
<option value="04">04</option> |
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
#include "DFA.h" | |
#include <stdlib.h> | |
#include <string.h> | |
void dfa_makeNextTransition(DFA* dfa, char c) | |
{ | |
int transitionID; | |
DFAState* pCurrentState = dfa->states[dfa->currentStateID]; | |
for (transitionID = 0; transitionID < pCurrentState->numberOfTransitions; transitionID++) | |
{ |
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
# Installing Node/NPM | |
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
An explanation of JavaScript's pass-by-value, which is unlike pass-by-reference from other languages.
- JavaScript has 2 kinds of variable types: primitive and reference.
- A fixed amount of memory is reserved after creation of every variable.
- When a variable is copied, it's in-memory value is copied.
- Passing a variable to a function via a call also creates a copy of that variable.