Skip to content

Instantly share code, notes, and snippets.

View mnemocron's full-sized avatar
:octocat:
bonk!

Simon Burkhardt mnemocron

:octocat:
bonk!
View GitHub Profile
@brabect1
brabect1 / sta_cdc_paths.rst
Last active February 29, 2024 05:28
Timing constraints for clock-domain crossings. #sta #cdc
@dxmekch
dxmekch / flighttracking.md
Last active March 7, 2021 19:19
This GIST is all about flighttracking and sharing data with other sites like adsbexchange, flightradar, flighaware, planefinder etc.

Flighttracking

This GIST is all about flighttracking and sharing data with other sites as adsbexchange, flightradar, flighaware, planefinder etc.

Pre Requisites for tracking

Things you need to install, to track planes and stats:

  • READSB (will connect to your local USB RTLSDR or a network connection)
  • TAR1090 will be used as our frontend
  • GRAPHS1090 will be used as our main stats tool (be aware only on pi all information will be available such as core temp)
@ianchen06
ianchen06 / end.gcode
Last active February 23, 2022 01:38
Anet A8 start end gcode
;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
@dariosalvi78
dariosalvi78 / ADS1256.c
Last active December 21, 2023 08:23
Simple library for ADS1256 to be used with Arduino. It does not implement the whole set of features, but can be used as a starting point for a more comprehensive library.
/* ADS1256 simple library for Arduino
ADS1256, datasheet: http://www.ti.com/lit/ds/sbas288j/sbas288j.pdf
connections to Atmega328 (UNO)
CLK - pin 13
DIN - pin 11 (MOSI)
DOUT - pin 12 (MISO)
CS - pin 10
DRDY - pin 9
RESET- pin 8 (or tie HIGH?)
#!/bin/bash
#
# Compare two PDF files.
# Dependencies:
# - pdfinfo (xpdf)
# - pdfjam (texlive-extra-utils)
# - diffpdf
#
MAX_HEIGHT=15840 #The maximum height of a page (in points), limited by pdfjam.
@dogrocker
dogrocker / ESP8266 Web Server to storing ap config to EEPROM.md
Last active October 12, 2022 12:02
ESP8266 Web Server to storing ap config to EEPROM

ESP8266 Web Server to storing ap config to EEPROM.

Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.

This is sample code not yet complete.

Todo

  • when Wifi connected need to close the softAP.
@esromneb
esromneb / g2rref.m
Last active July 21, 2022 12:28
matlab's rref function modified to operate in gf(2)
% This is a modified version of matlab's building rref which calculates
% row-reduced echelon form in gf(2). Useful for linear codes.
% Tolerance was removed because yolo, and because all values
% should only be 0 or 1. @benathon
function [A] = g2rref(A)
%G2RREF Reduced row echelon form in gf(2).
% R = RREF(A) produces the reduced row echelon form of A in gf(2).
%
% Class support for input A:
@kanazux
kanazux / mac_vendor_list
Created May 5, 2014 15:04
mac vendor list
00:00:00 XEROX CORPORATION
00:00:01 XEROX CORPORATION
00:00:02 XEROX CORPORATION
00:00:03 XEROX CORPORATION
00:00:04 XEROX CORPORATION
00:00:05 XEROX CORPORATION
00:00:06 XEROX CORPORATION
00:00:07 XEROX CORPORATION
00:00:08 XEROX CORPORATION
00:00:09 XEROX CORPORATION
@rtt
rtt / tinder-api-documentation.md
Last active April 15, 2024 18:34
Tinder API Documentation

Tinder API documentation

Note: this was written in April/May 2014 and the API may has definitely changed since. I have nothing to do with Tinder, nor its API, and I do not offer any support for anything you may build on top of this. Proceed with caution

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)