Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
@bmaupin
bmaupin / free-backend-hosting.md
Last active July 11, 2025 09:31
Free backend hosting
@ForgottenUmbrella
ForgottenUmbrella / using_conan_cpp.md
Last active April 9, 2025 06:19
How to use Conan, a C++ package manager, for beginners

Package Management in C++ with Conan for Beginners

C++ package management can be complicated.

Below are some key tools involved:

Make

Make runs commands defined in a Makefile, for example, to build and install programs with the compiler and linker. For our purposes, we won't worry about what this looks like; you only need to understand its purpose in relation to CMake.

@csarron
csarron / scrcpy_shortcut.md
Created April 20, 2018 02:08
Scrcpy Shortcuts

Scrcpy Shortcuts

Action Shortcut
switch fullscreen mode Ctrl+f
resize window to 1:1 (pixel-perfect) Ctrl+g
resize window to remove black borders Ctrl+x | Double-click¹
click on HOME Ctrl+h | Middle-click
click on BACK Ctrl+b | Right-click²
click on APP_SWITCH Ctrl+m
@mustelida
mustelida / Hexpatcher.md
Last active January 19, 2025 08:12
Batch apply hex edits in PowerShell
@whizkydee
whizkydee / ffmpeg.md
Created July 17, 2018 12:17 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@Ademking
Ademking / readme.md
Last active June 24, 2025 12:43
💚 Android : How to record events and play them using ADB SHELL

1) Know the event name of touchpad :

Run :

adb shell getevent -pl

Search for : "ABS_MT_TRACKING_ID" - example :

apply plugin: 'com.android.application'
android {
...
...
defaultConfig {
...
versionCode 2000
...
@gangadhars
gangadhars / termpage.html
Last active March 6, 2022 07:00
Terminado for xtermjs 3.5.1
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Certetrminal</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/xterm.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/xterm.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/addons/terminado/terminado.js"></script>
<script src="{{ static('terminado.js') }}"></script>
@bluetechy
bluetechy / laravel_encryption.py
Created August 16, 2018 06:35 — forked from nbah22/laravel_encryption.py
Laravel-compatible encryption and decryption in python
import os
import json
import hashlib
import hmac
import base64
from Crypto.Cipher import AES
from phpserialize import loads, dumps
def mcrypt_decrypt(value, iv):
@zrsmithson
zrsmithson / mngw-w64_boost.MD
Last active June 23, 2025 21:53
Installing boost on Windows using MinGW-w64 (gcc 64-bit)

Installing boost on Windows using MinGW-w64 (gcc 64-bit)

Introduction

Boost is easy when you are using headers or pre-compiled binaries for visual studio, but it can be a pain to compile from source on windows, especially when you want the 64-bit version of MinGW to use gcc/g++. This installation process should be thorough enough to simply copy and paste commands, but robust enough to install everything you need.

Note: if you need to install any of the libraries that need dependencies, see this great answer from stack overflow

Get files needed for install

Get the MinGW installer mingw-w64-install.exe from Sourceforge
Get the boost_1_68_0.zip source from Sourceforge
__Note: This should work perfectly w