Skip to content

Instantly share code, notes, and snippets.

@robonxt
robonxt / Installing the Pebble app on iOS with Sideloadly.md
Last active May 21, 2024 22:09
Installing the Pebble app on iOS with Sideloadly - Rebble (Now)Official Installation Guide by robonxt

NOTICE:

This guide is now in maintenance mode. Rebble made their own official guide based on this, so please follow the updated guide on their website at help.rebble.io/sideload-ios-app. If you have any suggestions, ping me (@robonxt) or one of the helpful people in the official Rebble Discord Server and hopefully there will be a guide update soon!

Thank you for all the support, and long live Pebble and Rebble!

Fun Fact: I've never daily driven Pebble on iOS before, only to test out sideloading and to ensure the guide works with the iOS devices I have 🤣

Installing the Pebble app on iOS with Sideloadly

@thriveth
thriveth / CBcolors.py
Created January 22, 2014 14:52
A color blind/friendly color cycle for Matplotlib line plots. Might want to shuffle it around a bit more,but already not it gives kinda good contrasts between subsequent colors, and shows reasonably well in colorblind filters (though not in pure monochrome).
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a',
'#f781bf', '#a65628', '#984ea3',
'#999999', '#e41a1c', '#dede00']
@clawfire
clawfire / listeNationalité.php
Created March 15, 2013 14:58
Liste des nationalités en Francais
<?php
array(
array('id' => 1, 'title' => _('Afghane')),
array('id' => 2, 'title' => _('Albanaise')),
array('id' => 3, 'title' => _('Algerienne')),
array('id' => 4, 'title' => _('Allemande')),
array('id' => 5, 'title' => _('Americaine')),
array('id' => 6, 'title' => _('Andorrane')),
array('id' => 7, 'title' => _('Angolaise')),
array('id' => 8, 'title' => _('Antiguaise et barbudienne')),
@realvjy
realvjy / ChoasLinesShader.metal
Last active May 21, 2024 22:07
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active May 21, 2024 22:04
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@logich
logich / sophos-cyberoam-xg-home.md
Last active May 21, 2024 22:04
Getting a Cyberoam device to be upgraded to Sophos XG home

These are really rough notes of my process. They maybe helpful to someone else, or may just be a useful reminder to me later.

Sophos XG in their netx gen product and it does more than the UTM product: https://news.sophos.com/en-us/2015/11/10/sophos-xg-firewall-a-network-security-ecosystem-with-many-innovations/

How can I build one using their free XG home software?

There are a bunch of bare bones devices that can run XG Home Edition at around $250 to $300.

I was looking for a cheap way to build this and looking on ebay I saw a bunch of pfsense upgradable devices.

@zudsniper
zudsniper / MacOS_ZIPZ.md
Last active May 21, 2024 22:03
🍎 zod's tip oh no not ... jason's suggestions for macOS use with some sanity (v1)

MacOS ZipZ

cuz like, Zod's tIPs oh no

by @zudsniper on github
v1.0.1

Introduction

MacOS is pretty good, in my opinion. It has some helpful native features. It also has various flaws, and areas where the community has had to pick up the slack and create the thing for good ol' bad Apple.

The Package Manager

@leite08
leite08 / clean_code.md
Created March 5, 2022 23:07 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@slimlime
slimlime / uupdump ConvertConfig.ini explained.md
Created October 8, 2022 22:45
uupdump ConvertConfig.ini explained (convert-UUP, AutoStart, AddUpdates, Cleanup, ResetBase, NetFx3, StartVirtual, wim2esd, wim2swm, SkipISO, SkipWinRE, LCUwinre, UpdtBootFiles, ForceDism, RefESD, SkipEdge, AutoExit, Store_Apps, SkipApps, AppsLevel, CustomList, create_virtual_editions, vAutoStart, vDeleteSource, vPreserve, vwim2esd, vwim2swm, vS…

note: some of the information is posted in comments,
if you'll fork this gist, you'll loose that information,
it is best to just bookmark this one..

WIM

WIM (ESD,SWM) is an image of an OS file system,
it can be mounted, and modified (to some degree) .
there are two possible ways, through DISM or through mounting it directly through an older way, using a driver named imagex (Windows Imaging Utility).
regardless,

terminology