Skip to content

Instantly share code, notes, and snippets.

@CrossVR
CrossVR / compile.py
Last active March 15, 2017 13:44
R2 shader compilation
import os
import subprocess
import re
from multiprocessing.pool import ThreadPool
# Set the path to the fxc compiler
fxc = 'C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\Utilities\\bin\\x86\\fxc.exe'
featureLevel = '3_0'
workers = 8
Prepare game data started...
Prepare game data finished
Detected folowing folders in DLC path:
DLC_CON_END
DLC_CON_MP1
DLC_CON_MP2
DLC_CON_MP3
DLC_CON_MP4
DLC_CON_MP5
// ==UserScript==
// @name NY Pizza Coupon
// @version 1
// @require https://code.jquery.com/jquery-3.3.1.min.js
// @match https://www.newyorkpizza.nl/secure/checkout
// @grant none
// ==/UserScript==
var results = [];
var originalOrder = [];
@CrossVR
CrossVR / crunchyRes.user.js
Last active August 3, 2019 13:41 — forked from subnomo/crunchyRes.user.js
Edited Zren's Crunchyroll Userscript to better display each resolution
// ==UserScript==
// @name Crunchyroll: Resize Player To Window Size
// @description Moves the video to the top of the website and resizes it to the screen size.
// @author Chris H (Zren / Shade)
// @icon https://crunchyroll.com/favicons/favicon-16x16.png
// @homepageURL http://userscripts.org/scripts/show/157272
// @downloadURL http://userscripts.org/scripts/source/157272.user.js
// @updateURL http://userscripts.org/scripts/source/157272.meta.js
// @namespace http://xshade.ca
// @version 1.1.1