Skip to content

Instantly share code, notes, and snippets.

View rakisaionji's full-sized avatar
✝️
God bless America.

Raki Saionji rakisaionji

✝️
God bless America.
View GitHub Profile
@rakisaionji
rakisaionji / RevertNewLayout.md
Created January 18, 2024 20:30 — forked from aamiaa/RevertNewLayout.md
Revert New Discord Layout

Revert New Discord Layout

How to use this script:

  1. Go to https://discord.com/app
  2. Press Ctrl + Shift + I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
let wpRequire;
@rakisaionji
rakisaionji / CakeTest.cs
Created March 15, 2021 12:58
Testing a native DLL with C#.
using System;
using System.Runtime.InteropServices;
namespace CakeTest
{
class Program
{
[DllImport("Cake")]
private static extern IntPtr GetHttpEncryptHeader();
@rakisaionji
rakisaionji / GdriveFetcher.cs
Last active October 13, 2023 02:42
Automatically download a specific folder from Google Drive with Firebase, shared permission to Firebase SDK is required.
using Google.Apis.Auth.OAuth2;
using Google.Apis.Drive.v3;
using Google.Apis.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
static class Program

CockroachDB and Docker Compose

This is the first in a series of tutorials on CockroachDB and Docker Compose

  • Information on CockroachDB can be found here.
  • Information on Docker Compose can be found here
  1. Install Docker Desktop

Because we already have an official CockroachDB docker image, we will use that in our docker-compose.yml file. We recommend you use one of the current tags instead of latest.

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@rakisaionji
rakisaionji / savetheworld.js
Created May 10, 2023 05:12
sows save the world bypass
// ==UserScript==
// @name sows save the world
// @namespace http://bemaniso.ws/
// @version 1.0
// @description try to take over the world!
// @author sherl0k
// @match https://bemaniso.ws/savetheworld.php
// @grant none
// ==/UserScript==
@rakisaionji
rakisaionji / patch.txt
Last active April 14, 2023 07:20
patch.txt for Foxit PhantomPDF 10.1.11.37866
// patch.txt for Foxit PhantomPDF
// Release Date: March 16, 2023
// Version: 10.1.11.37866
# file: patch.txt
# author: rakisaionji
# version: 10.1.11
# image_base: 0x400C00
# crc32: 2ceb72d9
@rakisaionji
rakisaionji / KeyChipData.cs
Created November 29, 2022 05:26
Basic binary deserialization with C#
using System;
using System.IO;
using System.Text;
namespace Sentry.KeyChip
{
/// <summary>
/// Keychip用アプリケーションバイナリデータ処理クラス
/// </summary>
public class KeyChipData
@rakisaionji
rakisaionji / get_eruda.js
Created April 18, 2022 12:07
Console and Inspection for Mobile Browsers. Source: https://github.com/liriliri/eruda
javascript:(
function () {
var script = document.createElement('script');
script.src="//cdn.jsdelivr.net/npm/eruda";
document.body.appendChild(script);
script.onload = function () { eruda.init() }
}
)();
#include <iostream>
#include <fstream>
#include <memory>
#include <string>
#include <algorithm>
void process_crypt_table(unsigned *crypt_table)
{
for (auto i = 0; i < 227; i++)
{