Skip to content

Instantly share code, notes, and snippets.

View fathonyfath's full-sized avatar
💻
Now you can also bring your work status here

Fathony Teguh Irawan fathonyfath

💻
Now you can also bring your work status here
  • Nowhere
View GitHub Profile
@erikghonyan
erikghonyan / build.gradle.kts
Last active June 6, 2023 19:07
Installs and Runs the Android app from Gradle
androidComponents {
val adbPath = sdkComponents.adb.get().asFile.absolutePath
onVariants { variant ->
val capitalizedVariantName = variant.name.replaceFirstChar(Char::titlecase)
val applicationId = variant.applicationId.get()
tasks.register("run${capitalizedVariantName}") {
group = "run"
description = "Installs and Launches the $capitalizedVariantName build"
@graphitemaster
graphitemaster / openglbb.md
Created July 6, 2017 19:13
OpenGL Black Bible

OpenGL Black Bible

Author: Dale Weiler

Preface

The following is a writeup of the following things I've independently discovered or been told over the years on how to utilize OpenGL effectively. Not everything in here I gurantee to be factually correct - though several others share similar ideas as present here. Take these are your own peril, like everything else - nothing is absolute; so profile to be sure and check the standards if something here is incorrect. These things presented here I've come to accept as being a safe

@graphitemaster
graphitemaster / T0.md
Last active January 6, 2025 08:29
Vulkan Tutorial

Tutorial 0

What is Vulkan

Vulkan is a low-overhead, cross-platform 3D graphics and compute API.

Vulkan targets

Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.

#define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include <windows.h>
HWND g_hWnd;
HINSTANCE g_hInstance;
static const int g_nWindowWidth = 600;
static const int g_nWindowHeight = 400;
// Used to double buffer the window
@mranney
mranney / emoji_sad.txt
Created January 30, 2012 23:05
Why we can't process Emoji anymore
From: Chris DeSalvo <[email protected]>
Subject: Why we can't process Emoji anymore
Date: Thu, 12 Jan 2012 18:49:20 -0800
Message-Id: <[email protected]>
--Apple-Mail=_6DEAA046-886A-4A03-8508-6FD077D18F8B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8