This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl http://markchristian.org/projects/nyancat/nyancat.sh -o ~/bin/nyancat; chmod +x ~/bin/nyancat; ~/bin/nyancat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <div id="templates" style="display:none;"> | |
| <div id="header" class="template"><!-- | |
| <i>{{awesomeGuy}} is awesome</i> | |
| --></div> | |
| <div id="body" class="template"><!-- | |
| <i>Hello, {{name}}!</i> | |
| --></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cerebus:~ shinyplasticbag$ cat /home/shinyplasticbag/domains/markchristian.org/projects/ideafactory/ideas.txt | |
| Mark at 2007-11-21@14:00: | |
| I like things. | |
| Seanstoppable at 2007-11-21@14:07: | |
| What I Like | |
| A site where you can make a list of things you have owned/rented/tried and, based on the rating you provide, gives you suggestions of other things you like. | |
| Kinda like Amazon reccomendations, except easier to add things you already have. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Caused by this code: | |
| NSImage *translucentImage = [[NSImage alloc] initWithSize:[imageRep size]]; | |
| NSRect rect = NSMakeRect(0, 0, [image size].width, [image size].height); | |
| [translucentImage lockFocus]; | |
| Running on the main thread. WTF. | |
| #0 0x00007fff910a2a4f in CGSFillDRAM8by1 () | |
| #1 0x00007fff91105fb6 in argb32_mark_constshape () | |
| #2 0x00007fff911059c3 in argb32_mark () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="SidebarTheDeck"> | |
| <script type="text/javascript"> | |
| (function(id) { | |
| var theDeck = document.createElement('script'); theDeck.type = 'text/javascript'; theDeck.async = true; | |
| theDeck.src = 'http://connect.decknetwork.net/deck' + id + '_js.php?' + (new Date().getTime()); | |
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(theDeck, s); | |
| })("DF"); | |
| </script> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| :test_nokogiri => | |
| { | |
| :text_without_entities => 1.440876, | |
| :text_with_entities => 1.48466 | |
| }, | |
| :test_nokogiri_new => | |
| { | |
| :text_without_entities => 1.42785, | |
| :text_with_entities => 1.53331 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Here's the defineClass function | |
| (function() { | |
| function defineClass() { | |
| var kDefineClassMagicValue = 'defineClass_do_not_call_user_provided_constructor'; | |
| var args = Array.prototype.slice.apply(arguments); | |
| var className, superClassName, constructor, properties; | |
| className = args.shift(); | |
| if (typeof args[0] == 'string') { | |
| superClassName = args.shift(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| $('link[rel="stylesheet"]').each(function(i, elem) { | |
| // Make an anchor tag with the stylesheet's href -- this is a weird/handy way of | |
| // working with URLs in the browser. | |
| var anchorTag = $('a').attr('href', elem.getAttribute('href'))[0]; | |
| // Rewrite the URL to have a cache busting parameter. This assumes | |
| // that any query params weren't significant. | |
| anchorTag.search = "ts=" + (+new Date); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fallbacks = {} | |
| , networks = {} | |
| , cacheName = "OldSchoolAppCache" | |
| , settings = {} | |
| ; | |
| this.onmessage = function (e) { | |
| var msg = e.data; | |
| if (msg.type && msg.type === "manifest") { | |
| var lines = msg.manifest.split(/\n+/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2013 Canada Day | |
| by Mark Christian and 4 collaborators | |
| All Canadian tweeps are welcome to edit. | |
| Add Playlist Edit Share Buy MP3s 68 songs (4:26:26) | |
| 1 | |
| 4:46 CLEAN | |
| Take Off | |
| Doug McKenzie, Bob McKenzie - Great White North |