tmux
is a better and more modern screen
alternative.
When refering to PREFIX
, it usually is CTRL + B
. This can be edited in the tmux config.
Create session
tmux new -s <name>
Attact to session
tmux a -t <name>
I hereby claim:
To claim this, I am signing this object:
Usage:
withHotKeys({ new: "alt+n" }, { new: props => event => console.log(props, event) })(...)
Useful to use with recompose.
ag
): Fast code searchingpgcli
: Better Postgres CLI (syntax highlighting + auto-completion)export class FirestoreBatcher { | |
batches = []; | |
index = 0; | |
constructor(firestore) { | |
this.firestore = firestore; | |
} | |
getNext() { | |
if (this.index++ % 500 === 0) { |
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) |
Dockerfile | |
node_modules |
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); |
class LoginScreen extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text("Login"), | |
), | |
body: Center( | |
// Login button |