12 karma · joined May 21, 2013 (13y ago) · 6 submissions
comment 12y ago · link · parent
3.
Bitbucket Outage(status.bitbucket.org ↗)
12 points · by Rodeva · 12y ago · 5 comments
comment 12y ago · link · parent
http://www.name.com/blog/general/security/2012/12/our-vp-of-...
comment 12y ago · link · parent
Octopress bare repo: https://github.com/rodeva/octopress-dokku-bare
Dokku fork for Jekyll and Octopress: https://github.com/rodeva/dokku
comment 13y ago · link · parent
A simple example can be done by writing a single function in the root scope or some global function (javascript)
function assert(assertion, description) { if(!assertion) { console.log(description); //could also have other application error handling code } }
Then in a function in your application:
function myFunc() { var x = 1; assert(x == 1, "x does not equal 1 in myFunc()“);
\\Continue code... }
This is obviously a very simple example and can definitely be iterated upon, but it gets the basic point across and I'm on my phone so writing code isn't the easiest :-P
Some systems have something like this built in, such as node which has more features.