Skip to content

Instantly share code, notes, and snippets.

.style, .style2 {
font-size: 12px;
}
.style, .style2 {
color: blue;
}
.style, .style2 {
color: red;
%place1{
font-size: 12px;
}
%place2{
@extend %place1;
color: blue;
}
%place3{
.style, .style2 {
font-size: 14px;
}
.style, .style2 {
font-size: 12px;
color: blue;
color: red;
border: 1px solid red;
color: green;
@mixin mix1{
font-size: 12px;
}
@mixin mix2{
@include mix;
color: blue;
}
@mixin mix3{
div.style {
font-size: 30px;
color: red;
}
button {
@extend div, .style;
}
div.style {
font-size: 30px;
color: red;
}
button {
@extend div.style;
}
@natan-morar
natan-morar / sensors.ino
Last active December 3, 2016 05:15
interface with temp humidity
#include <ArduinoJson.h>
#include <DallasTemperature.h>
#include <DHT.h>
//Let's say we have some DHT sensors
#define DHTPIN 2
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321
DHT dht(DHTPIN, DHTTYPE);
//And let's say we've got DS18B20
@natan-morar
natan-morar / simple.ino
Last active December 13, 2016 03:04
arduino simple
#include <ArduinoJson.h>
//Structure that will hold readings of all the sensors
typedef struct
{
float value =0 ;
char Label[20] = "";
char Units[7] = "";