Skip to content

Instantly share code, notes, and snippets.

View arm64x's full-sized avatar

Lê Tí arm64x

View GitHub Profile
@arm64x
arm64x / ShopeeOrderStatistics.user.js
Last active December 25, 2024 15:23
Shopee Order Statistics
// ==UserScript==
// @name Shopee Order Statistics
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Thống kê đơn hàng Shopee dựa theo https://github.com/Tiencp93/Shopee
// @author Lê Tí
// @match https://shopee.vn/user/purchase*
// @grant none
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js
// ==/UserScript==
@arm64x
arm64x / fshare-copy-all-links.user.js
Last active October 14, 2024 04:06
Fshare Select All and Copy Links
@arm64x
arm64x / openssl_encrypt_decrypt.php
Created October 7, 2023 06:30 — forked from joashp/openssl_encrypt_decrypt.php
Simple PHP encrypt and decrypt using OpenSSL
<?php
/**
* simple method to encrypt or decrypt a plain text string
* initialization vector(IV) has to be the same when encrypting and decrypting
*
* @param string $action: can be 'encrypt' or 'decrypt'
* @param string $string: string to encrypt or decrypt
*
* @return string
*/
@arm64x
arm64x / squid_proxy_tutorial.md
Created December 7, 2022 12:06 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils
@arm64x
arm64x / FixTwitterKeychain.m
Created June 17, 2022 14:47 — forked from BandarHL/FixTwitterKeychain.m
Fix Twitter Login for non-JB (IPA)
%hook TFSKeychain
- (NSString *)providerDefaultAccessGroup {
NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys:
(__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass,
@"bundleSeedID", kSecAttrAccount,
@"", kSecAttrService,
(id)kCFBooleanTrue, kSecReturnAttributes,
nil];
CFDictionaryRef result = nil;
OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result);
@arm64x
arm64x / fixYouTubeLogin.m
Created June 17, 2022 14:46 — forked from BandarHL/fixYouTubeLogin.m
This solution working only in main bundle com.google.ios.youtube
%hook SSOKeychain
+ (id)accessGroup {
NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys:
(__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass,
@"bundleSeedID", kSecAttrAccount,
@"", kSecAttrService,
(id)kCFBooleanTrue, kSecReturnAttributes,
nil];
CFDictionaryRef result = nil;
OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result);