Skip to content

Instantly share code, notes, and snippets.

🐫

ELLIOTTCABLE

🐫
Block or report user

Report or block ELLIOTTCABLE

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 1. tld_regex.js
// Test it here: https://rubular.com/r/BP5fM0kqwAONu7
// TLDs represented with >=1,000 domains in the Alexa top-1M. Messily extracted from
// here: <https://www.hayksaakian.com/most-popular-tlds/>
/a[rtuz]|b([egry]|iz)|c([achnz]|l(ub)?|om?)|d[ek]|e([su]|du)|f[ir]|g([r]|ov)|h[kru]|i([delort]|n(fo)?)|jp|k[rz]|lt|m([exy]|il)|n([loz]|et)|org|p([lt]|ro)|r[ou]|s([eku]|ite)|t[hrvw]|u[aks]|vn|xyz|za/
View .lsp-debug.log
Hello - from /Users/ec/.vscode/extensions/jaredly.reason-vscode-1.5.2/bin.native
Previous log location: /var/folders/xt/wm01x2h50nv993t_csb1t5qm0000gn/T/lsp.log
Sending notification {"jsonrpc": "2.0", "method": "client/registerCapability", "params": {"registrations": [{"id": "watching", "method": "workspace/didChangeWatchedFiles", "registerOptions": {"watchers": [{"globPattern": "**/bsconfig.json", "globPattern": "**/.merlin"}]}}]}}
Sending response {"id": 0, "jsonrpc": "2.0", "result": {"capabilities": {"textDocumentSync": 1, "hoverProvider": true, "completionProvider": {"resolveProvider": true, "triggerCharacters": ["."]}, "signatureHelpProvider": {"triggerCharacters": ["("]}, "definitionProvider": true, "typeDefinitionProvider": true, "referencesProvider": true, "documentSymbolProvider": true, "codeActionProvider": true, "executeCommandProvider": {"commands": ["reason-language-server.add_to_interface_inner"]}, "codeLensProvider": {"resolveProvider": true}, "documentHighlightProvider": true, "documentRangeF
View tridactylconf.json5
{
configversion: "1.7",
subconfigs: {
"localhost:4200": { noiframe: "true", modeindicator: "false" }
},
priority: 0,
exmaps: {
"<Enter>": "ex.accept_line",
"<C-j>": "ex.accept_line",
"<C-m>": "ex.accept_line",
View two-sum.js
const sparse_find = function(some_nums, target, first) {
let result = undefined
// Array#some is the only approach (vs. for-loop, for-of,
// other Array methods, Lodash methods) that both handles
// sparse-arrays *and* short-circuits
some_nums.some((second, j) => {
console.log(first, j+":"+second)
if (first + second === target) {
result = j
View fuckery.ml
module type AType = sig
type t
end
module type CBAO = sig
type a
type ret
val call : (a -> ret) -> a -> ret
end
View i am a good javascript programmer dot .js
function prots(o, rest = []) {
return o && (o = Object.getPrototypeOf(o)) === rest[0]
? rest
: rest.unshift(o) && prots(o, rest)
}
function common(a, b) {
return (b = prots(b)) && prots(a).filter((prot, i)=>
prot === b[i])
}
View vimr-crash.log
Process: VimR [25788]
Path: /Applications/VimR.app/Contents/MacOS/VimR
Identifier: com.qvacua.VimR
Version: SNAPSHOT-294 (294)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: VimR [25788]
User ID: 501
Date/Time: 2018-11-26 10:14:41.341 -0700
@ELLIOTTCABLE
ELLIOTTCABLE / remove-sidebar.css
Created Oct 1, 2018 — forked from 0atman/remove-sidebar.css
slack.com remove left sidebar
View remove-sidebar.css
/* hide the sidebar */
.client_channels_list_container {
display: none;
}
#team_menu {
display: none;
}
#col_channels_bg {
display: none;
}
View keybase.md

Keybase proof

I hereby claim:

  • I am elliottcable on github.
  • I am elliottcable (https://keybase.io/elliottcable) on keybase.
  • I have a public key ASA4YuQ-zH06C029ERVh-mW4h1fGGlQw1QkqNPN4hdXADwo

To claim this, I am signing this object:

@ELLIOTTCABLE
ELLIOTTCABLE / userContent.css
Created Jul 17, 2018
Best Tridactyl start page ever
View userContent.css
@-moz-document regexp("moz-extension://.*/static/newtab.html") {
body {
display: none !important;
}
}
You can’t perform that action at this time.