Skip to content

Instantly share code, notes, and snippets.

View roozbehmeghdadi's full-sized avatar

Roozbeh roozbehmeghdadi

View GitHub Profile
@octopi
octopi / index.html
Created November 18, 2013 18:51
Sample Save-to-Foursquare Button
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Sample Foursquare Widget</title>
</head>
<body>
<h1>Sample Foursquare Widget</h1>
<!-- Place this anchor tag where you want the button to go -->
<a href="https://foursquare.com/intent/venue.html" class="fourSq-widget" data-variant="wide" data-vid="412d2800f964a520df0c1fe3">Save to foursquare</a>
@nhoffmann
nhoffmann / deploy.rb
Created April 3, 2012 14:07
Capistrano recipe for deploying static content.
set :application, "My Static Content"
set :servername, 'test.example.com'
# no git? simply deploy a directory
set :scm, :none
set :repository, "." # the directory to deploy
# using git? deploy from local git repository
# set :scm, :git
# set :repository, 'file//.' # path to local git repository