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
| package models; | |
| import java.lang.annotation.*; | |
| import java.lang.reflect.Type; | |
| import java.util.List; | |
| import com.google.appengine.api.datastore.Blob; | |
| import play.data.Upload; | |
| import play.data.binding.*; |
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
| <filter> | |
| <filter-name>appstats</filter-name> | |
| <filter-class>com.google.appengine.tools.appstats.AppstatsFilter</filter-class> | |
| <init-param> | |
| <param-name>logMessage</param-name> | |
| <param-value>Appstats available: /appstats/details?time={ID}</param-value> | |
| </init-param> | |
| </filter> | |
| <filter-mapping> | |
| <filter-name>appstats</filter-name> |
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
| $(document).ready(function() { | |
| $('.insite').live("click", function(ev) { | |
| var href = $(this).attr('href'); | |
| if ( history.pushState ) history.pushState( {}, document.title, href); | |
| ev.preventDefault(); | |
| $('#content').fadeOut().load(href+' #content', function() { | |
| $(this).fadeIn(); | |
| _gaq.push(['_trackPageview', href ]); | |
| //window.disqus_no_style = true; | |
| //$.getScript("http://disqus.com/forums/mnml/embed.js") |
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
| metacity& | |
| ./Dropbox/bin/eclipse-pdt/eclipse& | |
| chromium-browser& | |
| dropbox start& |
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
| wget --delete-after site.com 2>&1|egrep "HTTP|Length|saved" | head -1 | sed s/"HTTP request sent, awaiting response... "// |
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
| $(document).ready(function() { | |
| $('.insite').live("click", function(ev) { | |
| ev.preventDefault(); | |
| $('#content').load($(this).attr('href')+' #content'); | |
| }); | |
| }); |
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
| import boto | |
| cf = boto.connect_cloudfront('key1', 'key2') | |
| cf.create_invalidation_request("distribution_id", ["/path1","/path2"]) |
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
| SELECT SUBSTRING(MD5(RAND()) FROM 1 FOR 6) |
NewerOlder