Skip to content

Instantly share code, notes, and snippets.

View tagawa's full-sized avatar

Daniel Davis tagawa

View GitHub Profile
@tagawa
tagawa / usurp-tco.js
Created January 30, 2012 06:26 — forked from GarrettS/usurp-tco.js
UsurpTCO
(function() {
if (window.location.hostname === "twitter.com") {
var tcoToLinkTitleURL = function(ev) {
var target = ev.target, dataURI = target.getAttribute("data-expanded-url");
if (/^https?:\/\/t.co\//.test(target.href) && dataURI) target.href = dataURI;
};
document.addEventListener("mousedown", tcoToLinkTitleURL, true);
}
})();
@tagawa
tagawa / sessionStorage.js
Created June 6, 2012 06:31
sessionStorage polyfill
/*
* Based on: http://www.quirksmode.org/js/cookies.html
* and https://github.com/wojodesign/local-storage-js/blob/master/storage.js
* and https://gist.github.com/350433
* License: http://www.opensource.org/licenses/MIT
*/
(function(window) {
'use strict';
window.sessionStorage = window.sessionStorage || {

Open Source at DuckDuckGo: Seven Lessons Learned

DuckDuckGo is a search engine that's always been known for privacy (among those who'd heard of it). Last year we passed 3 billion annual searches, and it’s critical that we continue to delight users without sacrificing their privacy.

The key, we realized a few years ago, was open source. We created an API and started a community where anyone can join us in improving search results. These contributions are called Instant Answers and they appear above the organic search results.

Our community has steadily grown since then, with hundreds of contributors and counting. Over the years, we’ve learned several powerful lessons about what makes an open source community thrive — particularly one symbiotic with a startup company.

Go With the Flow

0439d22516381a419c98be3bc712e4265de435a9b8b4d107368d705fc195cf2317e7a74b6cccde14747319ed32aba67bbca31e295baa3fff9b783c74439f6f9ed8;nortss

Keybase proof

I hereby claim:

  • I am tagawa on github.
  • I am ourmaninjapan (https://keybase.io/ourmaninjapan) on keybase.
  • I have a public key whose fingerprint is 3E1C EFCC 2C98 EFE3 475D 8DA0 E182 7173 C38B 9666

To claim this, I am signing this object:

@tagawa
tagawa / gist:e6f054c947f6e34075a9a3bb77858534
Created September 19, 2018 01:28
Blockstack ID verification
Verifying my Blockstack ID is secured with the address 1JTaYHmd7hqFU552nwoYswJMDYK7vwTsUP https://explorer.blockstack.org/address/1JTaYHmd7hqFU552nwoYswJMDYK7vwTsUP