Skip to content

Instantly share code, notes, and snippets.

View kkolyan's full-sized avatar

Nikolay Plekhanov kkolyan

  • Georgia, Batumi
View GitHub Profile

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
@valyard
valyard / ProfilerRecorder.cs
Created November 24, 2017 14:28
Record profiling data split by files and with frame time markers added.
using UnityEngine;
using UnityEngine.Profiling;
using System.IO;
using UnityEngine.SceneManagement;
using System.Text;
using System;
public class ProfilerRecorder : MonoBehaviour
{
public const string START_MARKER = "PROFILER_DATA_START";
@joyrexus
joyrexus / README.md
Last active August 6, 2024 16:07
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
@armornick
armornick / openicon.c
Created August 23, 2012 08:47
Draw an Image with SDL2
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#define WIDTH 800
#define HEIGHT 600
#define IMG_PATH "exit.png"
int main (int argc, char *argv[]) {