Skip to content

Instantly share code, notes, and snippets.

View downthecrop's full-sized avatar

downthecrop downthecrop

View GitHub Profile
@downthecrop
downthecrop / about.md
Created February 20, 2022 03:34
2009scape Mobile Talk

Basics

What is Pojav Launcher

A launcher for minecraft JAVA edition for Android & iOS

This will only cover Android but you could do this with iOS however it requires libhooker (root)

---- JVM Implementation

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>對戰紀錄</title>
<link rel="stylesheet" href="https://cdngarenanow-a.akamaihd.net/gxx/mobile/web/lib/bootstrap/3.3.5/bootstrap.min.css">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>LOL小幫手</title>
<link rel="stylesheet" href="https://cdngarenanow-a.akamaihd.net/gxx/mobile/web/lib/bootstrap/3.3.5/bootstrap.min.css">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>對戰紀錄</title>
<link rel="stylesheet" href="https://cdngarenanow-a.akamaihd.net/gxx/mobile/web/lib/bootstrap/3.3.5/bootstrap.min.css">
@downthecrop
downthecrop / mostplayed.py
Created March 23, 2022 06:23
most played request garena
import requests
cookies = {
'sessionid': '6cr03kpyjsii7o51ip6y5zld2i20cf63',
'_ga': 'GA1.2.1697917168.1647800683',
'_gid': 'GA1.2.365671794.1647800683',
'csrftoken': '4l4Y4mudtRDFe7uK1MiPRUBD0y4LQITL',
'_gat': '1',
}
@downthecrop
downthecrop / AbstractSprite.java
Last active January 11, 2024 21:56
Abstract Sprite dumper Runescape 530 Cache
package org.runite.client;
import org.rs09.client.Node;
import org.rs09.client.rendering.Toolkit;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
{
"Aatrox" : 266,
"Ahri" : 103,
"Akali" : 84,
"Akshan" : 166,
"Alistar" : 12,
"Amumu" : 32,
"Anivia" : 34,
"Annie" : 1,
"Aphelios" : 523,

You: I created the shader in shadergraph but my texture 2d is upside down.

ChatGPT: If your texture appears upside down when using Shader Graph in Unity, you can easily fix this by flipping the V coordinate of the UV coordinates.

To do this in Shader Graph, follow these steps:

In your Shader Graph, find the Sample Texture 2D node that is sampling the upside-down texture.

Look for the UV input of the Sample Texture 2D node. If you don't have a UV input connected, create a new UV node by right-clicking in the graph area, selecting 'Create Node', and searching for 'UV'. Then, connect the 'Out' output of the UV node to the 'UV' input of the Sample Texture 2D node.

@downthecrop
downthecrop / Calculate total views.md
Created April 21, 2023 18:43
ChatGPT being insanely smart.

Bryce Matthes: If I want to calculate the combined total of all of a YouTube channels videos how should I do that? I want the exact number.


ChatGPT: To calculate the combined total of all views for a YouTube channel's videos, you'll need to use the YouTube Data API. The API allows you to interact with YouTube's database and fetch information like video views. To get the exact number of combined total views, you can follow these steps:

Create a Google API project and enable YouTube Data API v3:Go to the Google Developers Console: https://console.developers.google.com/Create a new project, or use an existing one.In the "Dashboard", click "Enable APIs and Services" and search for "YouTube Data API v3". Enable it for your project.

Get an API key:In the Google Developers Console, navigate to "Credentials" under "APIs & Services".Click "Create credentials" and choose "API key". Save the generated API key for later use.

Install the Google API client library for Python (if you haven't alread

@downthecrop
downthecrop / 2009levelv2.html
Last active May 15, 2023 18:11
Wow It's fixed!
<canvas id="canvas" width="660" height="251">your canvas loads here</canvas>
<p>If the background doesn't load just submit again until it does.</p>
<br>
<p>If you don't want a background so you can edit in photoshop just delete the url.</p>
<br>
<input id="username" placeholder="username"></input>
<button id="submit">Submit</button>