This file contains 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
function ,() { | |
local dir="." | |
local search="." | |
# todo: check for fzf, rg, bat, tree, and fd. | |
if [ -n "$1" ]; then | |
if test -f $1; then | |
$EDITOR $1 | |
return |
This file contains 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
var generic = ['.aero', '.asia', '.biz', '.cat', '.com', '.coop', '.info', '.int', '.jobs', '.mobi', '.museum', '.name', '.net', '.org', '.pro', '.tel', '.travel', '.xxx']; | |
var us = ['.edu', '.gov', '.mil']; | |
var a = ['.ac', '.ad', '.ae', '.af', '.ag', '.ai', '.al', '.am', '.an', '.ao', '.aq', '.ar', '.as', '.at', '.au', '.aw', '.ax', '.az']; | |
var b = ['.ba', '.bb', '.bd', '.be', '.bf', '.bg', '.bh', '.bi', '.bj', '.bm', '.bn', '.bo', '.br', '.bs', '.bt', '.bv', '.bw', '.by', '.bz']; | |
var c = ['.ca', '.cc', '.cd', '.cf', '.cg', '.ch', '.ci', '.ck', '.cl', '.cm', '.cn', '.co', '.cr', '.cs', '.cu', '.cv', '.cx', '.cy', '.cz']; | |
var d = ['.dd', '.de', '.dj', '.dk', '.dm', '.do', '.dz']; | |
var e = ['.ec', '.ee', '.eg', '.eh', '.er', '.es', '.et', '.eu']; | |
var f = ['.fi', '.fj', '.fk', '.fm', '.fo', '.fr']; | |
var g = ['.ga', '.gb', '.gd', '.ge', '.gf', '.gg', '.gh', '.gi', '.gl', '.gm', '.gn', '.gp', '.gq', '.gr', '.gs', '.gt', '.gu', '.gw', '.gy']; | |
var h = ['.hk', '.hm', '.hn', '.hr', '.ht', '.hu']; |
This file contains 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
--------------------------------------------------------------- | |
~/.mutt/muttrc | |
--------------------------------------------------------------- | |
color hdrdefault cyan default | |
color attachment yellow default | |
color header brightyellow default "From: " | |
color header brightyellow default "Subject: " | |
color header brightyellow default "Date: " |
This file contains 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
; nasm -f elf64 yes.asm | |
; gcc -o yes yes.o | |
; ./yes | pv -a > /dev/null | |
global main | |
section .text | |
main: | |
mov rdi, 1 | |
mov rsi, msg |
This file contains 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
() => { | |
const x = 'JiYoKCUnJSdCQQ==' | |
const s = atob(x).split('').map(c => c.charCodeAt(0)) | |
let p = 0 | |
document.addEventListener('keyup', ({keyCode}) => { | |
p += (s[p] == keyCode) ? 1 : -p | |
if (p === 10) { | |
console.log('ACTIVATED') |
This file contains 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
# this is the root | |
root = true | |
# universal settings | |
[*] | |
# tabs | |
indent_style = space | |
indent_size = 4 |
This file contains 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
" ------------------------------------------------------------------------------- | |
" - unite | |
" ------------------------------------------------------------------------------- | |
let g:unite_source_history_yank_enable = 1 | |
let g:unite_data_directory='~/.vim/.cache/unite' | |
let g:unite_source_rec_max_cache_files=50000 | |
let g:unite_enable_start_insert = 1 | |
let g:unite_split_rule = "botright" | |
let g:unite_force_overwrite_statusline = 0 |
This file contains 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
--langdef=extendscript | |
--langmap=extendscript:.jsx | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*\{/\5/,object/ | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*function[ \t]*\(/\5/,function/ | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*\[/\5/,array/ | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*[^"]'[^']*/\5/,string/ | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*(true|false)/\5/,boolean/ | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*[0-9]+/\5/,number/ | |
--regex-extendscript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*.+([,;=]|$)/\5/,variable/ |
This file contains 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
#!/bin/sh | |
echo 'git submodules...' | |
git submodule --quiet init | |
git submodule --quiet update | |
echo 'vim...'; cp ./vimrc ~/.vimrc | |
rm -rf ~/.vim | |
if [ ! -d ~/.vim/ ]; then |
This file contains 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
<tr> | |
<td> | |
<table border="0" class="comment-table" level="1" id="5293602"> | |
<tbody> | |
<tr> | |
<td style="border-right-width: 2px; border-right-style: solid; border-right-color: rgb(255, 102, 0);"><img src="/sslyc/images/s.gif" height="1" width="40" /></td> | |
<td valign="top"> | |
<center> | |
<a id="up_5293602" onclick="return vote(this)" href="vote?for=5293602&dir=up&by=&auth="> | |
<div class="up-arrow"></div> |
NewerOlder