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
cap to_stage deploy !2459 | |
* executing `to_stage' | |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "git ls-remote . develop" | |
command finished in 270ms | |
* executing "git clone -q --depth 1 git@github.com:HartSrlMassimilianoVentimiglia/boscolo_community.git /storage/vhosts/boscolo.stage.h-art.it/app/releases/20120926141455 && cd /storage/vhosts/boscolo.stage.h-art.it/app/releases/20120926141455 && git checkout -q -b deploy cacb271212cb08b82b19e306f5a7f9ce3b8f136e && (echo cacb271212cb08b82b19e306f5a7f9ce3b8f136e > /storage/vhosts/boscolo.stage.h-art.it/app/releases/20120926141455/REVISION)" | |
servers: ["147.123.242.2"] |
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
int output = 9;//embedded led output, maybe is 13 | |
void setup() { | |
Serial.begin(9600); | |
pinMode(output, OUTPUT); | |
} | |
void loop() { |
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
/* | |
This is an adaptation of Hello World code from Liquid Crystal Examples | |
*/ | |
// include the library code: | |
#include <LiquidCrystal.h> | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); |
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
#include <LiquidCrystal.h> | |
String buffer; | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
boolean isPacket = false; | |
void setup() { | |
Serial.begin(9600); | |
lcd.begin(20, 2); | |
} |
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
(function($,_,global) { | |
var App = { | |
init: function() { | |
var class_name = $('#page').attr('class'); | |
switch (class_name) { | |
case 'hp' : { | |
new App.View.Home.Boxed(); | |
new App.View.Home.Cover(); | |
new App.View.Home.Perfume(); | |
} |
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
App.SidebarView = Backbone.View.extend({ | |
toggle: function() { | |
if ($(this.el).is(':visible')) { | |
$(this.el).hide(); | |
this.trigger('collapse'); // <== | |
} else { | |
$(this.el).show(); | |
this.trigger('expand'); // <== | |
} | |
}, |
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
App.Mixins.Navigation = { | |
toggle: function() { /* ... */ }, | |
open: function() { /*... */ }, | |
close: function() { /* ... */ } | |
}; |
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
(function($,window, document, undefined){ | |
var defaults = { | |
resizing: true | |
} | |
var BreakpointManager = function(element, options) { | |
this.el = element; | |
this.$el = $(element); | |
this.options = $.extend({}, defaults,options); | |
this.breakpoints = {}; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
background-color: #fff; | |
margin: 0; | |
overflow: hidden; | |
} |