Skip to content

Instantly share code, notes, and snippets.

View unitycoder's full-sized avatar
✅
‏‏‎

mika unitycoder

✅
‏‏‎
View GitHub Profile
@unitycoder
unitycoder / AssetStoreMiddleMouseSupportFixes.js
Last active June 4, 2021 12:25
Add Middle Mouse Button support for Unity Asset Store Main Banner Image (those highlighted, main promoted items)
// ==UserScript==
// @name Asset Store Middle Mouse Fixes (GreaseMonkey script)
// @namespace https://unitycoder.com
// @version 1
// @include https://assetstore.unity.com/*
// ==/UserScript==
// main banner
var list = document.getElementsByClassName("J0Izj");
@unitycoder
unitycoder / ExtractTarGz.cs
Last active June 4, 2021 08:44 — forked from sruthi-kurup/ExtractTarGz.cs
Use pure C# to extract .tar and .tar.gz files (with hardcoded extract only these folders)
// source https://gist.github.com/Su-s/438be493ae692318c73e30367cbc5c2a
using System;
using System.IO;
using System.IO.Compression;
using System.Text;
namespace TarLib
{
public class Tar
@unitycoder
unitycoder / Firefox-Good-Settings.md
Last active October 6, 2026 15:15
Firefox Good Settings

good settings about:config

  • browser.urlbar.focusContentDocumentOnEsc (to disable url bar losing focus on ESC key)
  • browser.nova.enabled (to remove fully rounded everything)

old notes

@unitycoder
unitycoder / RadialCoordinateConversion.shader
Created June 1, 2021 16:48
Radial Coordinate Conversion Shader
// https://forum.unity.com/threads/360-video-as-skybox-with-hdrp.903245/#post-7196884
Shader "CustomRenderTexture/RadialCoordinateConversion"
{
Properties
{
_VideoTexture("VideoTexture", 2D) = "white" {}
}
SubShader
{
@unitycoder
unitycoder / Samsung S7 problems.txt
Last active June 1, 2021 06:20
Samsung S7+ issues
### Package
- Cannot open seals without knife or scissors
- Hard to open protecting cover also (almost gets ripped)
### Setup
- After running, there is no english text to say what to do (only random languages that i dont understand),
do i need to wait for my language to appear, what is the character button?
- Clicked blue arrow (that seemed like you need to drag it), next page has 9 languages listed,
no scrollbars!, no info what you are doing here
- Terms and conditions, 2 of the checkboxes say "optional", but you cannot disable them
@unitycoder
unitycoder / FullScreenQuad.shader
Created May 30, 2021 08:37 — forked from jcowles/FullScreenQuad.shader
Make a standard Unity Quad full-screen, purely in the shader
//
// 1. Add a Quad in Unity
// 2. Parent the quad under camera, to prevent frustum culling.
// 3. Attach this shader.
//
Shader "Quad/Fullscreen"
{
Properties
{
}