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
#include <SoftwareSerial.h> | |
#define RX_PIN 9 | |
#define TX_PIN 10 | |
SoftwareSerial printer = SoftwareSerial(RX_PIN, TX_PIN); | |
void setup() { | |
Serial.begin(9600); | |
printer.begin(19200); |
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
#include <SoftwareSerial.h> | |
#define RX_PIN 9 | |
#define TX_PIN 10 | |
SoftwareSerial printer = SoftwareSerial(RX_PIN, TX_PIN); | |
char a = 0x00; | |
void setup() { |
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
// Example program | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main() | |
{ | |
double scores = 0; | |
double totals = 0; |
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
{ | |
"amps": 100.0, | |
"description": "Test Description 1", | |
"name": "Test Station 1", | |
"plugs": [ | |
{ | |
"code": "CHAdeMO", | |
"description": "Quick Charge", | |
"id": 1 | |
}, |
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
#define BTN 7 | |
#define IN 9 | |
#define CP 10 | |
#define RS 11 | |
#define MAX_SECS 10000 | |
// q7, q6, q5, q4, q3, q2, q1, q0 | |
// Layout bitmasks for the screen. This is highly dependent on the pinout of the 7-segment display |
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
function shuffle(o){ for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x); return o; } | |
var couples = ["SM", "KÁ", "HH"]; | |
var rooms = ["MB", "Hjónó", "Bónó"]; | |
couples = shuffle(couples); | |
rooms = shuffle(rooms); | |
for (var i in couples) { | |
console.log(couples[i] + " gista í " + rooms[i] + " og hafa massa gaman"); |
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
/* Settings */ | |
$break-small-width: 800px | |
$num_cols: 12 | |
$col_padding: 2% | |
$main-color: /* Insert color here */ | |
=desktop() | |
@media screen and (min-width: $break_small_width+1) | |
@content | |
=mobile() |
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
["hestur", "stóll", "bíll", "langijón", "humar", "sundlaug", "kaffi", "bolli", "epli", "haus", "grænmeti", "sykur", "snákur", "kerfi", "ljós", "vagn", "op", "inn", "maður", "fyndið", "leiðinlegt", "drasl", "ljótt", "verkfæri", "sög", "hamar", "plata", "sími", "pizza", "pepperóní", "ostur", "ostrur", "beikon", "hringing", "takkaborð", "flugnanet", "bjór", "bensín", "jakkaföt", "gjaldþrot", "fyrirtæki", "vísitala", "klukka", "reiknirit", "vanskilaskrá", "mergsuga", "bein", "hangikjöt", "baunir", "ísland"]; |
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
%{ | |
/* C/C++ skilgreiningar */ | |
#include <math.h> | |
#include <stdio.h> | |
#include <iostream> | |
#include <cstdlib> | |
#include <string> | |
#include <map> |
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
high fructose corn syrup (heimild toxnet) | |
_já_ | |
Gott á bragðið. | |
_nei_ | |
Mjög líklega meginorsök offitu á Vesturlöndum, getur einnig valdið hjarta- og æðasjúkdómum og fitu-lifur. | |
phosphoric acid | |
_já_ | |
Gott í að losa ryð og notað til dæmis í tannlækningum við að hreinsa tennur. | |
_nei_ |