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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>OFM charts OpenLayers example</title> | |
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css"> | |
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> | |
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script> | |
<script src="https://openlayers.org/en/v5.3.0/build/ol.js"></script> | |
<style> | |
html, body { |
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
/****************************************************************/ | |
/* MailBuzz implementation for Arduino by Dimme */ | |
/****************************************************************/ | |
#include <SPI.h> | |
#include <SFE_CC3000.h> | |
#include <SFE_CC3000_Client.h> | |
#include "LinkedList.h" | |
// Pins |
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 stewie() | |
% Copyright Dimme | |
% Distributed under the Attribution-ShareAlike CC BY-SA license | |
% Side length of the upper frame | |
a = 10; | |
% Side lengths of the base frame | |
b = 15; | |
d = 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
#include <SPI.h> | |
#include <SFE_CC3000.h> | |
#include "SoftwareSerial.h" | |
#include <Thermal.h> | |
// Pins | |
#define CC3000_INT 2 // Needs to be an interrupt pin (D2/D3) | |
#define CC3000_EN 7 // Can be any digital pin | |
#define CC3000_CS 10 // Preferred is pin 10 on Uno |
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
#!/bin/bash | |
set -o nounset | |
set -o errexit | |
REPO_URI=${REPO_URI:-"https://github.com/Hexxeh/rpi-firmware"} | |
UPDATE_SELF=${UPDATE_SELF:-1} | |
UPDATE_URI="https://gist.github.com/Dimme/7223634/raw/29c43a079ac472cb4f3f4912bbf13abb8649a85c/gistfile1.txt" |
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
<?php exec("echo 1 > /dev/ttyUSB0"); ?> |
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
/* Arduino WebVisitors Blinker by Dimme.net */ | |
int ledPin = 12; | |
int val = 0; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(ledPin, OUTPUT); | |
} |
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
/* ATMEL ATMEGA16 Hand-powered v2 POV program made by Dimme.net */ | |
#include "avr/io.h" | |
#define SPACE 100 | |
#define SHORTLINE 100 | |
#define SHORTSHORTLINE 50 | |
#define MIDLINE 300 | |
#define RSPACE 400 |
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
/* ATMEL ATMEGA16 POV program made by Dimme.net */ | |
#include "avr/io.h" | |
#define SPACE 100 | |
#define SHORTLINE 100 | |
#define MIDLINE 300 | |
#define RSPACE 400 | |
void ch(char); |
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 <LiquidCrystal.h> | |
#include "LCDKeypad.h" | |
#define DAYS 0 | |
#define HOURS 1 | |
#define MINUTES 2 | |
#define SECONDS 3 | |
// The LCD screen | |
LCDKeypad lcd; |
NewerOlder