Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Availability and quality of developer tools are an important factor in the success of a programming language. C/C++ has remained dominant in the systems space in part because of the huge number of tools tailored to these lanaguages. Succesful modern languages have had excellent tool support (Java in particular, Scala, Javascript, etc.). Finally, LLVM has been successful in part because it is much easier to extend than GCC. So far, Rust has done pretty well with developer tools, we have a compiler which produces good quality code in reasonable time, good support for debug symbols which lets us leverage C++/lanaguge agnostic tools such as debuggers, profilers, etc., there are also syntax highlighting, cross-reference, code completion, and documentation tools.
In this document I want to layout what Rust tools exist and where to find them, highlight opportunities for tool developement in the short and long term, and start a discussion about where to focus our time an
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
var driveQuery = new ManagementObjectSearcher("select * from Win32_DiskDrive"); | |
foreach (ManagementObject d in driveQuery.Get()) | |
{ | |
var deviceId = d.Properties["DeviceId"].Value; | |
//Console.WriteLine("Device"); | |
//Console.WriteLine(d); | |
var partitionQueryText = string.Format("associators of {{{0}}} where AssocClass = Win32_DiskDriveToDiskPartition", d.Path.RelativePath); | |
var partitionQuery = new ManagementObjectSearcher(partitionQueryText); | |
foreach (ManagementObject p in partitionQuery.Get()) | |
{ |
/** | |
* Read an EBML tag header or length and return their respective values into | |
* single numbers. | |
* | |
* @example | |
* var tagHeader = new Uint8Array([0x1A, 0x45, 0xDF, 0xA3, 0x01, 0x00, 0x00, | |
* 0x00, 0x00, 0x00, 0x00, 0x1F]); | |
* var tagId = readVariableInt(tagHeader, 4, 0); | |
* console.log('The current tag ID is: ', tagId.value, ', skipping ', tagId.size, ' bytes.'); | |
* // The current tag ID is: 172351395, skipping 4 bytes. |
FROM node | |
RUN apt-get update && \ | |
apt-get install -y xvfb libgtk2.0-0 libxtst-dev libxss-dev libgconf2-dev \ | |
libnss3 libasound2-dev && \ | |
apt-get clean | |
RUN npm install webtorrent-hybrid -g | |
RUN mkdir work | |
WORKDIR work | |
CMD webtorrent-hybrid download \ | |
e14cef00945a8d99dc74d65cf52dcb892cf48ed1 \ |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
Method | Side effects1 | State updates2 | Example uses |
---|---|---|---|
Mounting | |||
componentWillMount |
✓ | Constructor equivalent for createClass |
|
render |
Create and return element(s) | ||
componentDidMount |
✓ | ✓ | DOM manipulations, network requests, etc. |
Updating | |||
componentWillReceiveProps |
✓ | Update state based on changed props |