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
#! /usr/bin/env bash | |
/usr/bin/cvlc -A alsa --play-and-exit /home/jonasbits/vlc-file/sample-15s.mp3 &>> /tmp/log.txt | |
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
#!/usr/bin/env python2 | |
# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; coding: utf-8; -*- | |
# usage: | |
# $ cat /sys/devices/platform/mmc_host/mmcXXXX/mmcYYYY/csd | csdinfo | |
# | |
# reference: | |
# 'Physical Layer Simplified Specification Version 3.01' | |
# https://www.sdcard.org/downloads/pls/simplified_specs/Part_1_Physical_Layer_Simplified_Specification_Ver_3.01_Final_100518.pdf |
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
//javascript:(function(){ <-remember this beginning when creating bookmarklets | |
javascript:(function(){ | |
var version = 3; /*2021-05-31 17:14 */ | |
var final = 0; | |
function extractWSG() { | |
if(document.scripts[14].src == "" && final == 0) { |
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
;[0] FALASA START GCODE 2021-04-11 | |
;CURA NEEDS SPACES INSTEAD OF TABS TO DISPLAY NICELY | |
G21 ;[1] metric values | |
G90 ;[2] absolute positioning | |
M82 ;[3] set extruder to absolute mode | |
M107 ;[4] start with the fan off | |
G28 X0 Y0 ;[5] move X/Y to min endstops | |
;TODO conditional, if hotend is above 170, then flush oz | |
G28 Z0 ;[6] move Z to min endstop (middle X,Y) | |
G1 Z3.0 F1000 ;[7] move nozzle from bed 3 mm |
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
//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 |
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
//Customizer variables here | |
/* [projShelf1] */ | |
ps1_x = 200; // [300] | |
ps1_y = 100; // [200] | |
/* [projShelf2] */ | |
ps2_x = 200; // [300] | |
ps2_y = 100; // [200] | |
/* [projShelf3] */ | |
ps3_x = 200; // [300] |
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
/* 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 |
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
#ifdef ARDUINO | |
#include <Arduino.h> | |
#else | |
#include <iostream> | |
#endif | |
#include <string.h> | |
#define YES 1 | |
#define NO 2 |
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
//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); |
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
{ | |
"parameterSets": { | |
"jonasbits": { | |
"bslDeg": "0", | |
"bslX": "477", | |
"bslY": "90", | |
"fikaX": "0", | |
"fikaY": "0", | |
"loomX": "0", | |
"loomY": "0", |
NewerOlder