Skip to content

Instantly share code, notes, and snippets.

View micooke's full-sized avatar
💭
I may be slow to respond.

Mark Cooke micooke

💭
I may be slow to respond.
  • Adelaide, Australia
View GitHub Profile
@RyanLua
RyanLua / fritzing.md
Last active July 7, 2025 18:55
Free download of Fritzing using the official download links

Fritzing Free Download

Important

You need to be logged into Fritzing for these download links to work.

Works by redirecting to the official release download. Visiting the links in the browser directly won't work and needs to be a redirect from a website such as Fritzing or GitHub.

Steps

  1. Sign up or log into https://fritzing.org
@x45dev
x45dev / how-to-flash-creality-cr10-mini-bootloader.md
Created December 6, 2023 22:10
How to flash a bootloader onto Creality CR10-Mini controller board (Melzi 1.1.2 Atmega1284p) with Linux/Raspberry Pi and USBasp

Flash bootloader onto Creality CR10-Mini controller board (Melzi 1.1.2 Atmega1284p)

About

Steps to flash a bootloader onto Creality CR10-Mini controller board (Melzi 1.1.2 Atmega1284p) with Linux/Raspberry Pi and USBasp

Unlike CR-10S variants, the CR10 Melzi boards do not come with a pre-flashed bootloader, so this needs to be done first before flashing other firmware onto the controler board.

Hardware and software environment

  • Ubuntu laptop (x86_64) or Raspberry Pi
  • USBasp hardware connector (link below)
@mysiar
mysiar / garmin-iq-sdk-ubuntu-18.04.md
Last active March 26, 2022 11:11
Garmin IQ SDK on Ubuntu 18.04
@innat
innat / FFmpeg | Basic Operation on Subtitles.md
Last active June 6, 2025 06:18
Remove hard subtitles from video file || Integrate subtitles into a video file || Generate .srt file from a video file.

Download FFmpeg for Windows

Steps

  • Download FFmpeg
  • Extract it and save it to C drive ( choose any location - it's optional )
  • Set environment variable - copy the location of bin folder which is inside the extracted file and set the location on system path variable.
  • Done!
#include <SPI.h>
#include <BLEPeripheral.h>
#include <nrf_sdm.h>
#include <nrf_soc.h>
#include <WInterrupts.h>
#define BAUDRATE 38400
#define BUTTON_PIN 29 // Active Low Button on my Board at this pin
@sathiyaseelan
sathiyaseelan / golang_setup.md
Last active July 4, 2025 11:30
Basics to setup a golang project repo in your local

Simple Guide to setup Golang in your Mac and clone a repo.

Setup Go and workspace

Type go in terminal, to verify the installation.

  • Create a Go workspace and set GO PATH
@actuino
actuino / raspberry-tft-9.95-ili9488.md
Last active July 7, 2025 04:18
Cheap 3.95 TFT Screen with ili9488 from mcufriend on a Raspberry Pi Zero
@f0k
f0k / cuda_check.py
Last active December 5, 2024 13:35
Simple python script to obtain CUDA device information
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Outputs some information on CUDA-enabled devices on your computer,
including current memory usage.
It's a port of https://gist.github.com/f0k/0d6431e3faa60bffc788f8b4daa029b1
from C to Python with ctypes, so it can run without compiling anything. Note
that this is a direct translation with no attempt to make the code Pythonic.
@mrocklin
mrocklin / serialize.py
Created March 16, 2015 05:30
Serialization benchmark
import pandas as pd
df = pd.DataFrame({'text': [str(i % 1000) for i in range(1000000)],
'numbers': range(1000000)})
import pickle
import cPickle
import json
from functools import partial
from time import time
@postspectacular
postspectacular / hsv2rgb.ino
Last active June 27, 2025 01:51
Super compact HSV/RGB conversions for Arduino/C
int redPin = 6;
int greenPin = 5;
int bluePin = 9;
float col[3];
float hue = 0.0;
void setup() {
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);