I hereby claim:
- I am pheew on github.
- I am pheew (https://keybase.io/pheew) on keybase.
- I have a public key ASCD44PZcquo_5A8x379fSfN-LgTqjIXsXoiNS__P3n6Fwo
To claim this, I am signing this object:
Object.defineProperty(Error.prototype, 'toJSON', { | |
value: function () { | |
var alt = {}; | |
Object.getOwnPropertyNames(this).forEach(function (key) { | |
alt[key] = this[key]; | |
}, this); | |
return alt; | |
}, |
import * as React from 'react' | |
import { Persistor, persistStore } from 'redux-persist' | |
import { PersistGate } from 'redux-persist/integration/react' | |
const WithPersistGate = (Component) => (props) => { | |
if (!props.store.persistor) { | |
props.store.persistor = persistStore(props.store) | |
} | |
return ( |
I hereby claim:
To claim this, I am signing this object:
2.6.0 | |
v0.12.0 | |
{ http_parser: '2.3', | |
node: '0.12.0', | |
v8: '3.28.73', | |
uv: '1.4.0', | |
zlib: '1.2.8', | |
modules: '14', | |
openssl: '1.0.2' } | |
linux |
#!/bin/sh | |
# | |
# redis - this script starts and stops the redis-server daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Redis is a persistent key-value database | |
# processname: redis-server | |
# config: /etc/redis/redis.conf | |
# config: /etc/sysconfig/redis | |
# pidfile: /var/run/redis.pid |
WalkTree(repo.HEAD.Commit.Tree); // Walk the main tree from HEAD | |
WalkTree(((Commit)repo.Tags["v0.1"].Object).Tree); // Walk the tree referenced by a tagged commit | |
private void WalkTree(Tree tree) | |
{ | |
Console.WriteLine(tree.Path); | |
foreach (TreeNode n in tree.Children) | |
{ | |
if (n.IsBlob) |
WalkHistory(repo.HEAD.Commit); // Walk history from HEAD | |
WalkHistory(repo.Branches["experimental"].Commit); // Walk history from branch | |
private void WalkHistory(Commit commit) | |
{ | |
Console.WriteLine("SHA: " + commit.SHA); | |
Console.WriteLine("Committed on: " + commit.CommittedDate); | |
Console.WriteLine("By: " + commit.Committer); | |