Skip to content

Instantly share code, notes, and snippets.

View mahdisml's full-sized avatar
🎮
Focusing

Mahdi Safarmohammadloo mahdisml

🎮
Focusing
View GitHub Profile
@phoenixperry
phoenixperry / gist:6888925
Created October 8, 2013 18:09
Example of OnCollisionEnter in Unity in c# from Unity 3d Student
void OnCollisionEnter(Collision theCollision){
if(theCollision.gameObject.name == "Floor"){
Debug.Log("Hit the floor");
}else if(theCollision.gameObject.name == "Wall"){
Debug.Log("Hit the wall");
}
@ftvs
ftvs / PhonecallReceiver.java
Last active March 27, 2025 05:56
Detecting an incoming call coming to an Android device. Remember to set the appropriate permissions in AndroidManifest.xml as suggested in the Stackoverflow link. Usage example in comments. Source: Gabe Sechan http://stackoverflow.com/a/15564021/264619 Explanation: http://gabesechansoftware.com/is-the-phone-ringing/#more-8
package com.gabesechan.android.reusable.receivers;
import java.util.Date;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.TelephonyManager;
public abstract class PhonecallReceiver extends BroadcastReceiver {
@servel333
servel333 / handlebars-operators.md
Created February 15, 2018 15:39
Handlebars {{#if (op ... )}} operators
@mayankmkh
mayankmkh / PrettyPrint.kt
Last active June 18, 2025 12:44
Pretty Print Kotlin Data Class
fun Any.prettyPrint(): String {
var indentLevel = 0
val indentWidth = 4
fun padding() = "".padStart(indentLevel * indentWidth)
val toString = toString()
val stringBuilder = StringBuilder(toString.length)

During the past days, this great article by Sam Pruden has been making the rounds around the gamedev community. While the article provides an in-depth analysis, its a bit easy to miss the point and exert the wrong conclusions from it. As such, and in many cases, users unfamiliar with Godot internals have used it points such as following:

  • Godot C# support is inefficient
  • Godot API and binding system is designed around GDScript
  • Godot is not production ready

In this brief article, I will shed a bit more light about how the Godot binding system works and some detail on the Godot

{
"log": {
"access": "",
"error": "",
"loglevel": "none",
"dnsLog": false
},
"dns": {
"tag": "dns",
"hosts": {
@ubergarm
ubergarm / Qwen3-MoE-Benchmarks.md
Last active July 5, 2025 16:27
Qwen3 235B and 30B MoE Quant Benchmarking Roundup

The Great Quant Wars of 2025

"All things leave behind them the Obscurity... and go forward to embrace the Brightness..." — Dao De Jing #42

tl;dr;

  • Q: Who provides the best GGUFs now?
  • A: They're all pretty good.

Skip down if you just want graphs and numbers comparing various Qwen3-30B-A3B GGUF quants.