Skip to content

Instantly share code, notes, and snippets.

View gostrafx's full-sized avatar

GOSTRA FX gostrafx

View GitHub Profile
@gostrafx
gostrafx / FolderTypeFix.reg
Created September 10, 2024 02:00 — forked from unitycoder/FolderTypeFix.reg
Make Windows Folder Browsing Faster (by disabling folder type detection)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"
@gostrafx
gostrafx / NavMeshGenA.cs
Last active April 15, 2024 03:15 — forked from druggedhippo/NavMeshGenA.cs
Unity Navigation mesh by terrain texture
/****
Video : https://www.youtube.com/watch?v=o-Txv086giU
NOTE NOTE NOTE
1. Add this component to a terrain
2. Set your area ID's to be what you want the agent to think each surface in your terrain is (eg, Grass, Path), in the same order as the textures assigned in the terrain textures
3. Set "Defaultarea" to be whatever texture you expect to be the "most" common terrain texture. Generall this will be the first texture you assigned in step 1, eg "Grass"
IF THIS IS STILL TO SLOW:
Fixing: Gradle Build Error Unity Version 2021 And 2020
Fixing: Gradle build failed. See the Console
Fixing: A failure occurred gradle.internal.tasks.Workers$ActionFacade - Admob Unity
Fixing: Unity Gradle - A Failure Occurred While Executing com.android.build.gradle.internal.tasks.Worker
Fixing: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Unity version * Gradle version Android Gradle Plug-in version
2023.2 Admob 7.6 7.3.1
2022.3 Admob 7.2 7.1.2 Or 7.1.3
@gostrafx
gostrafx / commit-emojis.md
Created March 21, 2024 14:51 — forked from georgekrax/commit-emojis.md
List of emojis for GitHub commit messages
Emoji Purpose MD Markup Prefix
📄 Generic message :page_facing_up:
📐 Improve the format / structure of the code / files :triangular_ruler: [IMPROVE]:
Improve performance :zap: [IMPROVE]:
🚀 Improve something (anything) :rocket: [IMPROVE]:
📝 Write docs :memo: [PROD]:
💡 New idea
@gostrafx
gostrafx / GitCommitEmoji.md
Created March 21, 2024 14:46 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@gostrafx
gostrafx / getBinarySearch.js
Created March 27, 2023 16:11 — forked from westc/getBinarySearch.js
getBinarySearch() - Takes an array of values and returns a function that can be used to carry out the binary search on those values.
/**
* Takes an array of values and returns a function that can be used to
* carry out the binary search on those values. The returned function
* takes one argument to indicate which direction the desired value may
* be found (send a negative number to look further back, a positive
* number to look further ahead or a `0` to return the same value as
* before). It doesn't matter what value you pass the first time you
* call the returned function.
* @template T
* @param {T[]} values
import { Injectable } from '@angular/core'
import {
Cordova,
CordovaProperty,
IonicNativePlugin,
Plugin
} from '@ionic-native/core'
import { Observable } from 'rxjs/Observable'
import { Platform } from 'ionic-angular'
@gostrafx
gostrafx / bootstrap.js
Created January 11, 2020 05:59
bootstrap laravel
window._ = require('lodash');
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
// try {
// window.$ = window.jQuery = require('jquery');