Skip to content

Instantly share code, notes, and snippets.

View ckcr4lyf's full-sized avatar
🦀

Raghu Saxena ckcr4lyf

🦀
View GitHub Profile
@ckcr4lyf
ckcr4lyf / Form1.cs
Created January 21, 2017 11:20
InstaHaxx
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ckcr4lyf
ckcr4lyf / random_rename.js
Created May 16, 2020 14:52
Rename files in a given path to random hex string (removes extension)
#!/usr/bin/env node
const fs = require('fs');
const crypto = require('crypto');
if (process.argv.length < 3){
console.log(`Missing path`);
process.exit(1);
}
const path = process.argv[2];
@ckcr4lyf
ckcr4lyf / carmen.py
Created October 17, 2020 02:24
An example solution for A1 Q2
# COMP1117 A1Q2 sample solution
# By Raghu Saxena
result = []
previous_letter = 'a'
input_letter = input()
count = 0
while input_letter != '!':
if input_letter == previous_letter:
"workbench.colorTheme": "Default High Contrast",
"workbench.colorCustomizations": {
"[Default High Contrast]": {
"editor.background": "#070025",
"editor.foreground": "#037cbd",
"editor.lineHighlightBorder": "#ff00ff",
"editor.selectionBackground": "#ffb4f5a4",
"selection.background": "#008000",
"statusBarItem.remoteBackground": "#f807d800",
"activityBar.background": "#070025",
@ckcr4lyf
ckcr4lyf / qbit.md
Last active May 20, 2021 04:58
Installing qbittorrent on USB

qBittorrent on USB Shared Boxes

This guide needs basic terminal (SSH) knowledge.

Setup

cd ~/.apps
wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.1_v1.2.11/amd64-glibc-qbittorrent-nox -O qbittorrent-nox
chmod +x qbittorrent-nox
@ckcr4lyf
ckcr4lyf / script.sh
Last active September 27, 2023 10:10
Convert all FLAC files in directory to ALAC (m4a) via ffmpeg
#!/bin/bash
for file in *.flac; do
input="$file"
output="${file%.flac}.m4a"
ffmpeg -i "$input" -c:v copy -acodec alac "$output"
done
echo "Conversion complete."
@ckcr4lyf
ckcr4lyf / README.md
Created April 30, 2024 18:35
Source code for Encrypted Client Hello stuffs on MyWaifu
@ckcr4lyf
ckcr4lyf / guide.md
Created April 12, 2024 10:52
Revanced Guide

Setup Revanced

This gist is just to collect all the links etc. to make it easy. I will try and keep it updated if something changes.

Steps

This assumes a clean phone with no trace of ReVanced or MicroG.

  1. Download Revanced Manager: https://revanced.app/download
  2. Disable YouTube default app in Android Settings
@ckcr4lyf
ckcr4lyf / node_ipc_malware.md
Last active May 18, 2026 20:51
Explanation of the malware in node-ipc