- Right click on bookmark bar (ctrl+shirt+b to disply if hidden)
- Click "Add Page..."
- Change Name to "Tweet Highlight"
- Change URL to the string of text found in TweetHighlight.bm
- Click Save
| ;(function($, window, document, undefined) { | |
| var namespace = "myPlugin"; | |
| var methods = { | |
| init: function(options){} | |
| } | |
| $.fn[namespace] = function( method ) { | |
| // Method calling logic |
A couple of weeks ago I wrote about a project I was working on called City-Color. I'm afraid to say there is nothing to update on that, except that I got lost in side projects until my desire to see the main project come to life was drowned.
Along the way I started using twitter again but since the last time I really used twitter was in 2009 I needed to redefine who I follow. I had a head start thanks to a sweet blogpost I had stumbled onto with a graph of influential data science twitter accounts a few weeks back, but this only helped me flush out my data science tweeps, I still needed to find people to follow twitting about node.js and poetry. And so I started the social discovery process.
- Search for a topic and follow people with about-me's that seem to fit the subject I'm looking into.
- Follow accounts mentioned by accounts recently followed that I'm enjoying.
- Follow accounts retwee
This is a bookmarklet that does what the title implies. Follow the directions below to add it to chrome and then just click the button when you're bothered by their dumb signup popup.
- Right click on bookmark bar (ctrl+shirt+b to disply if hidden)
- Click "Add Page..."
| var numCalls = 0; | |
| var numErrors = 0; | |
| var numSuccess = 0; | |
| var numExternal = 0; | |
| var errorPages = []; | |
| var externalPages = []; | |
| var done = function(){ | |
| numCalls--; |
| #custom-sg { | |
| padding: 15px; | |
| background-color: #efefef; | |
| } | |
| #sg-progress { | |
| height: 12px; | |
| background-color: #cccccc; | |
| border-radius: 25px; | |
| } |
| //FROM: http://stackoverflow.com/questions/149055/how-can-i-format-numbers-as-money-in-javascript | |
| Number.prototype.formatMoney = function(c, d, t){ | |
| var n = this, | |
| c = isNaN(c = Math.abs(c)) ? 2 : c, | |
| d = d == undefined ? "." : d, | |
| t = t == undefined ? "," : t, | |
| s = n < 0 ? "-" : "", | |
| i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", | |
| j = (j = i.length) > 3 ? j % 3 : 0; | |
| return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : ""); |
| var getColumn = function(id){ | |
| var out = {}; | |
| out.header = $(".ghx-column[data-id='"+id+"']"); | |
| out.lane = $(".ghx-column[data-column-id='"+id+"']"); | |
| return out; | |
| } | |
| var detailSlide = function(e){ | |
| e.preventDefault(); |
| var hideShow = function(opts){ | |
| var stories = document.querySelectorAll(".current .story"); | |
| for(var i=0; i< stories.length; i++){ | |
| if(opts.conditionType=="owner"){ | |
| var owner = stories[i].querySelectorAll(".owner")[0]; | |
| owner = owner == undefined ? "NONE" : owner.innerText; | |
| if(owner == opts.compare || opts.compare == "ALL"){ | |
| stories[i].style.display = opts.display; |