Skip to content

Instantly share code, notes, and snippets.

View ChoiZ's full-sized avatar

François LASSERRE ChoiZ

View GitHub Profile
@ChoiZ
ChoiZ / 81-thinkpad-dock.rules
Created November 1, 2017 10:26 — forked from seanf/81-thinkpad-dock.rules
Example ThinkPad docking script for multi-monitor
# Save this file (after modifying ID_VENDOR and ID_MODEL if necessary) as /etc/udev/rules.d/81-thinkpad-dock.rules
# These values seem to work for "ThinkPad Mini Dock Plus Series 3"
SUBSYSTEM=="usb", ACTION=="add|remove", ENV{ID_VENDOR}=="17ef", ENV{ID_MODEL}=="100a", RUN+="/etc/sbin/thinkpad-dock.sh"
@ChoiZ
ChoiZ / gist:9aa5bd492ef61871fe5e
Created March 14, 2016 09:11 — forked from j3j5/gist:8b3e48ccad746b90a54a
Adyen Test Card Numbers
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
06/2016 OR 08/2018 737 7373
@ChoiZ
ChoiZ / tmux-cheatsheet.markdown
Created December 11, 2015 09:58 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@ChoiZ
ChoiZ / vim.md
Last active August 29, 2015 14:00 — forked from mattratleph/vimdiff.md
Vim Diff / Visual Block

vim cheat sheet

##vimdiff commands

]c :        - next difference
[c :        - previous difference
do          - diff obtain
dp          - diff put
zo          - open folded text

zc - close folded text

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

ace.require("ace/lib/net").loadScript("https://raw.github.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() {
e = document.getElementById("ace-editor").env.editor;
e.setKeyboardHandler(ace.require("ace/keyboard/vim").handler);
})