Skip to content

Instantly share code, notes, and snippets.

View triskell's full-sized avatar

Thomas Abot triskell

View GitHub Profile
I was drawn to programming, science, technology and science fiction
ever since I was a little kid. I can't say it's because I wanted to
make the world a better place. Not really. I was simply drawn to it
because I was drawn to it. Writing programs was fun. Figuring out how
nature works was fascinating. Science fiction felt like a grand
adventure.
Then I started a software company and poured every ounce of energy
into it. It failed. That hurt, but that part is ok. I made a lot of
mistakes and learned from them. This experience made me much, much
@companje
companje / decrypt.py
Last active May 10, 2021 14:07
Experiment with Davinci version 3 protocol encrypt / decrypt / upload (based on pythreedub)
from Crypto.Cipher.AES import AESCipher, MODE_ECB, MODE_CBC
file = open("flatcube/flatcube-1-layer.3w", 'rb')
string = file.read()
enc_gcode = string[0x2000:]
aes = AESCipher("@xyzprinting.com@xyzprinting.com", mode=MODE_ECB, IV=chr(0)*16)
gcode = aes.decrypt(enc_gcode)
print gcode
@morganrallen
morganrallen / _README.md
Last active January 15, 2023 19:41
Janky Browser

JankyBrowser

The only cross-platform browser that fits in a Gist!

One line install. Works on Linux, MacOSX and Windows.

Local Install

$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
@CromFr
CromFr / Notes D.d
Created January 31, 2014 12:26
Notes on D programming
Notes D
"===================================== Types:"
auto a = 12;
// Same as c++11 auto
<type>.stringof
// Name of the type
@iainconnor
iainconnor / Android Studio .gitignore
Created January 24, 2014 20:20
A .gitignore for use in Android Studio
# Built application files
/*/build/
# Crashlytics configuations
com_crashlytics_export_strings.xml
# Local configuration file (sdk path, etc)
local.properties
# Gradle generated files
@prwhite
prwhite / Makefile
Last active May 31, 2024 20:56
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@CromFr
CromFr / gist:7332474
Created November 6, 2013 07:57
Notes Microtransat
FPGA :
Mojo v3 (Embeded Micro)
Linux embarqué:
Beaglebone Black
(5v, 210-460mA)
FPGA+Microproc:
http://www.armadeus.com/francais/produits-cartes_microprocesseur-apf27.html
@CromFr
CromFr / gist:6675752
Created September 23, 2013 19:34
STM32
Projet STM32 F4 Disc en C++11 : http://forums.openpilot.org/topic/19613-stm32f4-antenna-tracker/
Pinout : http://kornak.ca/parts/stm32-discovery-f4/Kornak-(STM32-Discovery-F4)-0001%20Rev%201.00%20Module%20Pinouts%20&%20Functions.xls
Contrôle bus SPI pour RF : http://eliaselectronics.com/stm32f4-tutorials/stm32f4-spi-tutorial/
Installation toolchain & build des libs : http://sigalrm.blogspot.fr/2012/09/stm32f4-discovery-quick-start-guide.html
Tuto stm32 : http://jeremyherbert.net/get/stm32f4_getting_started