Skip to content

Instantly share code, notes, and snippets.

View Lyoko-Jeremie's full-sized avatar
😊
Today, I'm proud to have pushed human civilization forward again.

LyokoJeremie Lyoko-Jeremie

😊
Today, I'm proud to have pushed human civilization forward again.
View GitHub Profile
@moesoha
moesoha / get-unsubscribe.py
Created July 8, 2024 15:08
get unsubscribe method from raw email
import sys
import re
import urllib.parse
def get_unsubscribe_methods(eml_path):
unsubscribe = None
with open(eml_path, encoding='ascii', errors='ignore') as f:
for line in f:
if not line.strip():

Building Chrome V8 on Windows

In order to be able to build v8 from scratch on Windows for x64, please follow the following steps.

These instructions were updated to work with Windows 11 Build 10.0.22621, but this should also work on WInodws 10

NOTE: While the Chrome team does provide decent documentation, there are some nuances and other additional steps that must be done for v8 to compile on Windows.

Documentation:

@colemickens
colemickens / amiibo-emulation-with-linux-vm.md
Last active May 3, 2025 12:48
amiibo-emulation-with-linux-vm.md

Easy Amiibo Emulation - https://bit.ly/2z0m09k

(^ that's a short-link to this page, so you can open it in Linux)

Some users are discussing this guide in #hacking on the JoyConDroid Discord: https://discord.gg/SQNEx9v.

DO NOT ask for, or share links to, Amiibo bins in the comments! They will be removed. Thank you for understanding.

(Windows|Linux PC) + JoyControl + Bluetooth = AMIIBO EMULATION

@babhishek21
babhishek21 / xclip.cpp
Created March 21, 2018 20:57
xClip (Reverse Clip) for Windows - Simulate reverse process of the clip command on Windows
/**
* xClip (Reverse Clip) for Windows
* Author: Abhishek Bhattacharya <[email protected]>
*
* Build Environment:
* Windows 10 Version 1607 (Windows 7 or above should work fine)
* MinGW g++ (GCC) 5.3.0 or above (with flag --std=c++11)
* UPX x3.91 or above
* Runtime Environment:
* Windows 7 or above
@ysc3839
ysc3839 / ITrayNotify.cpp
Created October 12, 2017 14:26
Undocumented API ITrayNotify.
#include <tchar.h>
#include <windows.h>
// The known values for NOTIFYITEM's dwPreference member.
enum NOTIFYITEM_PREFERENCE
{
// In Windows UI: "Only show notifications."
PREFERENCE_SHOW_WHEN_ACTIVE = 0,
// In Windows UI: "Hide icon and notifications."
PREFERENCE_SHOW_NEVER = 1,
@ageis
ageis / YubiKey-GPG-SSH-guide.md
Last active April 10, 2025 08:49
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate). I've published a Bash function which automates this slightly special key generation process.

@Sg4Dylan
Sg4Dylan / get_play_status_from_netease_music.py
Last active October 10, 2023 07:31
网易云音乐远程控制
#!/usr/bin/env python
#coding:utf-8
# Author: Sg4Dylan -- <sg4dylan#gmail.com>
# Update: 10/13/2017
'''
透过 Chrome Debug Protocol 读取网易云音乐当前播放状态
启动播放器时附带启动参数
--remote-debugging-port=8080
@UnaNancyOwen
UnaNancyOwen / HarfBuzz.1.3.4.md
Last active May 10, 2019 18:59
Building HarfBuzz with Visual Studio
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active July 12, 2023 15:22
How to use OpenCV FreeType module with Visual Studio
cmake_minimum_required( VERSION 3.6 )
# Create Project
project( test )
add_executable( freetype main.cpp )
# Set StartUp Project
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "freetype" )
# Set CharacterSet
@lorenzodallavecchia
lorenzodallavecchia / bluebird-zone.js
Last active February 15, 2017 21:51
Patch for making the Bluebird library aware of Zone.js
/*
* Based on Bluebird 3.4.1
*/
(function() {
var Promise = window.Promise;
var promiseProto = Promise.prototype;
if (typeof Promise.mapSeries !== "function") {
return; // Bluebird not loaded
}