Skip to content

Instantly share code, notes, and snippets.

@robot56
robot56 / MCW10Edition-IOErrorDebugger.bat
Created August 4, 2015 03:18
Minecraft: Windows 10 Edition IO error debugger. Send results to http://www.minecraftforum.net/forums/support/minecraft-windows-10-edition or where instructed to.
@echo off
Setlocal EnableDelayedExpansion
title Minecraft Windows 10 Edition worlderror.IO Debugger
echo Minecraft Windows 10 Edition worlderror.IO debugger
echo.
echo.
echo Contact Extreme_Heat on http://minecraftforum.net/ or Extreme on irc.esper.net for help with this file
@robot56
robot56 / gist:0a4147524acd01d916eb
Created June 2, 2015 17:23
List of all NVIDIA drivers and their download links if any. The time_elapsed is not fully accurate as the script had a bug that caused the timer to be started way later than it should have (roughly 4 hours).
This file has been truncated, but you can view the full file.
{
"_meta": {
"created_on": "2015-06-01 01:17:28",
"errors": [
],
"time_elapsed": 58381.66499996185,
"created_by": "NVIDIA Driver Grabber.py v1.0"
},
"product_types": {
@robot56
robot56 / gist:fefe6f00ab54a6e59b99
Created June 2, 2015 02:44
Quick and dirty script to poll all drivers from NVIDIA.com's front-end API. It can take ~12 hours to complete, be warned!
import sys
import requests
import json
import time
import re
import base64
class NvidiaDriverGrabber():
def __init__(self, lookup_url, process_url, product_types, locale, language, throttle = 5):
self.LOOKUP_URL = lookup_url
@robot56
robot56 / amd-master-unformatted.json
Last active September 21, 2015 00:09
amd drivers in JSON format
This file has been truncated, but you can view the full file.
{
"driverSelector": {
"platform": [
{
"productfamily": [
{
"product": {
"version": {
"NA": {
"_name": "N/A",
@robot56
robot56 / gist:185e37ff03f17bcfb2be
Created April 26, 2015 01:35
Minecraft native launcher log reader
## Configuration
# The log path that Minecraft's native log uses. Update this if it changes.
$LogPath = "\Minecraft\nativelog.txt";
$VERSION = "1.1";
# Set the absolute log path based on OS arc
if ([System.IntPtr]::Size -eq 4) {
$AbsoluteLogPath = $env:ProgramFiles + $LogPath;
} else {
@robot56
robot56 / gist:c7c6b0acfee648e2f0c2
Last active August 29, 2015 14:02
name -> uuid through api.mojang.com
<?php
// insert paid usernames here (duh)
$name = ["jeb_", "notch"];
$game = "minecraft";
$api = "https://api.mojang.com/profiles/";
// request options
$opts = stream_context_create(['http'=>['method'=>'POST','header'=>'Content-type: application/json','content'=>json_encode($name)]]);
$request = json_decode(file_get_contents($api.$game, false, $opts), true);
@robot56
robot56 / gist:e5f6f91652943d1b190e
Last active August 29, 2015 14:02
TODO, finish this script to get skins, capes, textures, etc via sessionserver.mojang.com
<?php
function getProfile($name) {
$uri = "https://api.mojang.com/profiles/minecraft";
$request = Requests::post($uri, ["Content-Type" => "application/json", "User-Agent" => "ShockyIRC/1.0"], json_encode($name));
try {
$json = json_decode($request->body, true);
$id = @$json[0]["id"];
return $id?$id:"No profile.";
} catch (Exception $e) {
@robot56
robot56 / dbo_rss.php
Last active August 29, 2015 14:01 — forked from jwhb/dbo_rss.php
<?php
/**
* Bukkit Build RSS Generator
*
* @author JWhy <[email protected]>
* @version 0.3
* @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License
*/
<!DOCTYPE html>
<html class="no-js"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootswatch/3.1.1/superhero/bootstrap.min.css">
<style>
@robot56
robot56 / serial.vbs
Created February 22, 2014 20:55
Serial Checker
'----------------------------------------------------
' Serial Checker v1 by Extreme. '
'----------------------------------------------------
' Will obtain the Serial number for specified '
' machine. '
'----------------------------------------------------
' No error reporing on VBS..
On Error Resume Next