Skip to content

Instantly share code, notes, and snippets.

View seantomburke's full-sized avatar
:shipit:
Crunch Time

Sean Thomas Burke seantomburke

:shipit:
Crunch Time
View GitHub Profile
$$=((!!$<<~-~!!$)+''),$_=!$+'',_$={}+'',__={}[+!$]+'',$_[$$[+!!$]]+$_[-~!!_$<<!!_$]+$_[+!!_$]+__[+!!_$]+' '+__[$$[+!$]]+$_[$$[+!!$]]+' '+$_[+!!_$]+' '+_$[-~!!$]+_$[+!!$]+$_[$$[+!!$]]+$_[$$[+!!$]]
alias.currentbranch=rev-parse --abbrev-ref HEAD
alias.stupdate=!f() { BR=`git currentbranch`; git stash clear && git stash && git checkout master && git pull --rebase && git checkout $BR && git rebase master && git stash pop; }; f
@seantomburke
seantomburke / keybindings.settings
Last active December 12, 2017 23:14
Cloud9 keybindings
// Edit this keymap file and save to apply.
[
{ "command": "changes", "keys": { "mac": ["Cmd-9"] } },
{ "command": "closetab", "keys": { "mac": ["Cmd-W"] } },
{ "command": "commands", "keys": { "mac": ["Cmd-Shift-A"] } },
{ "command": "duplicateSelection", "keys": { "mac": ["Cmd-D"] } },
{ "command": "formatcode", "keys": { "mac": ["Cmd-Alt-L"] } },
{ "command": "modifyNumberDown", "keys": { "mac": ["Cmd-Ctrl-Alt-Up"] } },
{ "command": "modifyNumberUp", "keys": { "mac": ["Cmd-Ctrl-Alt-Down"] } },
{ "command": "movelinesdown", "keys": { "mac": ["Alt-Shift-Down"] } },
@seantomburke
seantomburke / c9.theme.left-side-tabs.css
Last active February 2, 2018 23:16
Theme to allow left side tabs in Cloud9 IDEA
.c9terminalcontainer.dark,
.ace_dark,
.ace_editor,
.codeEditorHolder,
.ace-gutter {
background-color: #263238;
}
body,
.ace_tree_cells {
const REGEX_PATTERNS = {
ip4: /((\d{1,3}\.){3}\d{1,3})/,
onlyDigits: /(^[\d\s]+$)/,
urlKeywords: /(https?(:\/\/)?|www\.)/i,
specialChars: /([!@#$%^&*+=|<>?:;\/\\])/,
emailAddress: /([\w\.-]+@\w+(\.\w+)+)/,
emailVerbose: /(.+?at(.+)?\w+?(.+)?(dot|\.)(.+)?com[^a-zA-Z]?)/i,
topLevelDomains: /(\.(com|edu|gov|int|mil|net|org|arpa)[^a-zA-Z]?)/i,
linkedinKeywords: /(linkedin|member|official)/i,
moreThanOneDigits: /(\d.*\d)/,
//console
[source,cypher]
----
CREATE (n{name:'cypher'})-[r:LIKES]->({name:'icecream'}) return n.name, r
----
@seantomburke
seantomburke / index.html
Created August 17, 2012 19:50
This is the iPhone Messages app created in full CSS. I use this on my website www.memebro.com. To see the full features visit http://www.memebro.com
<div id="iPhoneBro" class="iPhone gen">
<div class="title">
<input type="submit" class="back button" value="Messages">
<span class="contact_name button">(614) MEME-BRO</span>
<input type="submit" class="edit button" value="Edit">
</div>
<div id="conversation" class="conversation ">
<div class="time"><div class="time"><p>Aug 9, 2012 3:43 AM</p></div></div><div class="text sent" id="query"><div class="reflect"></div><p>Check Out <a href-"http://www.memebro.com/?r=codepen">memebro.com</a></p></div>
<div class="text receive"><div class="reflect"></div><p>Try "+popular", "+trending", or "+new" for meme lists</p></div>
<div class="text sent" id="query"><div class="reflect"></div><p>+popular</p></div>