https://tmux.github.io/ <-- Tmux project
http://z.umn.edu/tmuxgist <-- this document!
Crtl-b c
Create a new windowCrtl-b <N>
Switch to window<N>
Crtl-b ?
List available keystrokesCrtl-b ,
Rename current window
Plug 'kablamo/vim-git-log' | |
Plug 'gregsexton/gitv' | |
Plug 'tpope/vim-fugitive' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'christoomey/vim-conflicted' | |
Plug 'mattn/webapi-vim' | |
Plug 'mattn/vim-gist' | |
" |
𝝀 ~/evl/project esy start 23s | |
info building [email protected]@d41d8cd9 | |
info building [email protected]@d41d8cd9: done | |
info building @opam/ocamlfind@opam:1.8.1@ff07b0f9 | |
info building @opam/ocaml-secondary-compiler@opam:4.08.1-1@ba28931b | |
info building @opam/ocamlbuild@opam:0.14.0@6ac75d03 | |
info building @opam/cmdliner@opam:1.0.4@93208aac | |
info building @opam/cmdliner@opam:1.0.4@93208aac: done | |
info building @opam/seq@opam:base@d8d7de1d | |
info building @opam/seq@opam:base@d8d7de1d: done |
https://tmux.github.io/ <-- Tmux project
http://z.umn.edu/tmuxgist <-- this document!
Crtl-b c
Create a new windowCrtl-b <N>
Switch to window <N>
Crtl-b ?
List available keystrokesCrtl-b ,
Rename current windowOnce upon a time there was a user that wanted to install firefox.
The user tried to do pacman -S firefox
but it didn't work. The all
mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz
could not
be found on his mirror. So the user tried pacman -Sy firefox
. It
worked and the user rejoiced since he could once again go and troll /h/.
But all was not good. The user had made a grave error!
See, when the user told the almighty pacman to -Sy firefox
, pacman did
reasonml/reason-react#407 (comment)
let inputRef = React.createRef();
<input ref={ReactDOMRe.Ref.domRef(inputRef)} type="text" />
If React.createRef is not available in your current version, simply use:
let inputRef = React.useRef(Js.Nullable.null);
<input ref={ReactDOMRe.Ref.domRef(inputRef)} type="text" />
In case that you want to convert Js.Nullable.t to option beforehand:
open Belt; | |
[@bs.deriving abstract] | |
type queryConfig('data, 'key, 'fnParamsFilter) = { | |
[@bs.optional] | |
retry: int, | |
[@bs.optional] | |
retryDelay: int, | |
[@bs.optional] | |
initialData: unit => 'data, |
/* https://api.github.com/users/ri7nz */ | |
open Relude.Globals; | |
// Define Error, that consume in IO (sideEffect) | |
module Error = { | |
type t = ReludeFetch.Error.t(string); | |
let show = error => ReludeFetch.Error.show(a => a, error); | |
module Type = { | |
type nonrec t = t; | |
} |
/* | |
* @see { https://codesandbox.io/s/belajar-xstate-ezf3z } | |
*/ | |
async function invokeFetchSubreddit(context) { | |
const { subreddit } = context; | |
const response = await fetch(`https://www.reddit.com/r/${subreddit}.json`); | |
const json = await response.json(); | |
console.log(json); | |
return json.data.children.map(child => child.data); |
# Static table lookup for hostnames. | |
# See hosts(5) for details | |
127.0.0.1 localhost.localdomain localhost | |
::1 localhost.localdomain localhost | |
# [OPENLOAD.CO] | |
104.16.166.50 openload.co www.openload.co | |
104.16.165.50 t1.openload.co | |
104.16.164.50 tt1.openload.co | |
104.16.164.50 api.openload.co |
This is the setup that I use for mutt, I have two google domain account (read as gmail) and an institution where I work and study account. This means I have two gmail accounts and one outlook 365 account that i want to sync and read via mutt.
I want to store all my email locally as I travel a lot and will be in countries without easy internet access. For this I use mbsync (iSync). As it can handle multiple account types easily and efficently.
The setup works this way
[Remote Mail Servers] <= mbsync => [Local Mail Folders]