I hereby claim:
- I am cretezy on github.
- I am cretezy (https://keybase.io/cretezy) on keybase.
- I have a public key ASDCcHC4gAtfkgUsunkH6TV5kFoCD41eVYW6JtkKzmjq1Qo
To claim this, I am signing this object:
| import 'package:flutter_super_state/flutter_super_state.dart'; | |
| final store = Store(); | |
| // Register modules. Order does not matter. You should register all modules on initialization | |
| CounterModule(store); |
| import 'package:flutter_super_state/flutter_super_state.dart'; | |
| // Modules extend `StoreModule` | |
| class CounterModule extends StoreModule { | |
| // Read only property, to avoid accidentally setting `counter` without calling `setState` | |
| int get counter => _counter; | |
| var _counter = 0; | |
| // This automatically registers your module to your store | |
| CounterModule(Store store): super(store); |
| Dockerfile | |
| node_modules |
I hereby claim:
To claim this, I am signing this object:
| import crypto from "crypto"; | |
| const separator = ":"; | |
| export function sign(content, secret) { | |
| const signature = generateSignature(content, secret); | |
| return { | |
| signature, | |
| content, | |
| signedContent: join(content, signature) |
| export class FirestoreBatcher { | |
| batches = []; | |
| index = 0; | |
| constructor(firestore) { | |
| this.firestore = firestore; | |
| } | |
| getNext() { | |
| if (this.index++ % 500 === 0) { |
ag): Fast code searchingpgcli: Better Postgres CLI (syntax highlighting + auto-completion)Usage:
withHotKeys({ new: "alt+n" }, { new: props => event => console.log(props, event) })(...)
Useful to use with recompose.
I hereby claim:
To claim this, I am signing this object:
Simply add this snippet...
export XDG_RUNTIME_DIR="/run/user/$UID"
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"...to .bashrc or .zshrc or any file ran on login.