Skip to content

Instantly share code, notes, and snippets.

Riccardo Tacconi rtacconi

Block or report user

Report or block rtacconi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nagelflorian
nagelflorian / buckets.tf
Last active Oct 18, 2019
Terraform config for static website hosting on AWS
View buckets.tf
# AWS S3 bucket for static hosting
resource "aws_s3_bucket" "website" {
bucket = "${var.website_bucket_name}"
acl = "public-read"
tags {
Name = "Website"
Environment = "production"
}
@saten
saten / quick_route_tester.rb
Created Aug 17, 2012
Enumerates routed controllers and actions and checks if they exist in the code (simple and quick, without corner cases). Tested on Rails 3.2.8
View quick_route_tester.rb
Rails.application.eager_load!
all_routes = Rails.application.routes.routes
controllers=ApplicationController.descendants
#controller_names = controllers.collect {|c| c.to_s.underscore.sub('_controller','') }
controller_names={}
controllers.each {|c|
controller_names[c.to_s]=c.to_s.underscore.sub('_controller','')
}.size
View Che Guevara Fy
Btw, I have recently started a small code battle upon an easy task.
The goal is to improve your self estimation skill and to code something minimalistic in the shortest time possible.
If you want to join the battle, just do the following:
1) Check the briefing: "Create a webservice that is generating the 'Che Guevara Effect' on an uploaded picture"
I have already done my job and implemented an working version of this here: http://che-guevara-fy.heroku.com/
2) You can accept the challenge by giving an upfront estimate on how much time you think is needed to implement and deploy the briefing.
You can’t perform that action at this time.