- If you're on Mac and prefer double clicking rather than full terminal, rename it to txt2gct.command so you can double click to execute it.
- make sure the .txt is next to the .sh/.command (or you know how to modify paths)
- chmod 777 txt2gct.sh (or txt2gct.command if you named it that)
- if you DID NOT use a premade .txt from a different build / if you made the txt from scratch, comment or remove line 23 and rename hax.txt to $file on line 26. so if your .txt was from a custom build (which likely used codemgr) then you don't need to do anything.
- haven't tested on files with spaces in name, so if possible rename the .txt without spaces.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########### | |
# General # | |
########### | |
vo=libmpv | |
cocoa-force-dedicated-gpu=yes | |
#load-stats-overlay=no | |
# OpenGL settings | |
gpu-api=opengl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Let's "secure" even the script for you :) | |
sudo -v | |
function ok() { | |
echo -e "[OK] "$1 | |
} | |
function bot() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# assuming youu have magisk, put this in /data/adb/service.d/ | |
sleep 22; | |
# Disable sysctl.conf to prevent ROM interference #1 | |
if [ -e /system/etc/sysctl.conf ]; then | |
mount -o remount,rw /system; | |
mv /system/etc/sysctl.conf /system/etc/sysctl.conf.bak; | |
mount -o remount,ro /system; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.IO; | |
using System.Diagnostics; | |
namespace CodeBuildTool | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import socket | |
import httplib | |
import random | |
import sys | |
import time | |
from datetime import date | |
import urllib | |
import cgi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#~ AutoGet Script ~# | |
#~ cron example, run every 10mn: ~# | |
#~ */10 * * * * /path/to/script/autodl.sh >/dev/null 2>&1 ~# | |
# variables | |
RSSKEY=####_##################### | |
USERID=##### | |
AUTH=################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* TYPEDEFS */ | |
typedef unsigned char u8; | |
typedef unsigned short u16; | |
typedef long size_t; | |
/* EXTERNS */ | |
int iprintf(const char * format, ...); | |
void firmware_page_program_and_write(int offset, void * buffer, int length); | |
void firmware_read(int offset, void *buffer, int length); | |
int memcmp(void * dst, void * src, int length); | |
int memcpy(void * dst, void * src, int length); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zipfile | |
import os | |
print("make sure this is running in the same directory as your appx file") | |
appxfile=raw_input("please enter the file name of the appx you want to unpack: ") | |
folder=appxfile.replace(".appx","") | |
folder=folder.replace("bundle", "") | |
if not os.path.exists(folder): | |
os.makedirs(folder) | |
zip_ref = zipfile.ZipFile(appxfile, 'r') | |
zip_ref.extractall(folder) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Discord LINE Stickers Haxx | |
// @version 1 | |
// @description add line stickers to web version of discord | |
// @include https://discordapp.com/channels/* | |
// ==/UserScript== | |
document.head.appendChild(document.createElement('script')).setAttribute("src", "https://magane.moe/api/dist/magane") |