Skip to content

Instantly share code, notes, and snippets.

@alexweberk
alexweberk / mlx_finetuning_gemma.ipynb
Last active May 11, 2024 09:57
MLX Fine-tuning Google Gemma
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pesterhazy
pesterhazy / indexeddb-problems.md
Last active May 11, 2024 09:57
The pain and anguish of using IndexedDB: problems, bugs and oddities

This gist lists challenges you run into when building offline-first applications based on IndexedDB, including open-source libraries like Firebase, pouchdb and AWS amplify (more).

Note that some of the following issues affect only Safari. Out of the major browsers, Chrome's IndexedDB implementation is the best.

Backing file on disk (WAL file) keeps growing (Safari)

When this bug occurs, every time you use the indexeddb, the WAL file grows. Garbage collection doesn't seem to be working, so after a while, you end up with gigabytes of data.

Random exceptions when working with a large number of indexeddb databases (Safari)

@alvinwan
alvinwan / MyMetalKernel.py
Last active May 11, 2024 09:56
How to write a minimal, standalone Python script to run Metal (GPU) kernels on Mac
"""
"Hello world" example of using Metal from Python.
This script can be run from the command line just like any other Python file. No
need for Xcode or any other IDE. Just make sure you have the latest version of
Python 3 installed, along with the PyObjC and pyobjc-framework-Metal packages.
"""
import Metal
import ctypes
@quaternioninterpolation
quaternioninterpolation / ImageDOCrossfade.cs
Last active May 11, 2024 09:51
DOTween UnityEngine.UI.Image image cross fade
/** --
** Copyright (C) 2019 by Josh van den Heever
**
** Permission is hereby granted, free of charge, to any person obtaining a copy of
** this software and associated documentation files (the "Software"), to deal in
** the Software without restriction, including without limitation the rights to
** use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
** of the Software, and to permit persons to whom the Software is furnished to
** do so, subject to the following conditions:
**

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@FlorianHeigl
FlorianHeigl / cheatsheets.md
Last active May 11, 2024 09:50
Printable Cheat Sheets for Software

A collection of links to useful cheat sheets.

Only what's properly printable can get a spot at the top of this list. It should also be small enough to fit on a few pages. almost all links in this document were designed by their creators so that YOU can print them in a good-looking format and store them however is best for you. Anything that isn't really something you could print in A4/UfS Letter format, but is still a well-made cheatsheet can get a spot at the end of the page.

Pleae contribute any you remember you've seen and liked. It would be wonderful if we can get these to be something more commonly made.

Search Engines

# Latest available updates for Windows 10 RTM / version 1507 #
32-bit (x86)
Servicing Stack Update
https://www.catalog.update.microsoft.com/Search.aspx?q=servicing+stack+1507
click on "Last Updated" column to sort by newest update
Cumulative Update for Enterprise 2015 LTSB
https://www.catalog.update.microsoft.com/Search.aspx?q=cumulative+1507
@edokeh
edokeh / index.js
Last active May 11, 2024 09:49
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \

M-Jet Supersprint for Dummies

title

This page provides a few details that will help you build an M-Jet Supersprint 3D Printed RC Jetboat. When you purchase the 3D model files, there is an excellent guide. The aim of this page is not to replace that guide, but rather to supplement it with a few details that make life easier for those coming into the RC hobby for the first time, or who simply want to get going quickly.