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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
iptables -A INPUT -i lo -p tcp --destination-port 3000:3060 -j ACCEPT | |
iptables -A INPUT -p tcp --destination-port 3000:3060 -j DROP |
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
### Keybase proof | |
I hereby claim: | |
* I am dbarison on github. | |
* I am davidebarison (https://keybase.io/davidebarison) on keybase. | |
* I have a public key whose fingerprint is EE94 39E0 C088 A74D 162A 9E71 A0FA C825 F9F0 2C03 | |
To claim this, I am signing this object: |
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
class Product < ActiveRecord::Base | |
include HasTranslationOrder | |
has_translation_order :fields => [:name, :excerpt, :description, :seo_title, :seo_desc], :associations => [:content, :variant, :property], :comment_method => :job_comment | |
end |
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
pt-BR: | |
routes: | |
pages: azienda | |
posts: news | |
products: prodotti | |
message: contatti | |
portfolio: realizzazioni | |
advantages: vantaggi | |
company: eternoivica | |
group: gruppo |
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
en: | |
fiere: expo | |
Prodotti correlati: Related products | |
Selezionando una di queste opzioni visualizzerai sulla mappa i risultati trovati: Selecting one of these options you'll see the results on the map | |
Specificare professione: Specify job | |
Abilità prodotti + contenuti: | |
Abilità solo contenuti: | |
archivio: archive | |
Accedi al software per il calcolo supporti: Access to calculation software | |
'Accedi al software per il calcolo supporti ': Access to calculation software |
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
class VideoCompresser < Paperclip::Processor | |
# def initialize(file, options = {}, attachment = nil) | |
# super | |
# @file = file | |
# @whiny = options[:whiny].nil? ? true : options[:whiny] | |
# @basename = File.basename(@file.path, File.extname(@file.path)) | |
# @format = options[:format] | |
# @geometry = options[:geometry].nil? ? nil : Paperclip::Geometry.parse(options[:geometry]) | |
# end |
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
--- | |
en: | |
Richiedi un preventivo: Request a quote | |
Chiedi una consulenza gratuita: Request a free consultation | |
ANTEPRIMA: PREVIEW | |
Ragione sociale: Company Name | |
Accedi ai disegni tecnici: Click here for technical drawings | |
Accedi al software per il calcolo supporti: Access to calculation software | |
'Accedi al software per il calcolo supporti ': Access to calculation software | |
Accedi alla rete vendita: Explore sales network |
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
GEM | |
remote: http://rubygems.org/ | |
specs: | |
actionmailer (3.2.19) | |
actionpack (= 3.2.19) | |
mail (~> 2.5.4) | |
actionpack (3.2.19) | |
activemodel (= 3.2.19) | |
activesupport (= 3.2.19) | |
builder (~> 3.0.0) |