# HG changeset patch # User Steve Losh # Date 1343244018 14400 # Node ID cbbbc897e9b3943e78fcc5f980f9f6213f33fe86 # Parent ca3c6e437e96a1238c79df931e4a9706c8c82309 moar diff -r ca3c6e437e96 -r cbbbc897e9b3 dotjs/getprismatic.com.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dotjs/getprismatic.com.js Wed Jul 25 15:20:18 2012 -0400 @@ -0,0 +1,48 @@ +var banned_sites = ['Bits', 'Forbes.com']; +var banned_tags = ['Venture Capital', 'Social', 'Startups']; +var banned_words = ['Node']; + +var scrubber = function(){ + $('.article').each(function(index, object){ + var hideit = false; + + var publisher = $(object).find('.publisher').find('.interest').text(); + + var title = $(object).find('.title').find('.external').text(); + + //loop through interests against our banned tags + $(object).find('.meta').find('.interest').each(function(i, rawinterest){ + + var interest = $(rawinterest).text(); + + $(banned_tags).each(function(index, object){ + if(object.toLowerCase() == interest.toLowerCase()){ + hideit = true; + } + }); + + }); + + //loop through our sites checking if it matches the publisher + $(banned_sites).each(function(index, object){ + if(object.toLowerCase() == publisher.toLowerCase()){ + hideit = true; + } + }); + + //check title against banned_words + $(banned_words).each(function(index, object){ + if(title.toLowerCase().indexOf(object.toLowerCase()) != -1){ + hideit = true; + } + }); + + //hide the article if deemed garbage + if(hideit == true){ + $(object).hide(); + } + + }); +} + +setInterval(scrubber, 2000); diff -r ca3c6e437e96 -r cbbbc897e9b3 moom/com.manytricks.Moom.plist Binary file moom/com.manytricks.Moom.plist has changed diff -r ca3c6e437e96 -r cbbbc897e9b3 mutt/muttrc --- a/mutt/muttrc Wed Jul 25 15:18:48 2012 -0400 +++ b/mutt/muttrc Wed Jul 25 15:20:18 2012 -0400 @@ -1,12 +1,12 @@ # Paths {{{ -set alias_file = ~/.mutt/alias # alias file +set alias_file = ~/.mutt/alias # where to store aliases set header_cache = ~/.mutt/cache/headers # where to store headers set message_cachedir = ~/.mutt/cache/bodies # where to store bodies set certificate_file = ~/.mutt/certificates # where to store certs set mailcap_path = ~/.mutt/mailcap # entries for filetypes +set tmpdir = ~/.mutt/temp # where to keep temp files set signature = ~/.mutt/sig # my signature file -set tmpdir = ~/.mutt/temp # where to keep temp files # }}} # Editor {{{ @@ -25,8 +25,7 @@ # }}} # Basic Options {{{ -source ~/.vim/bundle/badwolf/contrib/badwolf.muttrc # colorscheme -source ~/.mutt/sidebar.muttrc # sidebar +source ~/.vim/bundle/badwolf/contrib/badwolf.muttrc set wait_key = no # shut up, mutt set mbox_type = Maildir # mailbox type @@ -43,6 +42,17 @@ set thorough_search # strip headers and eval mimes before searching # }}} +# Sidebar Patch {{{ + +set sidebar_delim = ' │' +set sidebar_visible = yes +set sidebar_width = 24 +color sidebar_new color221 color233 +bind index,pager sidebar-next +bind index,pager sidebar-prev +bind index,pager sidebar-open + +# }}} # Status Bar {{{ set status_chars = " *%A" diff -r ca3c6e437e96 -r cbbbc897e9b3 mutt/sidebar.muttrc --- a/mutt/sidebar.muttrc Wed Jul 25 15:18:48 2012 -0400 +++ b/mutt/sidebar.muttrc Wed Jul 25 15:20:18 2012 -0400 @@ -3,15 +3,4 @@ ### # settings -set sidebar_delim = ' │' -set sidebar_visible = yes -set sidebar_width = 24 -# colors -color sidebar_new color221 color233 - -# bindings -bind index,pager sidebar-next -bind index,pager sidebar-prev -bind index,pager sidebar-open - diff -r ca3c6e437e96 -r cbbbc897e9b3 vim/custom-dictionary.utf-8.add --- a/vim/custom-dictionary.utf-8.add Wed Jul 25 15:18:48 2012 -0400 +++ b/vim/custom-dictionary.utf-8.add Wed Jul 25 15:20:18 2012 -0400 @@ -68,3 +68,15 @@ dev repo hardcoded +plaintext +config +Gmail +keychain +muttrc +autocomplete +XCode +Homebrew +dotfiles +symlink +Backblaze +README