A Pen by Anonasaurus Rex on CodePen.
This file contains hidden or 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
| require 'rest-client' | |
| require 'logger' | |
| require 'json' | |
| require 'map' | |
| class CrimsonMonitor | |
| include ValueObject | |
| attribute :monitor_id | |
| attribute :email |
This file contains hidden or 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 @Behaviour | |
| constructor: (@dom, @options = {}) -> | |
| @$dom = $(@dom) | |
| className = @getClassName() | |
| unless @$dom.data(className) | |
| @$dom.data(className, true) | |
| @init() | |
| data: (attr, def=null) -> | |
| @options[attr] || @$dom.data(attr) || def |
This file contains hidden or 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
| 2013-11-26T16:42:35.695984+00:00 app[web.2]: Started GET "/profile/projects/23/project_collaborations" for 95.238.123.1 at 2013-11-26 16:42:35 +0000 | |
| 2013-11-26T16:42:36.760505+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path=/profile/projects/23/project_collaborations host=www.limoney.it fwd="95.238.123.1" dyno=web.2 connect=1ms service=1070ms status=503 bytes=0 | |
| 2013-11-26T16:42:36.714994+00:00 app[web.2]: /app/app/commands/change_advisor_collaboration_state_command.rb:43: [BUG] Segmentation fault | |
| 2013-11-26T16:42:36.715000+00:00 app[web.2]: ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux] | |
| 2013-11-26T16:42:36.715002+00:00 app[web.2]: | |
| 2013-11-26T16:42:36.715003+00:00 app[web.2]: -- Control frame information ----------------------------------------------- | |
| 2013-11-26T16:42:36.715963+00:00 app[web.2]: c:0179 p:0013 s:0886 e:000884 METHOD /app/app/commands/change_advisor_collaboration_state_command.rb:43 | |
| 2013-11-26T16:42:36.715966+00:00 app[web.2]: c:0178 p |
This file contains hidden or 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
| Problematiche rilevate: | |
| * E' obbligatorio dare i seguenti dati per ogni transazione: | |
| - Nome | |
| - Cognome | |
| - Paese di nascita | |
| - Paese di residenza | |
| - Data di nascita | |
This file contains hidden or 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
| @mixin block($name) | |
| @at-root .#{$name} | |
| @content | |
| @mixin element($names...) | |
| $selector: () | |
| @each $name in $names | |
| $selector: append($selector, unquote('#{&}__#{$name}'), comma) | |
| @at-root #{$selector} | |
| @content |
This file contains hidden or 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
| # Business entity | |
| # Business Name | |
| # FirstName of the legal representative | |
| # LastName of the legal representative | |
| # Birthday of the legal representative | |
| # Nationality of the legal representative | |
| # Country of residence of the legal representative | |
| # Adress of the legal representative |
This file contains hidden or 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
| ActiveAdmin.register Post do | |
| index do | |
| column :title | |
| column :published_at | |
| default_actions | |
| end | |
| form do |f| | |
| f.inputs "Dettagli" do | |
| f.input :title |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Usage: cached-bundle install --deployment | |
| # | |
| # After running `bundle`, caches the `vendor/bundle` directory to S3. | |
| # On the next run, restores the cached directory before running `bundle`. | |
| # When `Gemfile.lock` changes, the cache gets rebuilt. | |
| # | |
| # Requirements: | |
| # - Gemfile.lock | |
| # - REPO_SLUG |
This file contains hidden or 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
| module I18n | |
| def self.missing_keys | |
| @missing_keys | |
| end | |
| def self.t(*args, &block) | |
| opts = args.dup.extract_options! | |
| opts[:default] = Array(opts[:default]).delete_if do |d| | |
| d.is_a? String | |
| end |