I hereby claim:
- I am rush on github.
- I am rushpl (https://keybase.io/rushpl) on keybase.
- I have a public key ASBSqVg6ydnTE-NIgaCHSJNYvcEJWypd4WLHN-EunskoTQo
To claim this, I am signing this object:
| using System.Diagnostics; | |
| using System; | |
| class Program | |
| { | |
| public static bool IsRunningOnMono() | |
| { | |
| return Type.GetType ("Mono.Runtime") != null; | |
| } |
| #include <thread> | |
| #include <fstream> | |
| #include <vector> | |
| #include <chrono> | |
| #include <sys/stat.h> | |
| #include <iostream> | |
| #include <atomic> | |
| long file_size(const char* file) | |
| { |
| /* | |
| Issue joyent/node#7733 | |
| run this on a remote server and do on your local machine (I have 40ms lag to my server) | |
| you need this image file: | |
| http://x.rushbase.net/da39a3ee5e6b4b0d3255bfef95601890afd80709/codecharm-white.png | |
| wget --no-check-certificate https://yourserver.net:63000/codecharm-white.png | |
| this should yield error on node 0.11.11 and upper and works well o node 0.11.10: |
I hereby claim:
To claim this, I am signing this object:
| import { decorate } from 'core-decorators'; | |
| import * as memoize from 'memoizee'; | |
| import { duration, unitOfTime } from 'moment'; | |
| import { memoizeObservable } from './rxjs'; | |
| type HumanDuration = [number, unitOfTime.DurationConstructor]; | |
| export interface MemoizeOptions extends memoize.Options { | |
| observable?: boolean; | |
| ttl?: HumanDuration; |
| { | |
| "error": "Invalid version" | |
| } |