Skip to content

Instantly share code, notes, and snippets.

@wilfreddenton
wilfreddenton / nft-pp.html
Last active March 23, 2023 14:44
Twitter style nft profile picture CSS+SVG
<style>
#pic {
background-image: url('<your image url>');
background-position: center, center;
background-size: cover;
width: 100%;
height: 100%;
}
#hex {
@wilfreddenton
wilfreddenton / init.lua
Last active March 23, 2023 01:03
nvim lua config
-- deps: ripgrep, packer.nvim
-- packer
vim.cmd [[packadd packer.nvim]]
require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
use {
@wilfreddenton
wilfreddenton / .tmux.config
Last active March 16, 2023 00:23
tmux config
# deps: tpm
# colors
set -g default-terminal "screen-256color"
# remap prefix
set -g prefix C-w
unbind C-b
bind-key C-w send-prefix
@wilfreddenton
wilfreddenton / .bashrc
Last active March 15, 2023 03:05
bash configuration
# deps: fzf
# utf-8
export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* to hide the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* #tabbrowser-tabs, #navigator-toolbox, menuitem, menu, ... */
* {

Bitfinessed

Timeline

August 02, 2016

Bitfinex is hacked for ~70 million, ~36% of their user's assets. Only some user's are affected [[3]].

August 06, 2016

@wilfreddenton
wilfreddenton / github_guide.md
Last active October 14, 2017 23:59
A quickstart guide for github
@wilfreddenton
wilfreddenton / init.vim
Created December 20, 2016 18:44
My neovim config file
set number
nnoremap <C-p> :FZF<CR>
call plug#begin('~/.local/share/nvim/plugged')
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-go', { 'do': 'make'}
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
var Ripples = function (initialState, setStateCallback) {
this.state = initialState;
this.events = {};
this.eventTargets = {};
this.setStateCallback = setStateCallback;
for (var key in this.state) {
var eventName = 'ripple' + key;
this.events[eventName] = new Event(eventName);
this.eventTargets[eventName] = [];
}