This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make vimium behave like vimperator@firefox | |
map d removeTab | |
map ge previousTab | |
map gr nextTab | |
map u restoreTab | |
# Use smooth scrolling | |
# Use the link's name and numbers for link-hint filtering | |
# Don't let pages steal the focus on load |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Source: http://codepen.io/anon/pen/egrGVL - Captain Anononymous --> | |
<div class="timeline-container"> | |
<div class="timeline"> | |
<!-- TIMELINE PROGRESS BAR OUTER STROKE --> | |
<div class="progress-timeline-border "> | |
<!-- TIMELINE PROGRESS BAR --> | |
<div class="progress-timeline"> | |
<!-- CURRENT MILEAGE MARKER --> | |
<div class="timeline-marker" style="left: 125px"> | |
<div class="timeline-current-mileage"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container-fixed { | |
bottom: 0; | |
position: fixed; | |
left: 0; | |
right: 0; | |
top: 0; | |
} | |
.container-fixed .col { | |
height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* the following serialize and param methods are a version of zepto's | |
* https://github.com/madrobby/zepto/blob/601372ac4e3f98d502c707bf841589fbc48a3a7d/src/ajax.js#L344-L370 | |
* modified to use _ (tested on [email protected], should also work in underscore) | |
* to use with github's fetch: | |
fetch(urrl, { | |
method: 'post', | |
headers: { | |
'Accept': 'application/json', | |
'Content-Type': 'application/x-www-form-urlencoded' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"3.13.1 (created: 2016/05/04 01:34:00) | |
noremap e :emenu<Space> | |
noremap ge gT | |
noremap gr gt | |
noremap v :emenu<Space>Tools.Downloads<Return> | |
noremap xd :tabonly<Return>|:open<Space>about:blank<Return> | |
source! "C:\\Users\\windo\\_vimperatorrc.local" | |
" vim: set ft=vimperator: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://stackoverflow.com/questions/12064040/javascript-what-is-the-best-method-when-creating-chainable-functions - Olegas | |
function test() { | |
// when test() is called as a regular function | |
// it's `this` will be `undefined` (in strict mode) or will refer to a global object | |
// when test() is called with `new` operator | |
// it's `this` will be an instance of `test` object | |
if(!(this instanceof test)) { | |
// create a new object | |
return new test(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Suggestion for a communicatve act library for agent communication in Javascript. | |
// Initiator: | |
agent | |
.communication('cfp', 'initiator') | |
.recipient(adressOfResponder) | |
.cfp(function) | |
.onRefuse(function) | |
.onPropose(function) | |
.onFailure(function) |
NewerOlder