Skip to content

Instantly share code, notes, and snippets.

@dadaphl
dadaphl / init.vim
Last active February 10, 2021 20:36
"𝔯𝔬𝔣𝔩
set nocompatible
set clipboard=unnamedplus
filetype off
call plug#begin('~/.config/nvim/plugged')
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
Plug 'felipec/notmuch-vim'
Plug 'pangloss/vim-javascript'
Plug 'scrooloose/nerdtree'
Plug 'mustache/vim-mustache-handlebars'
"𝔯𝔬𝔣𝔩
set nocompatible
set clipboard=unnamed
filetype off
" set rtp+=~/.vim/bundle/vundle.vim
set rtp+=/usr/local/opt/fzf
call plug#begin('~/.vim/plugged')
" call vundle#begin()
"Plugin 'valloric/youcompleteme'
" Plugin 'gmarik/vundle.vim'
set -g default-command "reattach-to-user-namespace -l zsh"
#set-option -g status-utf8 on
unbind C-b
set -g prefix C-q
bind C-q send-prefix
#bind-key -n C-b send-prefix
set -g base-index 1
#set-window-option -g xterm-keys on
did:muport:QmNtfkx1adNAgcCGnuMpRYBevXZE5uCH3S9GZpwLVR7oAA
var lightwallet = require('eth-lightwallet')
var password = ''
var seedPhrase = "fatal already jacket nose acid young shuffle gaze angry always copper huge"
var hdPathString = "m/44'/60'/0'/0"
var msg = "this is a message";
// verify here:
// https://www.myetherwallet.com/signmsg.html
var signatureFromMyEtherWallet =
{

Keybase proof

I hereby claim:

  • I am dadaphl on github.
  • I am daphl (https://keybase.io/daphl) on keybase.
  • I have a public key ASCgCwqpNcbsIXTyKsCttOD11S0XNBdHOLly_StMoQeSuAo

To claim this, I am signing this object:

0x92e50fFf3e036a4674FE5b2Bc40Fe910777aDe85
0x58923c49B9CCEB2B1d2a13577c3ebA65E0d906a0
@dadaphl
dadaphl / docker-exec-all.sh
Created February 16, 2017 17:31
Opens tmux split for each running docker comtainer and executes command
#!/bin/bash
#
# Opens tmux split for each running docker comtainer and executes command:
# Example:
# docker-exec-all.sh top
#
tmux set -g pane-border-status top
for line in `docker ps --format '{{.ID}},{{.Names}}'`
do
IFS=,;
@dadaphl
dadaphl / LICENSE.txt
Created June 22, 2011 13:46 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE