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-download.md
Last active December 11, 2025 09:47
Free download of Fritzing using the official download links
@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)
@andrewssobral
andrewssobral / agx_xavier_tips-and-tricks.md
Last active December 1, 2025 10:23
Tips and Tricks for Jetson AGX Xavier
@mysiar
mysiar / garmin-iq-sdk-ubuntu-18.04.md
Last active August 11, 2025 22:12
Garmin IQ SDK on Ubuntu 18.04
@innat
innat / FFmpeg | Basic Operation on Subtitles.md
Last active August 15, 2025 18:50
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 September 29, 2025 21:06
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