You can run this program on any LMC emulator, such as http://peterhigginson.co.uk/LMC/
LMC, which stands for Little Man Computer is a model of a computer, used to teach students how CPUs work. Read More.
{ | |
"Aberavon": [ | |
{ | |
"name": "(LAB)", | |
"votes": 15416, | |
"share": 0.48 | |
}, | |
{ | |
"name": "(UKIP)", | |
"votes": 4971, |
var obj = { | |
child : { | |
a : '0', | |
b : '2' | |
} | |
}; | |
var extra = { | |
b : '3' | |
}; |
class Greeter { | |
name; | |
constructor(name) { | |
this.name = name; | |
} | |
greet() { | |
return `Hello, ${this.name}`; | |
} |
You can run this program on any LMC emulator, such as http://peterhigginson.co.uk/LMC/
LMC, which stands for Little Man Computer is a model of a computer, used to teach students how CPUs work. Read More.
<?php | |
/** | |
* | |
* Nathaniel Higgins | |
* | |
* Add some easy helpers for adding named routes | |
* | |
* Use as follows: | |
* | |
* get('/', named('home', 'HomeController@index')); |
# All this code is in one file for simplicity. It wouldn't normally be. | |
# | |
# This code makes advanced use of classes and regular expressions. | |
# Good luck with it. | |
# Let me know if there's anything you can't understand. | |
# | |
# Oh it also used list comprehensions. Enjoy those. | |
import re |
Before installing this JRE, you have to install the linux binary compatibility on FreeBSD, you can follow this documentation. Jave requires some information about the proc. You have to mount linprocfs, type:
kldload linprocfs
mount -t linprocfs linprocfs /compat/linux/proc
and add this line to /etc/fstab:
linprocfs /compat/linux/proc linprocfs rw 0 0
/// <reference path="./typings/node/node.d.ts" /> | |
import http = require('http'); | |
/** | |
* Takes a value from one middleware, and passes it to the next. | |
* | |
* If there is no next middleware, it returns the value to the middleware consumer | |
*/ | |
interface MiddlewareDoneFunction<T> { |
Example:
HTML:
<form id="myForm">
<label for="PermissionsWrite">Write</label>
<input id="PermissionsWrite" type="checkbox" name="data[Permissions][]" value="Write" checked />
Read
.no-select, .no-select * { | |
-webkit-user-select: none; | |
} | |
.selectable, .selectable * { | |
-webkit-user-select: all: | |
} |