Skip to content

Instantly share code, notes, and snippets.

taskinoz

Block or report user

Report or block taskinoz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ReturnImage.php
<?php
// Better Script: https://stackoverflow.com/questions/900207/return-a-php-page-as-an-image
// 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 https://taskinoz.com
// @version 0.1
// @description A custom dark mode that activates at the times you want
// @author You
// @match https://*/*
// @grant none
// ==/UserScript==
@taskinoz
taskinoz / learn.py
Last active Dec 9, 2019
Machine Learning with Textgenrnn
View learn.py
from textgenrnn import textgenrnn
import os
textgen.train_from_file('test.txt', num_epochs=1)
textgen.generate(3, temperature=1.0)
textgen.generate()
@taskinoz
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
taskinoz / FormValues.html
Last active Feb 7, 2020
Get only the checked values from the form
View FormValues.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript">
@taskinoz
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 😂",
You can’t perform that action at this time.