Skip to content

Instantly share code, notes, and snippets.

View dimme's full-sized avatar
🛰️
Beep beep beep

dimme

🛰️
Beep beep beep
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dimme on github.
  • I am dvlastaras (https://keybase.io/dvlastaras) on keybase.
  • I have a public key ASAKT3hYp7efEeCDA3xHl1HR0AAodpezq7h7NsJ_ddNeewo

To claim this, I am signing this object:

<!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 {
@dimme
dimme / MailBuzz.ino
Last active August 29, 2015 14:24
MailBuzz
/****************************************************************/
/* MailBuzz implementation for Arduino by Dimitrios Vlastaras */
/****************************************************************/
#include <SPI.h>
#include <SFE_CC3000.h>
#include <SFE_CC3000_Client.h>
#include "LinkedList.h"
// Pins
@dimme
dimme / stewie.m
Created March 31, 2015 15:59
Implementation of a Stewart platform in MATLAB
function stewie()
% Copyright Dimitrios Vlastaras
% 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;
#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
@dimme
dimme / gist:7223634
Last active December 26, 2015 22:29
#!/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"
<?php exec("echo 1 > /dev/ttyUSB0"); ?>
/* Arduino WebVisitors Blinker by Dimme.net */
int ledPin = 12;
int val = 0;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
/* 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
/* 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);