Skip to content

Instantly share code, notes, and snippets.

View j-hc's full-sized avatar
😶‍🌫️

j-hc

😶‍🌫️
View GitHub Profile
@iamtimmy
iamtimmy / set_explorer.reg
Created March 1, 2025 17:03
registry files to set and unset filepilot as the default file manager.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell]
@="none"
[-HKEY_CLASSES_ROOT\Drive\shell\open]
[HKEY_CLASSES_ROOT\Directory]
@="File Folder"
@mmazzarolo
mmazzarolo / disable-people-also-search-for-google.md
Last active January 20, 2025 01:39
Disabling "People also search for" box in Google search results
@PurpleBooth
PurpleBooth / README.md
Last active September 8, 2023 20:52
A github workflow pipeline for rust that does test, build and deploy windows, linux and mac, creates releases, and does SemVer Versioning, and releases to a homebrew tap

Features

  • Automatically bump SemVer
  • Update a personal homebrew tap
  • Keep that pesky version in the Cargo.toml up to date
  • (From dependabot) Get new versions out as soon as possible

Assumptions

  • You don't want a changelog
@Beneboe
Beneboe / how-to-setup-verified-commits.md
Last active July 29, 2025 22:31
How to Setup Verified Commits on Github
@pwlin
pwlin / gist:8a0d01e6428b7a96e2eb
Last active November 24, 2025 03:23
Android : add cert to system store
https://code.google.com/p/android/issues/detail?id=32696#c5
If you have a certificate that is not
trusted by Android, when you add it, it goes in the personal cert store.
When you add a cert in this personal cert store, the system requires a
higher security level to unlock the device. But if you manage to add your
cert to the system store then you don't have this requirement. Obviously,
root is required to add a certificate to the system store, but it is quiet
easy.
@xxnjdlys
xxnjdlys / add log to smali code
Created April 10, 2015 06:43
add log to smali code
package com.sadieyu.logg;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
/*
.class public Lcom/sadieyu/logg/MainActivity;
.super Landroid/app/Activity;
.source "MainActivity.java"

Or what the hell do #![no_start], #![no_main], #[lang = "start"], #[start], and #[main] do?

Crate Attributes:

#![no_start]

Disable automatically linking in the native crate and thus the default start lang item.

Which means you'll probably need one of: #![no_main], #![lang = “start”] or #[start] instead