If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
/* License MIT */ | |
var spawn = require( 'child_process' ).spawn, | |
colors = require( 'colors' ); | |
/* | |
Executes a command and fires event when done that | |
will return the command output | |
*/ | |
function system( cmd ){ |
# Date Created 2013-01-02 | |
# Adapted from http://www.cs.swarthmore.edu/~newhall/unixhelp/howto_makefiles.html | |
# License MIT | |
# | |
# 'make depend' uses makedepend to automatically generate dependencies | |
# (dependencies are added to end of Makefile) | |
# 'make' build executable file 'mycc' | |
# 'make clean' removes all .o and executable files | |
# |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
#include <iostream> | |
using namespace std; | |
/* This function uses a trick with templates | |
to determine the size of the array */ | |
template <class T,size_t size> | |
size_t arr_size( T(&)[size] ){ | |
return size; |
/* who would do this ? , its insane */ | |
#ifdef DEBUG | |
#define DMLog(...) NSLog(@"%s%@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__]) | |
#else | |
#define DMLog(...) do { } while (0) | |
#endif |
/* This is the observables.js library for your convenience */ | |
(function (exports) { | |
"use strict"; | |
var Observable, OnAnyChange; | |
OnAnyChange = function(properties, callback) { | |
var five = require( 'johnny-five' ), | |
board, | |
narf = require( 'narf' ); | |
board = new five.Board(); | |
/* | |
Executes a command and fires event when done that | |
will return the command output | |
*/ |
#include <stdio.h> | |
/* NOTE: | |
arr = refers to the array as a whole and/or the pointer to the first element of the array | |
*arr = first element of an array | |
*/ | |
int main( int argc, char** argv ){ |
var mysql = require( 'mysql' ); | |
var connection_details = { | |
host : 'localhost', | |
user : 'root', | |
password : 'password', | |
database : 'databasename' | |
}; |
.lit{ | |
background:#55ee55; | |
} | |
.table-restrict { | |
width:18em; | |
height:18em; |