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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
(flycheck-define-checker fsharp-check | |
;; Lazy command - run compiler in module mode | |
:command ("fsc" "--target:module" source) | |
;; /path/to/X.fs(7,23): error FS0001: This expression was expected to have type\n | |
;; int -> int option\n | |
;; but here has type\n | |
;; int\n | |
;; \n | |
;; TODO: better indentation below |
/* | |
Copyright 2016 Brian C. Beckman | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
typedef char C;typedef long I; | |
typedef struct a{I t,r,d[3],p[2];}*A; | |
#define P printf | |
#define R return | |
#define V1(f) A f(w)A w; | |
#define V2(f) A f(a,w)A a,w; | |
#define DO(n,x) {I i=0,_n=(n);for(;i<_n;++i){x;}} | |
I *ma(n){R(I*)malloc(n*4);}mv(d,s,n)I *d,*s;{DO(n,d[i]=s[i]);} | |
tr(r,d)I *d;{I z=1;DO(r,z=z*d[i]);R z;} | |
A ga(t,r,d)I *d;{A z=(A)ma(5+tr(r,d));z->t=t,z->r=r,mv(z->d,d,r); |
I wrote this answer on stackexchange, here: https://stackoverflow.com/posts/12597919/
It was wrongly deleted for containing "proprietary information" years later. I think that's bullshit so I am posting it here. Come at me.
Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release?
create 0 | |
' lit , 1 1 - , ' exit , | |
create 2 | |
' lit , 1 1 + , ' exit , | |
create 3 | |
' lit , 2 1 + , ' exit , | |
create 4 |