Skip to content

Instantly share code, notes, and snippets.

View holman57's full-sized avatar
🦐
how shrimple could it be?

Luke Holman holman57

🦐
how shrimple could it be?
View GitHub Profile
@max-i-mil
max-i-mil / linux-vms-on-apple-m1-with-networking.md
Last active February 17, 2026 09:45
Short summary to run Linux VMs on an Apple M1 host using QEMU, libvirt and HVF with a working network setup

Linux Virtual Machines with Private Network on an Apple M1 Device

Background

The aim was to be able to:

  1. Run multiple Linux VMs on an Apple M1/ARM device
  2. Use Apple's HVF for native performance speeds
  3. Configure VMs to allow network access to each other
  4. Configure VMs to allow access to the internet
  5. Not rely on custom modifications of software
@pushpendre
pushpendre / pid_control_servers.ipynb
Created July 4, 2021 19:49
PID Controller for controlling the number of servers in a data-center. This notebook accompanies the video https://youtu.be/pKuVUmpYkLk
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wd5gnr
wd5gnr / main.c
Created April 25, 2021 19:43
Simple SQLite example
#include <sqlite3.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
sqlite3 *db;
sqlite3_stmt *sql;
int rv;
rv=sqlite3_open("parts.db",&db);
@wd5gnr
wd5gnr / atodsim.txt
Last active August 15, 2024 11:22
Falstad Simulator with Arduino A2D Example
#if 0 // simulation documentation
WARNING WARNING WARNING WARNING
Using any of the simulator's Save/Export functions will _NOT_
save this soure code! Before exiting the simulator, you must
save this text file somewhere.
Note that the schematic is encoded in text below. If you change the
schematic, you'll need to update the import text below to "save" it
with this file. However, the code doesn't care about that at all. Use
@FreddieOliveira
FreddieOliveira / docker.md
Last active March 16, 2026 21:17
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android πŸ‹πŸ“±

Edit πŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@doctor-g
doctor-g / workflow.yml
Last active December 28, 2024 13:07
Workflow to publish a Flutter Web app to GitHub Pages
name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
@tamuhey
tamuhey / tokenizations_post.md
Last active July 27, 2024 14:46
How to calculate the alignment between BERT and spaCy tokens effectively and robustly

How to calculate the alignment between BERT and spaCy tokens effectively and robustly

image

site: https://tamuhey.github.io/tokenizations/

Natural Language Processing (NLP) has made great progress in recent years because of neural networks, which allows us to solve various tasks with end-to-end architecture. However, many NLP systems still require language-specific pre- and post-processing, especially in tokenizations. In this article, I describe an algorithm that simplifies calculating correspondence between tokens (e.g. BERT vs. spaCy), one such process. And I introduce Python and Rust libraries that implement this algorithm. Here are the library and the demo site links:

@ksferguson
ksferguson / Dell-7559-GTX960M-Ubuntu-Setup.md
Last active July 22, 2021 00:59
Dell 7559 GTX960M Ubuntu 16.04 Setup with Nvidia cuda/cuDNN for Tensorflow #dell #7559 #nvidia #ubuntu

Ubuntu Setup Notes for Dell 7559 with GTX 960M

scott@ksf16u:~$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
scott@ksf16u:~$ lspci | grep -i 3D
02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)

Objective is to allow NVidia GTX 960M to work as accelerated GPU with Tensorflow 1.8 (current as of 6/10/18). This supports Eager execution for dynamic graphs.

@bkaradzic
bkaradzic / orthodoxc++.md
Last active March 17, 2026 19:53
Orthodox C++

Orthodox C++

This article has been updated and is available here.

@staltz
staltz / introrx.md
Last active March 10, 2026 03:48
The introduction to Reactive Programming you've been missing