Skip to content

Instantly share code, notes, and snippets.

@xerpi
xerpi / PSVita_Linux_build_instructions.md
Last active May 4, 2025 08:53
PSVita Linux build instructions
@KunYi
KunYi / test.c
Created June 7, 2019 04:31
Note: Read/Write UEFI variables under Windows 7 and later
#include "stdafx.h"
void RasiePrivileges(void)
{
HANDLE hToken;
TOKEN_PRIVILEGES tkp;
if (!OpenProcessToken(GetCurrentProcess(),
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
&hToken)) {
@starkgate
starkgate / nvidia.md
Last active April 5, 2024 11:30
Recommended Nvidia Profile Inspector settings for the Mass Effect Trilogy

Sources : brkbeatjunkie and Nvidia's guide

You'll need Nvidia Profile Inspector to enable these settings : http://www.techspot.com/downloads/5077-nvidia-inspector.html There should be a similar alternative for AMD, but I haven't researched it.

WORKING EXAMPLES

If you just want working values, follow the pictures below. The values are explained in more detail in the AA and AO sections. The values in the screenshots were tested for a stable 60 FPS on a GTX 1080, at 4K. Depending on your performance, you can try higher values of "Antialiasing - Setting" and "Antialiasing - Transparency Supersampling".

@kazuki
kazuki / clinfo-r9-nano.txt
Created December 23, 2018 15:58
ROCm 2.0.0 clinfo / hsainfo
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP.internal (2783.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_object_metadata cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
@dogtopus
dogtopus / csrotau.py
Created December 12, 2018 20:37
CSR OTAU binary parser
#!/usr/bin/env python3
# CSR OTAU binary parser
# https://developer.qualcomm.com/qfile/34081/csr102x_otau_overview.pdf
# For use with test and demonstration only. This is obviously not official and
# is not affiliated with Qualcomm.
import io
import os
import sys
@TheRadziu
TheRadziu / ultimate-vita-comparison.md
Last active February 1, 2025 15:22
Ultimate Vita Comparison (Firmwares & Rips vs Dumps)

Due to so many misinformation, false claims and confusion that goes around the web I've decided to make this quick comparison of all most known backup enabling tools, hackable vita firmwares and which one you should be using and why.
Date of last update: 13.01.2020

NoNpDRM Rips vs Dumps

NoNpDRM Rips Vitamin / MaiDumpTool Dumps
All original files untouched
Support Retail DLCs
Support Ripped (NoNpDRM) DLCs
Support Dumped (Vitamin/Mai) DLCs 1

TK17 Comprehensive Guide

TKTitle

Acknowledgements and Intro

Original Credit for this guide to (http://pastebin.com/GkhhjXwp)

Thanks to GiveHerTheD, Hootie, Caligula, and several Anons for their information.
Thanks to the authors of the repacks, regular posters on /tk17/, and nubs for keeping the community alive.

@filippz
filippz / Fix-compile-with-mainline-kernel-v4.15.patch
Last active December 21, 2021 21:43
GIST Build TI 4.10.00.01 PVR SGX drivers for N9 (TI OMAP3630) and v4.15-rc3 kernel
From eb47f546652eced3937ac4746527c8f182ab6cc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Matijevi=C4=87?= <[email protected]>
Date: Sat, 16 Dec 2017 11:28:18 +0100
Subject: [PATCH] Fix compile with mainline kernel v4.15
---
GFX_Linux_KM/Makefile | 5 +-
.../services4/3rdparty/bufferclass_ti/bc_cat.c | 2 +
.../3rdparty/dc_omapfb3_linux/omaplfb_linux.c | 53 +++++--
GFX_Linux_KM/services4/3rdparty/linux_drm/Kbuild | 25 +++-
@Lykaksparsz
Lykaksparsz / arbi.bat
Created December 23, 2017 18:42
ArBi - Arch linux Installer For Windows
@REM http://bazaar.launchpad.net/~ubuntu-installer/wubi/trunk/view/head:/src/wubi/application.py#L252
@ECHO OFF
TITLE ArBi - Arch linux Installer For Windows
ECHO Downloading Wubi...
bitsadmin /transfer wubi "https://netcologne.dl.sourceforge.net/project/wubi/Wubi/Wubi-9.04.129/Wubi-9.04-rev129.exe" "%cd%\wubi.exe"
ECHO Enter the URL of Arch linux ISO (Downloadable)
SET /P ArchISOU=}
bitsadmin /transfer archiso "%ArchISOU%" "%cd%\arch.iso"
ECHO Launching... (NOTE: It dosen't install ubuntu, It's using the arguments to replace ISO and Distro.)
%cd%\wubi.exe --distro Arch --isopath %cd%\arch.iso
@Sporif
Sporif / RestartFirefoxButton_Movable.uc.js
Last active October 3, 2022 18:27
Restart Button for Firefox. An updated version of https://github.com/Endor8/userChrome.js/tree/master/restartfirefoxbutton_movable. Middle click also empties the script cache.
(function() {
if (location != 'chrome://browser/content/browser.xul' && location != 'chrome://browser/content/browser.xhtml')
return;
try {
CustomizableUI.createWidget({
id: 'restart-button',
type: 'custom',
defaultArea: CustomizableUI.AREA_NAVBAR,
onBuild: function(aDocument) {