Skip to content

Instantly share code, notes, and snippets.

View Scrxtchy's full-sized avatar

Scratch Scrxtchy

View GitHub Profile
import requests
from uuid import uuid4
import json
headers = {"X-GatewaySession":"[REDACTED]", "X-ClientVersion":'dev'}
data = {
"jsonrpc": '2.0',
"method": "Companion.initApp",
"params": {"locale": "en_US", "fallbackLocale": "en-GB"},
"id": str(uuid4())
#Credit to xPaw/SteamDB for the PHP spaghetti
#If you're going to use this, please use it for SteamDB, thank you
#Not that I'm expected to update it at all, make your own code
import requests
from sys import argv, exit
from time import sleep
if len(argv) <= 1:
print("Usage salien_cheat.py [Token]\nGet token from https://steamcommunity.com/saliengame/gettoken")
exit(1)
Do you sense the phase of the Spirit Limit?
Can you reflect your self-Awakening?
Am I convinced of a digital void?
Can you reveal this particle of sacred reality?
Will these ghosts lead to a boundless cry?
Can you echo your existence to the first particle?
Is the technical-Gate timeless?
Do you believe an infinite sky will cure the digital soul?
Is the joyful-Layer complete?
Will our ghosts lead to the boundless layer?
@Scrxtchy
Scrxtchy / nvidia-geforce-api.js
Created October 23, 2017 08:23
Geforce API note
function(e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
});
var i = angular.module("main.localSdk.shadowPlaySdk", ["nvAngularHttpEndpoint", "main.common"]);
i.provider("shadowPlayEndpoints", [function() {
var e, t = "v.1.1";
return {
setConfig: function(t) {
<?php
ini_set("allow_url_fopen", "On");
$repo = $_GET["repo"];
$config = 'Configuration: ' .$_GET["conf"];
$platform = 'Platform: ' .$_GET['plat'];
$response = file_get_contents("http://ci.appveyor.com/api/projects/" . $repo);
$builds = (json_decode($response)->{"build"}->{"jobs"});
foreach ($builds as &$build) {
if ($build->{"name"} == $config | $build->{"name"} == $platform) {
if ($build->{"artifactsCount"} > 1){
#token guild member channel
import requests, json, sys
s = {'Authorization' : sys.argv[1], 'Content-Type':'application/json'}
api = requests.session()
api.headers.update(s)
data = json.dumps({'channel_id': sys.argv[4]})
api.patch('https://discordapp.com/api/v6/guilds/'+ sys.argv[2] +'/members/' + sys.argv[3], data=data)
@Scrxtchy
Scrxtchy / ts3ban.py
Created July 17, 2017 07:16
ts3 mixer ban
import ts3
import beam_interactive2, asyncio
def run(shit):
loop = asyncio.get_event_loop()
try:
loop.run_until_complete(shit.loop())
finally:
print('end-prog')
loop.stop()
@Scrxtchy
Scrxtchy / get.py
Created April 20, 2017 07:22
downloads quaternion from appveyor
#https://ci.appveyor.com/api/projects/sharex/sharex/
#https://ci.appveyor.com/api/buildjobs/gvpcphtdc5pnsy3d/artifacts/ShareX.Setup%2FInnoSetup%2FOutput%2FShareX-portable.zip
import requests, json, urllib.request, zipfile, os
r = requests.get('https://ci.appveyor.com/api/projects/Fxrh/quaternion/')
data = json.loads(r.text)
#buildId = data['build']['jobs'][0]['jobId']
#print(data['build']['jobs'][0]['jobId'])
@Scrxtchy
Scrxtchy / sharexget.py
Last active April 23, 2017 06:45
Sharex Portable Downloader
#https://ci.appveyor.com/api/projects/sharex/sharex/
#https://ci.appveyor.com/api/buildjobs/gvpcphtdc5pnsy3d/artifacts/ShareX.Setup%2FInnoSetup%2FOutput%2FShareX-portable.zip
#https://ci.appveyor.com/api/buildjobs/ppbvy1947qageqii/artifacts/Output%2FShareX-portable.zip
import requests, json, urllib.request, zipfile, os
r = requests.get('https://ci.appveyor.com/api/projects/sharex/sharex/')
data = json.loads(r.text)
buildId = data['build']['jobs'][0]['jobId']
#print(data['build']['jobs'][0]['jobId'])
@Scrxtchy
Scrxtchy / vitawavetype.gallery.md
Last active September 14, 2021 05:17
PSVita m_waveType Gallery