Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 <SoftwareSerial.h> | |
// Serial.print() outputs to the USB-UART (i.e. eventually to the PC). | |
// | |
uint8_t PIN_ORANGE_LED = PD7; | |
uint8_t PIN_BUZZER = PD6; | |
uint8_t PIN_SOFT_UART_RX = PD4; | |
const uint8_t BUFFER_SIZE = 16; |
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
require 'RubyROOT' | |
require 'colorable' | |
DEFAULT_CANVAS_WIDTH = 600 | |
DEFAULT_CANVAS_HEIGHT = 600 | |
DEFAULT_FONT = 43 # Helvetica | |
DEFAULT_FONT_SIZE = 16 | |
DEFAULT_FONT_SIZE_TITLE = 18 | |
Root.gROOT.SetStyle('Plain') |
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
FROM cern/slc6-base | |
# Instll prerequisites - yum | |
RUN yum install -y wget zlib zlib-devel bzip2 bzip2-devel readline-devel git cmake tar gzip | |
RUN yum groupinstall -y "Development Tools" | |
RUN wget https://gist.githubusercontent.com/mustafaturan/8290150/raw/a85c6194f36d7b08b7b97bdf676fa5f945815b70/ruby.2.4.0-setup.sh; \ | |
bash ruby.2.4.0-setup.sh | |
RUN wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/Openwsman/CentOS_CentOS-6/x86_64/swig-3.0.2-5.1.x86_64.rpm; \ |
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 "mbed.h" | |
#include "LIS3DH.h" | |
#include <math.h> | |
#define USE_LED | |
#define USE_SERIAL | |
#ifdef USE_SERIAL | |
Serial pc(SERIAL_TX, SERIAL_RX); | |
#endif |
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
FROM cern/slc6-base | |
# Instll prerequisites - yum | |
RUN yum install -y wget zlib zlib-devel bzip2 bzip2-devel readline-devel git cmake tar gzip | |
RUN yum groupinstall -y "Development Tools" | |
RUN wget https://gist.githubusercontent.com/mustafaturan/8290150/raw/a85c6194f36d7b08b7b97bdf676fa5f945815b70/ruby.2.4.0-setup.sh; \ | |
bash ruby.2.4.0-setup.sh | |
RUN wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/Openwsman/CentOS_CentOS-6/x86_64/swig-3.0.2-5.1.x86_64.rpm; \ |
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 <stdio.h> | |
#include <Wire.h> | |
#include <ESP8266WiFi.h> | |
#include <BME280.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
// WiFi configuration | |
const char* ssid = "WIFI_SSID"; | |
const char* password = "WIFIT_PASSWORD"; |
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
all: crc_example | |
crc_example: crc_example.cc | |
clang++ -std=c++11 -stdlib=libc++ $^ -o $@ |
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
require "gnuplot" | |
data=<<EOS | |
2016-07-19T23:47:53.432Z 33.2 | |
2016-07-19T23:41:59.558Z 33.1 | |
2016-07-19T23:36:06.183Z 32.9 | |
2016-07-19T23:30:09.101Z 32.7 | |
2016-07-19T23:24:15.936Z 32.6 | |
2016-07-19T23:18:19.082Z 32.4 | |
2016-07-19T23:12:20.944Z 32.4 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder