Treat git log as a book, exec git next
or git prev
to checkout the next or the previous commit.
Please check hutusi/git-paging for updates.
/* | |
* Abstraction.js 2020 Edition | |
* | |
* Copyright (c) 2020 "Cowboy" Ben Alman | |
* Licensed under the MIT license. | |
* http://benalman.com/about/license/ | |
*/ | |
let $elseif, $else, $if = state => state ? ( | |
$elseif = () => () => {}, |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Place in ~/Library/LaunchAgents/ --> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.ldaws.CapslockEsc</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/hidutil</string> |
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var elements = document.body.getElementsByTagName('*'); | |
var items = []; | |
for (var i = 0; i < elements.length; i++) { | |
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
items.push(elements[i]); | |
} | |
} |
Treat git log as a book, exec git next
or git prev
to checkout the next or the previous commit.
Please check hutusi/git-paging for updates.
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
// void operator | |
void 0 // returns undefined | |
void (0) // returns undefined | |
void 'abc' // returns undefined | |
void {} // returns undefined | |
void (1 === 1) // returns undefined | |
void (1 !== 1) // returns undefined | |
void anyfunction() // returns undefined | |
set ignorecase | |
set smartcase | |
set scrolloff=3 " 3 lines above/below cursor when scrolling | |
" Emulated Plugins | |
set surround | |
" set easymotion | |
set NERDTree | |
" Copy to system clipboard as well |
-- Actions --- | |
$Copy <C-C> <C-Ins> | |
$Cut <C-X> <S-Del> | |
$Delete <Del> | |
$LRU | |
$Paste <C-V> <S-Ins> | |
$Redo <C-S-Z> <A-S-BS> | |
$SearchWeb | |
$SelectAll <C-A> | |
$Undo <C-Z> <A-BS> |