Skip to content

Instantly share code, notes, and snippets.

View rogueyoshi's full-sized avatar
🕹️
Focusing

Al Murray rogueyoshi

🕹️
Focusing
View GitHub Profile
@rogueyoshi
rogueyoshi / relocalize.cs
Last active August 28, 2020 00:02
ARFoundation Simple Re-Localization using only Tracked Images
// A simple way to create persistent AR experiences just from a single (or more) tracked image alone.
// After the image is found, ARFoundation SLAM works it's magic for position tracking.
// To use: Create your scene in Unity as you would for a normal project and place one or more objects corresponding to the sync point.
// This presumes you have a scene with objects in Unity space corresponding to where they would appear physically.
// Make sure that the objects in Unity space corresponding to the image targets has the same pose as it would in physical space.
// Requires an ARTrackedImageManagerComponent
private void OnTrackedImagesChanged(ARTrackedImagesChangedEventArgs imageEventArgs)
{
foreach (var updatedImage in imageEventArgs.updated)
{
@rogueyoshi
rogueyoshi / _headers
Last active June 18, 2021 17:17
Netlify headers file for Unity 2019 WebGL Builds with Brotli Compression and WASM Streaming
/*.unityweb
Content-Encoding: br
Content-Type: application/octet-stream
/*.wasm
Content-Encoding: br
Content-Type: application/wasm
@rogueyoshi
rogueyoshi / startgg.css
Last active October 10, 2022 05:35
start.gg bracket isolation css
* {
visibility: collapse;
}
.bracket, .bracket * {
visibility: visible;
}
.bracket {
position: absolute;
@rogueyoshi
rogueyoshi / GoogleDorking.md
Created September 25, 2024 22:48 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"