Skip to content

Instantly share code, notes, and snippets.

View DarkLotus's full-sized avatar

James DarkLotus

View GitHub Profile
@kudorgyozo
kudorgyozo / Hover.cs
Last active June 21, 2022 09:39
unity surface shader that draws a transparent circle around the mouse (use case: to show what is behind a wall in an isometric game)
void Start()
{
theRenderer = GetComponent<MeshRenderer>();
theRenderer.material.SetVector("_Resolution", new Vector4((float)Screen.width, (float)Screen.height, 0, 0));
}
void OnMouseEnter()
{
theRenderer.material = hoverMaterial;
theRenderer.material.SetVector("_Resolution", new Vector4((float)Screen.width, (float)Screen.height, 0, 0));
@jbolster
jbolster / himawari.ps1
Created February 4, 2016 10:22 — forked from MichaelPote/himawari.ps1
Windows Powershell Script to download the latest image from the Himawari-8 satelite, combine the tiles into a single image, convert to jpg and then set as the desktop background.
#
# Himawari-8 Downloader
#
#
#
# This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image,
# converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background.
#
# http://himawari8.nict.go.jp/himawari8-image.htm
#
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active December 5, 2025 18:04
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\