Skip to content

Instantly share code, notes, and snippets.

View Starsign68's full-sized avatar
🇺🇦
#StandWithUkraine

Starsign68 Starsign68

🇺🇦
#StandWithUkraine
View GitHub Profile
https://raw.githubusercontent.com/alwei/dotfiles/3760650625663f3b08f24bc75762ec843ca7e112/.vimrc
https://raw.githubusercontent.com/anekos/my-config/0afcd78455743a4d3fad31674136428052dc6ebe/.vimrc
https://raw.githubusercontent.com/sigwyg/dotfiles/8c70c4032ebad90a8d92b76b1c5d732f28559e40/.vimrc
https://raw.githubusercontent.com/basyura/vimfiles/ee086f25b8c58b8ea6bf025d26ebc11ae50e6ca1/rc/vimrc
https://raw.githubusercontent.com/osyo-manga/vimrc/9ef0ca9757abcdaa11c76024aa551f0b473624bf/vimrcs/default/vimrc
https://raw.githubusercontent.com/rhysd/dotfiles/8228ebaeab0e022ee7161d0eb9fc633876b0be41/vimrc
https://raw.githubusercontent.com/ebc-2in2crc/vimrc/f1ed88bf0d3668ebf8d702def40625d435f545cd/_vimrc
https://raw.githubusercontent.com/rbtnn/reading-vimrc/a92dae61200f50bd771f3a30c4f5fa06738c9aac/.vimrc
https://raw.githubusercontent.com/ujihisa/config/8c513ac93429e27ce27e6020a7d48e728b809169/_vimrc
https://gist.githubusercontent.com/thinca/3675965/raw/5739da5abedef838ed49b8328d9b29e3dd78bed4/bundle.vim
@Starsign68
Starsign68 / .vimrc
Last active May 27, 2021 01:10
Minimal VIMRC
" +=========================+
" | 2021-05-26 | Starsign68 |
" +=========================+
let mapleader = " "
let localleader = ''
let g:netrw_banner = 0
let g:netrw_liststyle = 0
set termencoding=utf-8
let g:doSmartTab='N'
" {{{{STATUSLIME}
@Starsign68
Starsign68 / .vimrc
Created May 28, 2021 01:25
My best one yet
echo("| 2021-05-26 | Starsign68 |")
let mapleader = " "
let localleader = ''
let g:netrw_banner = 0
let g:netrw_liststyle = 0
set termencoding=utf-8
let g:doSmartTab='N' " {{{{STATUSLIME_START}
let g:currentmode = { 'n': 'NORMAL', 'no': 'N·OP·PEND', 'v': 'VISUAL', 'V': 'V·LINE', '': 'V·BLOCK', 's': 'SELECT', 'S': 'S·LINE', '': 'S·BLOCK', 'i': 'INSERT', 'R': 'REPLACE', 'Rv': 'V·REPLACE', 'c': 'COMMAND', 'cv': 'VIM EX', 'ce': 'EX', 'r': 'PROMPT', 'rm': 'MORE', 'r?': 'CONFIRM', '!': 'SHELL', 't': 'TERMINAL'}
let g:modegroups = { 'n': 'NORMAL', 'no': 'NORMAL', 'v': 'VISUAL', 'V': 'VISUAL', '': 'VISUAL', 's': 'OTHER', 'S': 'OTHER', '': 'OTHER', 'i': 'INSERT', 'R': 'INSERT', 'Rv': 'INSERT', 'c': 'OTHER', 'cv': 'OTHER', 'ce': 'OTHER', 'r': 'OTHER', 'rm': 'OTHER', 'r?': 'OTHER', '!': 'OTHER', 't': 'OTHER'}
function! Modetheme(group)
@jakedahn
jakedahn / readability.js
Created March 16, 2011 08:28
Readability.js
/*jslint undef: true, nomen: true, eqeqeq: true, plusplus: true, newcap: true, immed: true, browser: true, devel: true, passfail: false */
/*global window: false, readConvertLinksToFootnotes: false, readStyle: false, readSize: false, readMargin: false, Typekit: false, ActiveXObject: false */
var dbg = (typeof console !== 'undefined') ? function(s) {
console.log("Readability: " + s);
} : function() {};
/*
* Readability. An Arc90 Lab Experiment.
* Website: http://lab.arc90.com/experiments/readability
@adalbertovargas
adalbertovargas / utils.js
Created April 24, 2018 02:13
JS Utilities
/**
* Slugify text
*
* @param string text String to transform
* @return string trasnformed string
*/
function slugify(text){
return text.toString().toLowerCase()
@rob-kistner
rob-kistner / domTools.js
Last active July 7, 2021 19:19
Javascript Utilities
/* ----------------------------------------
domTools.js
A number of wrapper and shortcut functions
meant to imitate features of jquery and
otherwise simplifying their vanilla js counterparts
without the jquery overhead.
---------------------------------------- */
// aliases
@Deepak13245
Deepak13245 / utils.js
Last active July 7, 2021 19:22
Few js utilities
async function measure(promise) {
const start = Date.now();
try {
const result = await promise;
return result;
} catch(e) {
throw e;
} finally {
const time = Date.now() - start;
console.log(`Time taken ${time} ms`);
@LucaRosaldi
LucaRosaldi / utils.js
Last active July 7, 2021 19:22
JS: utilities module
/**
* Check if passed argument is a callable function.
*
* @param {Callable} func
* @return {Boolean}
*/
export function isFunction( func ) {
return func && {}.toString.call( func ) === '[object Function]';
}
@beeFlaherty
beeFlaherty / utilities.js
Last active July 7, 2021 19:23
Javascript utilities
'use strict';
//Here's the basic JavaScript debounce function (as taken from Underscore.js):
// Returns a function, that, as long as it continues to be invoked, will not
// be triggered. The function will be called after it stops being called for
// N milliseconds. If `immediate` is passed, trigger the function on the
// leading edge, instead of the trailing.
function debounce(func, wait, immediate) {
var timeout;
@ghoullier
ghoullier / dom.js
Created June 12, 2014 14:16
DOM Utilities
;(function(root, name, factory) {
var exports = factory(root);
// AMD
if (typeof define == 'function' && define.amd) {
return define(exports);
}
// CommonJS
if (typeof module !== 'undefined' && module.exports) {
module.exports = exports;
}