Skip to content

Instantly share code, notes, and snippets.

View georgiee's full-sized avatar
👻
Ghosting github.com since a while

Georgios Kaleadis georgiee

👻
Ghosting github.com since a while
View GitHub Profile
https://developers.google.com/mobile/articles/fast_buttons?hl=de
//straight forwards solution to attach both listeners
$(element).bind("touchstart click",function(e){
e.preventDefault()// touchstatr will prevent click but also scroll. Read Link for a better solution
})
@georgiee
georgiee / static_heroku_sinatra
Created December 12, 2012 14:08
Static page on heroku based on sinatra
#Gemfile
source :rubygems
gem 'rack'
gem 'sinatra'
#config.ru
require './app'
run Sinatra::Application
#app.rb
@georgiee
georgiee / gist:4185862
Created December 1, 2012 23:21
mailing stuff
http://mailtrap.io
@georgiee
georgiee / subtree_heroku
Created August 28, 2012 20:32
push git subfolder to heroku
brew install git-subtree
git subtree push --prefox web staging master
#where "web" is subfolder of git project and contains the rails app
#another way would be using config.ru without subtree push but then you would always push your whole project and not only "web" or whatever folder