A Pen by Captain Anonymous on CodePen.
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
##########------------------------------------------------------########## | |
########## Project-specific Details ########## | |
########## Check these every time you start a new project ########## | |
##########------------------------------------------------------########## | |
MCU = atmega328p | |
F_CPU = 1000000 | |
BAUD = 9600 | |
## Also try BAUD = 19200 or 38400 if you're feeling lucky. |
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
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "save only", | |
"linters": { | |
"csslint": { |
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
description[it] = <b>EAGLE Design Rules</b>\n<p>\nThe default Design Rules have been set to cover\na wide range of applications. Your particular design\nmay have different requirements, so please make the\nnecessary adjustments and save your customized\ndesign rules under a new name. | |
layerSetup = (1*16) | |
mtCopper = 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm | |
mtIsolate = 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm | |
mdWireWire = 0.8mm | |
mdWirePad = 0.8mm | |
mdWireVia = 0.8mm | |
mdPadPad = 0.45mm | |
mdPadVia = 0.8mm | |
mdViaVia = 0.8mm |
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
var paper = Raphael(0, 0, 400, 400); | |
var r = 100; | |
var steps = 120; | |
var totLed = 48; | |
// Sets the fill attribute of the circle to red (#f00) | |
var circles = []; | |
// Sets the stroke attribute of the circle to white | |
var alpha = 0; |
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
<% 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 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 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 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; |
OlderNewer