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
| <% for ( var i = 0; i < dataObject.length; i++ ) { %> | |
| <article id="<%=dataObject[i].id%>" class="<%=(i % 2 == 1 ? "even" : "")%>"> | |
| <figure class="clearfix"> | |
| <img src="img/<%=i%>_<%=dataObject[i].profile_image_url%>" alt="<%=dataObject[i].id%>" title="<%=dataObject[i].id%>" /> | |
| <figcaption> | |
| <strong><%=dataObject[i].id%></strong> | |
| <span class="text"><%=dataObject[i].text%></span> | |
| <span class="contact">Per contatti: <a href="mailto:<%=dataObject[i].from_user%>"><%=dataObject[i].from_user%></a></span> | |
| </figcaption> | |
| </figure> |
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
| var StoreLocator = { | |
| stores: {}, | |
| resize: function(size) { | |
| if(store_located) | |
| $('.storeFinder',this.$layout).css('width',(size[0] - $('.closestStore').width() - 40 - 10)); | |
| $('.map',this.$layout).css('height',(size[1] - 407 - 5)); // 437 = $('#footer_main').height() | |
| this.getCarouselLimit(); | |
| }, |
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
| if (window.webkitNotifications) { | |
| if (window.webkitNotifications.checkPermission() == 0) { | |
| var note = window.webkitNotifications.createNotification("", "Hi", "I'm a notification"); | |
| note.ondisplay = function(event) { | |
| setTimeout(function() { | |
| event.currentTarget.cancel(); | |
| }, 2000); | |
| } | |
| note.show(); | |
| } |
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
| .carousel { | |
| width:100%; | |
| position: relative; | |
| overflow:hidden; | |
| } | |
| .carousel ul { | |
| width: 300%; | |
| overflow:hidden; | |
| position:absolute; | |
| -webkit-transition: all 0.5s ease-in-out; |
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
| var YouTube = { | |
| options: { | |
| tag: 'toyota_social', | |
| author: 'ToyotaItalia', | |
| items_per_page: 6, | |
| start_index:1 | |
| }, | |
| init: function(options) { | |
| this._setURL(options); |
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
| 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 [email protected]: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 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
| import pygst | |
| pygst.require("0.10") | |
| import gst | |
| import soundcloud | |
| import sys | |
| query = sys.argv[1] ##TODO try catch for no parameters | |
| client = soundcloud.Client(client_id='xxx') |
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
| int output = 9;//embedded led output, maybe is 13 | |
| void setup() { | |
| Serial.begin(9600); | |
| pinMode(output, OUTPUT); | |
| } | |
| void loop() { |
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
| /* | |
| 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); |
OlderNewer