Skip to content

Instantly share code, notes, and snippets.

View Frulko's full-sized avatar
🦁

Guillaume Dumoulin Frulko

🦁
View GitHub Profile
@lunginspector
lunginspector / iosdevicecolor.md
Last active December 9, 2024 14:45
How to change trick an iOS device into thinking it has a different enclosure color

How to change trick an iOS device into thinking it has a different enclosure color

Notice: I am not responsible if you mess something up. Do this at your own risk.

This is NOT a tutorial. This just shows what needs to be edited in MobileGestalt for this to work.

The Keys

  • DeviceEnclosureColor - JhEU414EIaDvAz8ki5DSqw
  • DeviceColor - mumHZHMLEfAuTkkd28fHlQ

Important Notice: These keys are already in MobileGestalt, so you do not need to add them.

@andrasbacsai
andrasbacsai / firewall.sh
Last active April 19, 2025 14:31
Update a Hetzner Firewall rule with your IP address
#!/bin/bash
# Script to update a firewall rule in a Hetzner Firewall with your current IP address.
# Good if you would like to restrict SSH access only for your current IP address (secure).
#################
# WARNING: This script will overwrite all rules in the firewall rules, so make sure you
# added all the required rules.
# I use a separate firewall rule just for SSH access.
#################
@kyrylo
kyrylo / deploy.yml
Created September 13, 2024 10:56
Deploy with Kamal and GitHub Actions
name: Deploy
on:
push:
branches:
- main
jobs:
Deploy:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
@Alex-Schaefer
Alex-Schaefer / bambu-ssdp-discovery.py
Last active May 11, 2025 01:58
Python implementation to send a fake SSDP discovery message to Bambu Studio or Orca Slicer
# Derived from this: https://github.com/gashton/bambustudio_tools/blob/master/bambudiscovery.sh
# Python implementation without need for linux
# Send the IP address of your BambuLab printer to port 2021/udp, which BambuStudio is listens on.
# Ensure your PC has firewall pot 2021/udp open. This is required as the proper response would usually go to the ephemeral source port that the M-SEARCH ssdp:discover message.
# But we are are blindly sending a response directly to the BambuStudio listening service port (2021/udp).
# Temporary solution to BambuStudio not allowing you to manually specify the Printer IP.
# Usage:
Wonder Boy: The Dragon's Trap
-----------------------------
Quick Guide for programmers
Last updated October 2018
Contact: Omar Cornut <XXXXXX
===============================================
INDEX
===============================================
@markjaquith
markjaquith / Laracon US 2023.md
Created July 20, 2023 21:29
Rough notes from Laracon US 2023

These notes are super rough, and I didn’t take notes for a couple sessions. Let me know if you found them useful or they helped you remember things presented at the conference! @markjaquith on Twitter.

Pest PHP

by Nuno Maduro

[!question] How do snapshots work in CI? Won’t there not be an existing snapshot when the tests run?

Cool new features

How to install game-porting-toolkit (aka proton for macOS)

You also might wanna just use Whisky which does this automatically

This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!

What is this?

In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.

@dmnsgn
dmnsgn / JavaScript landscape: compilers, bundlers and others by the numbers.md
Last active January 2, 2025 04:42
A non-exhaustive list of tools for JavaScript development as it has become "complicated".

JavaScript landscape: compilers, bundlers and others by the numbers

A non-exhaustive list of tools for JavaScript development as it has become "complicated".

Compilers

Name: language Stars Last Commit Owner/Sponsorship
tsc: JavaScript GitHub Repo stars GitHub last commit Microsoft
[babel]
export type Obj = Record<any, any>;
export const isArray = Array.isArray;
export const isObject = (val: unknown): val is Obj => {
return val !== null && typeof val === 'object';
};
export type StrapiAttributesObject = {
attributes: any;
@cholmboe
cholmboe / b
Last active October 1, 2024 09:53
A script to search and open chrome bookmarks from your terminal
#!/bin/sh
#
# Search and open chrome bookmarks from your terminal.
#
# Open interactive search:
# $ b
#
# Open first fuzzy matching bookmark:
# $ b <query string>
#