Skip to content

Instantly share code, notes, and snippets.

View PMZeroSkyline's full-sized avatar

ZeroSkyline PMZeroSkyline

View GitHub Profile
@VirajKanse
VirajKanse / gist:1c0db872cd7685632c02f8826397f190
Last active December 15, 2025 05:02
GCC / Clang C/C++ Compiler On Android Using Termux (Linux Environment)
Install Termux App.
type "apt update"
Then We have to install a text editor to write our code so type "apt install vim" for vim text editor
or u can also use nano text editor for nano type "apt install nano"
Now Clang Installation type "apt install clang" and wait for download completes.
now to create a file simply type vim filename.c or .cpp or nano filename.c or cpp
then u will able to write ur code .
write.....to save ur code simply press esc then type ":wq"
now code is ready to compile
type "clang filename.c -o filename"
@mstevenson
mstevenson / Fps.cs
Last active December 28, 2025 08:43
An accurate FPS counter for Unity. Works in builds.
using UnityEngine;
using System.Collections;
public class Fps : MonoBehaviour
{
private float count;
private IEnumerator Start()
{
GUI.depth = 2;