Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
gameJam

Jonas Anton Östman jonasbits

💭
gameJam
View GitHub Profile
@jonasbits
jonasbits / assortment_chappel.scad
Created Sep 9, 2020
inspired from www.youtube.com/watch?v=CHFK5sY8ToE&feature=youtu.be&t=1176 by Alexandre Chappel, this is a reverse engineered design made in openscad
View assortment_chappel.scad
//inspired from
//www.youtube.com/watch?v=CHFK5sY8ToE&feature=youtu.be&t=1176
//reverse engineered design made by Alexandre Chappel
//original was made in Fusion 360
//www.patreon.com/chappel
revision=7;
//link to my comment on above video
//www.youtube.com/watch?v=CHFK5sY8ToE&lc=UgzBCuqLaLH0w67O-JJ4AaABAg
View makerslink-furniture.scad
View dpopper-arduino.cpp
/* final version 1.23.25
This is simulating a POP3 server
running on an Arduino
with a ESP-01 wifi module.
ESP-01 is not initilized because
the libraries is missing from Tinkercad Circuits.
We are emulating tx and rx from Serial Monitor.
It should be possible to include Dummy libraries
if there was #ifdef TINKERCAD made available
@jonasbits
jonasbits / bookmarklet-step.js
Last active Jan 5, 2020
TDD for Autodesk Tinkercad Circuits ( git@gist.github.com:02afd475f46cd78a4607ac55765e50df.git )
View bookmarklet-step.js
//javascript:(function(){ <-remember this beginning when creating bookmarklets
javascript:(function(){
var txField = document.getElementsByClassName("js-code_panel__serial__input")[0];
var sendBtn = document.getElementsByClassName("js-code_panel__serial__send")[0];
var newHash = 0;
/*step debug (use this comment style)*/
if(window.location.hash) {
var hash = window.location.hash.substring(1);
@jonasbits
jonasbits / makersLink.json
Last active Oct 10, 2019
makersLink_think_with_portals
View makersLink.json
@jonasbits
jonasbits / .main.cpp
Last active Oct 8, 2019
Uno or F103RB build files in PlatformIO (subset of files, please read main.cpp and platformio.ini)
View .main.cpp
#include <Arduino.h>
#if defined ARDUINO_AVR_UNO || defined ARDUINO_AVR_LEONARDO
#include <Arduino_FreeRTOS.h>
#elif defined ARDUINO_NUCLEO_F103RB
#include <STM32FreeRTOS.h>
#elif defined ARDUINO_DISCO_L072CZ_LRWAN1
#include <STM32FreeRTOS.h>
#endif
@jonasbits
jonasbits / config.txt
Created Aug 21, 2019
konstpaj umeahackerspace autoplay video on rpi
View config.txt
#Umeå Hackerspace konstpaj self-explanatory configuration file
term=1
xres=1920
yres=1080
# auto=0, analogue=1, hdmi=2
aout=0
vol=0
background="black.ppm"
videofolder="videos"
@jonasbits
jonasbits / dnsseeder.json
Last active Dec 12, 2019
dnsseeder.json with values for namecoin
View dnsseeder.json
{
"Name": "Namecoin",
"Desc": "Description of Namecoin",
"ID": "0xfeb4bef9",
"Port": 8334,
"Pver": 70001,
"TTL": 600,
"InitialIP": "127.0.0.1",
"DNSName": "dnsseed.nmctest.net",
"Seeder1": "nmc.seed.quisquis.de",
@jonasbits
jonasbits / libserialport example.c
Last active Dec 17, 2018 — forked from ntd/libserialport example.c
libserialport example
View libserialport example.c
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <unistd.h> // for sleep function
#include <libserialport.h> // cross platform serial port lib
//#include "protocol.h"
//const char* desired_port = "COM8";
You can’t perform that action at this time.