Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
taskinoz / _savegame.gnut
Created Sep 27, 2020
Velocity Quicksaves
View _savegame.gnut
global function AddCallback_OnLoadSaveGame
global function CheckPoint
global function CheckPoint_Forced
global function CheckPoint_ForcedSilent
global function CheckPoint_Silent
global function RestartFromLevelTransition
global function CodeCallback_IsSaveGameSafeToCommit
global function CodeCallback_OnLoadSaveGame
global function CodeCallback_OnSavedSaveGame
global function InitSaveGame
View TitanfallDemo.cfg
// General
sv_cheats "1"
// Demos
demo_enabledemos "1"
demo_writeLocalFile "1"
demo_readLocalFile "1"
demo_autoRecord "1"
// For SP demos, not quite working
taskinoz / TwitchSocial.html
Last active Feb 27, 2020
Show Twitter and Twitch icons in the bottom corners intermittently
View TwitchSocial.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src=""></script>
<link rel="stylesheet" href="">
<style media="screen">
taskinoz / index.html
Created Feb 20, 2020
jQuery Migrate testing script
View index.html
<!DOCTYPE html>
<html lang="en" dir="ltr">
<meta charset="utf-8">
<script src="" charset="utf-8"></script>
<script src="" charset="utf-8"></script>
<script src="../jquery.expander.js" charset="utf-8"></script>
<script type="text/javascript">
taskinoz / FormValues.html
Last active Feb 7, 2020
Get only the checked values from the form
View FormValues.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src=""></script>
<script type="text/javascript">
taskinoz / fastany.cfg
Last active Jan 22, 2020
Alias swapping test fro fast any% speedrunning
View fastany.cfg
// Fast Any Loads
alias "Load" "Load1"
alias "Load1" "alias Load Load2;load fastany1"
alias "Load2" "alias Load Load3;load fastany2"
alias "Load3" "alias Load Load4;load fastany3"
alias "Load4" "alias Load Load5;load fastany4"
alias "Load5" "alias Load Load6;load fastany5"
alias "Load6" "alias Load Load7;load fastany6"
alias "Load7" "alias Load Load8;load fastany7"
alias "Load8" "alias Load Load9;load fastany8"
taskinoz /
Last active Dec 9, 2019
Machine Learning with Textgenrnn
from textgenrnn import textgenrnn
import os
textgen.train_from_file('test.txt', num_epochs=1)
textgen.generate(3, temperature=1.0)
taskinoz / speedquotes.json
Last active Feb 17, 2020
Speedquotes data
View speedquotes.json
"1": "i hate speedrunner's this is not beating it this is exploting..",
"2": "Speedrunning: Dying Art",
"3": "I never get these speed runs when they have to glitch the game pointless.",
"4": "Taking chances from glitches, bad!",
"5": "Speedrunner is my mom😐😐",
"6": "its cheating and the PC version looks blurry",
"7": "Speed running is perversion of gaming, never support it",
"8": "Speedrunners ruin video games",
"9": "Who cares?? I'm sure a lot of people have done speedruns like this because. This guy ain't special 😂",
View ReturnImage.php
// Better Script:
// open the file in a binary mode
$name = 'path/to/image.jpg';
$fp = fopen($name, 'rb');
// send the right headers
header("Content-Type: image/png");
header("Content-Length: " . filesize($name));
View CustomdarkMode.user.js
// ==UserScript==
// @name Custom Dark Mode
// @namespace
// @version 0.1
// @description A custom dark mode that activates at the times you want
// @author You
// @match https://*/*
// @grant none
// ==/UserScript==