Dwight Spencer ([email protected]) denzuko
💬
This file contains 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
/* fucking gist */ | |
.gist .gist-syntax { | |
overflow-x: hidden !important; | |
} | |
.gist .gist-meta { | |
font-family: Verdana; | |
font-size: 8px !important; | |
} |
This file contains 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
@font-face { | |
font-family: "Watusi"; | |
src: url("http://www.example.com/fonts/watusi.ttf"); | |
format("truetype"); | |
} | |
h1 { | |
font-family: "Watusi", sans-serif; | |
} |
This file contains 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
Thanks for the :+fav: on my <a href="http://fav.me/{{deviant.id}}" rel="me">{{deviant.title}}</a>. |
This file contains 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
;Found at http://community.omnicom.no/blogs/lea/archive/2008/10/17/prism-and-nsis-to-the-rescue.aspx | |
;NSIS Modern User Interface | |
;-------------------------------- | |
; Start | |
!include "MUI2.nsh" | |
!define MUI_PRODUCT "Name of webapp" | |
!define MUI_VERSION "" |
This file contains 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
//Last.fm for Ubiquity | |
//This script takes your input and opens the url http://www.last.fm/listen/artist/{input}/similarartists | |
//Thus tuning in to the desired last.fm station | |
CmdUtils.CreateCommand({ | |
name:"lastfm", | |
description: "Tunes into the desired last.fm station!", | |
icon:"http://firefm.sourceforge.net/favicon.ico", | |
takes: {artist: noun_arb_text}, | |
preview: "Starts last.fm with the specified artist!", |
This file contains 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
<!--{{Snippet::HTML(XHTML::Strict,1.1)}}--> | |
<!--{{Var::pgTitle(Ubiquity Command::lastfm}}--> | |
<!--{{Var::cmdURI("http://www.rzuser.uni-heidelberg.de/~rkreuzer/firefmlastfm.js"}}--> | |
<!--{{Var::cmdName("lastfm.js"}}--> | |
<head> | |
<title>Ubiquity Command::lastfm</title> | |
<link rel="commands" href="{{Var::cmdURI}}" name="{{Var::cmdName}}" /><!--Magic right here--> | |
<!--{{Snippet::SEO}}--> | |
<script language="JavaScript" type="text/javascript"></script> | |
<!--{{Snippet::ExtranetJS}}--> |
This file contains 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
<!-- html header --> | |
<link rel="P3Pv1" href="/w3c/p3p.xml"> | |
<!-- p3p.xml --> | |
<META xmlns="http://www.w3.org/2000/12/P3Pv1"> | |
<POLICY-REFERENCES> | |
<POLICY-REF about="/w3c/policy.xml"> | |
<INCLUDE>/*</INCLUDE> | |
</POLICY-REF> |
This file contains 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
# Notes from http://www.railsonwave.com/2007/2/21/tutorial-opensearch-with-rails-1-2-render-json | |
# html snippet | |
# <link rel="search" type="application/opensearchdescription+xml" title="Search a City" href="http://YOUR-ADDRESS/search.xml" /> | |
# Codes SQL - http://www.railsonwave.com/assets/2007/2/20/city_codes.sql.zip | |
class SearchController < ApplicationController |
This file contains 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
# Sinatra minimalist RestMQ | |
# no COMET, just /q/ routes and queue logic | |
# the core of RestMQ is how it uses Redis' data types | |
%w(rubygems redis sinatra).each do |lib| require lib; end | |
QUEUESET = 'QUEUESET' # queue index | |
UUID_SUFFIX = ':UUID' # queue unique id | |
QUEUE_SUFFIX = ':queue' # suffix to identify each queue's LIST |
This file contains 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
load 'deploy' if respond_to?(:namespace) | |
set :application, do | |
Capistrano::CLI.ui.ask "Your application name: " | |
end | |
set :user, do | |
Capistrano::CLI.ui.ask "Username: " | |
end | |
set :group, "www-data" |
OlderNewer