Skip to content

Instantly share code, notes, and snippets.

Michael Cook entozoon

Block or report user

Report or block entozoon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@entozoon
entozoon / pointyprism.c
Created Nov 24, 2016
Pointy Prism - RobotC Lego NXT code
View pointyprism.c
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;
@entozoon
entozoon / SassMeister-input.scss
Last active Oct 21, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
/*!
Grid CSS compiled by evo_grid.scss
*/
$grid-gutter-width: 20px;
$screen-sm-min: 768px;
@entozoon
entozoon / SassMeister-input.scss
Created Jun 4, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.4)
// ----
.foo {
&, .bar {
display: block;
}
}
@entozoon
entozoon / SassMeister-input.scss
Created Jun 4, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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);
@entozoon
entozoon / SassMeister-input.scss
Last active Aug 29, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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
@entozoon
entozoon / SassMeister-input.scss
Created Jan 20, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$cup-colour: #0000ff;
.cup {
color: $cup-colour;
@entozoon
entozoon / SassMeister-input.scss
Created Sep 29, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
// m.ichael.co.uk 2014
$colourNames: primary secondary tertiary;
$colourValues: #BADA55 #501337 #8008EE;
You can’t perform that action at this time.