Skip to content

Instantly share code, notes, and snippets.

View downthecrop's full-sized avatar

downthecrop downthecrop

View GitHub Profile
@downthecrop
downthecrop / Start-Ubuntu.vbs
Created September 14, 2020 20:18
Windows True Headless VBox (No Console)
Dim WshShell
Dim obj
Set WshShell = WScript.CreateObject("WScript.Shell")
obj = WshShell.Run("START /MIN CMD.EXE /C "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --startvm Ubuntu", 0)
set WshShell = Nothing
@downthecrop
downthecrop / Monokai.xml
Created September 28, 2020 06:49
Monokai.xml python highlighting and font fixes.
<?xml version="1.0" encoding="Windows-1252" ?>
<!--//
Monokai
Copyright (c) 2008 Fabio Zendhi Nagao <http://zend.lojcomm.com.br/>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
@downthecrop
downthecrop / run-unix.sh
Created November 22, 2020 20:57
rs2006sp Linux/macOS start script
SOURCE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$SOURCE/Server" && java -Xmx1024m -jar Server.jar &
cd "$SOURCE/Client" && java -jar Client.jar &
WeGame user-agent
: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.124 Safari/537.36 qblink wegame.exe QBCore/3.70.71.400 QQBrowser/9.0.2524.400
Client splash https://lol.qq.com/act/a20200917tftset4/index.html
Search page in wegame: http://www.wegame.com.cn/helper/lol/search/index.html
Homepage for Lol: https://www.wegame.com.cn/helper/lol/info/index.html
@downthecrop
downthecrop / qq-lol-search.py
Created December 5, 2020 03:03
get WeGame lol account stats
import requests
import json
rp = requests.post
# URL Constants
get_battle_topbar_info = 'https://m.wegame.com.cn/api/mobile/lua/proxy/index/mwg_lol_proxy/get_battle_topbar_info'
query_by_nick = 'https://m.wegame.com.cn/api/mobile/lua/proxy/index/mwg_lol_proxy/query_by_nick'
c = {
@downthecrop
downthecrop / ElectronCookies.js
Last active December 6, 2020 19:44
Save and Load cookies in electron
session.defaultSession.cookies.get({
url: 'https://www.wegame.com.cn/'
})
.then((cookies) => {
cookieDump(cookies)
console.log("Wrote Cookies")
}).catch((error) => {
console.log(error)
})
@downthecrop
downthecrop / README.md
Created March 13, 2021 18:11
Windows on Raspberry Installation Tool Under Linux/macOS/Unix (WoR)
@downthecrop
downthecrop / Skills.txt
Created March 22, 2021 22:44
2009 Single Player skills
0 Attack
1 Def
2 Str
3 HP
4 Ranged
5 Pray
6 Mage
7 Cooking
8 WC
9 Fletch
@downthecrop
downthecrop / gist:84ec973a17e3af313375e2664e8f26c5
Last active December 4, 2022 15:18
H310 / Intel 300 Chipset Windows 7 Install USB 3.1/3.0 XHCI Setup and Install
1. Install Windows 10
2. Download and mount a Windows 7 ISO
3. Run the installer of Windows 7 from within Windows 10
4. Your Computer will boot to Windows 7
5. Use a PS/2 Keyboard to install the following drivers
It took me about a week to continually modify the USB driver and successfully solve the USB GEN2 driver for the H310/B360/H370/Q370/Z390/HM370 and othet 14nm 300 series chips Now is the time to summarize the method. We can use IDA7.0 and HxD to modify the drivers. The ID replacement method can use HxD to modify the 15B5 and 15C1 of 5.0.4.43,but the disadvantage is that the supported USB3.1 GEN2 can only be one of A36D or other ID, and USB3.1. GEN2 have 9DED, 31A8,and unknown. If you use IDA7.0, there are dozens of methods to modify, but in principle there are only three methods. Both 5.0.4.43 and 17.2.70.3 can be used to modify and successfully drive Intel's 8 Series to 300 Series, Cannon Lake Series, Whiskey Lake Series. It was successfully installed and operated well on the Intel 10nm I3-8121U pla
"Vampire Slayer", 30
"Witch's Potion", 31
"The Knight's Sword", 22
"Sheep Shearer", 28
"Romeo & Juliet", 26
"Imp Catcher", 21,
"Ernest the Chicken", 19
"Doric's Quest", 17
"Restless Ghost", 25
"Shield of Arrav", 29