View josh-device.ino
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 "DigiKeyboard.h" // These two are modified from the originals to get the caps lock functionality. | |
#include "hidkeys.h" | |
int myDebugLevel = 0; | |
int delayLevel = 250; | |
//------------------------------------------------------------- | |
void setup() { | |
pinMode(1, OUTPUT); // BuiltIn LED as output | |
DigiKeyboard.sendKeyStroke( | |
0); // Evidently this helps at the start of digispark sketches. |
View pointyprism.c
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
void makeCircle(int _cx,int _cy,int _rad) { | |
int l=_cx-_rad; | |
int r=_cx+_rad; | |
int u=_cy+_rad; | |
int d=_cy-_rad; | |
nxtFillEllipse (l, u,r, d); | |
} | |
void eraseCircle(int _cx,int _cy,int _rad) { | |
int l=_cx-_rad; | |
int r=_cx+_rad; |
View SassMeister-input.scss
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
/*! | |
Grid CSS compiled by evo_grid.scss | |
*/ | |
$grid-gutter-width: 20px; | |
$screen-sm-min: 768px; |
View SassMeister-input.scss
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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
.foo { | |
&, .bar { | |
display: block; | |
} | |
} |
View SassMeister-input.scss
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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
$colourNames: "primary" "secondary" "tertiary"; | |
$colourValues: #f00, #0f0, #00f; | |
@for $i from 0 to length($colourNames) { | |
.color--#{nth($colourNames, $i+1)} { | |
color: nth($colourValues, $i+1); |
View SassMeister-input.scss
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
.cup { | |
$cup-colour: #0000ff; // variables have scope! | |
color: $cup-colour; | |
&__milk { // __ describes an element contained within it's parent |
View SassMeister-input.scss
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$cup-colour: #0000ff; | |
.cup { | |
color: $cup-colour; |
View SassMeister-input.scss
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
// m.ichael.co.uk 2014 | |
$colourNames: primary secondary tertiary; | |
$colourValues: #BADA55 #501337 #8008EE; |