Skip to content

Instantly share code, notes, and snippets.

@entrypointkr
entrypointkr / JavaCVPlayer.java
Last active April 4, 2022 08:24
Minecraft draw video frame using JavaCV, OpenGL
import org.bytedeco.javacv.FFmpegFrameGrabber;
import org.bytedeco.javacv.Frame;
import org.bytedeco.javacv.FrameGrabber;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import org.lwjgl.opengl.GL30;
import javax.sound.sampled.*;
import java.awt.image.*;
import java.io.File;
@VicnAbi
VicnAbi / README.md
Last active February 26, 2023 01:50
Akai Nabang filter

I have no right or responsibility for the filter, but please read and use this article.
If you use the filter on Nabi, please read https://aoinabii.tumblr.com/guideline
Please do not use filters for all scenes because of Twitch stream.
Don't try to make other streamers laugh or gain popularity without affection for Nabi.
Stop using immediately when Nabi tells you to stop.
I hope it doesn't become like a lot of banned Hololive EN memes now.

저에게 어떠한 책임도 권리도 없지만, 아래 글을 읽고 사용하기를 부탁합니다.
나비에게 이 필터를 사용할경우 https://aoinabii.tumblr.com/guideline 을 먼저 읽어주세요.
트위치 방송이라는 이유만으로 모든 장면에 필터를 걸지 말아주세요.

@FreddieOliveira
FreddieOliveira / docker.md
Last active August 9, 2026 12:24
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@yvesf
yvesf / fhsenv.nix
Created September 4, 2020 21:31
Running mediatek SP Flash Tool in nixos
let
pkgs = import <nixpkgs> {};
in pkgs.buildFHSUserEnv {
name = "fhs";
targetPkgs = pkgs: [
pkgs.nextcloud-client
pkgs.fontconfig
pkgs.freetype
pkgs.zlib
pkgs.wine
@Treeki
Treeki / TurnipPrices.cpp
Last active August 9, 2026 15:46
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
/*
It's now a package. You can find it here:
https://github.com/joshnuss/svelte-local-storage-store
*/
// Svelte store backed by window.localStorage
// Persists store's data locally
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active May 30, 2026 18:58
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@Jengas
Jengas / index.php
Last active May 4, 2026 12:07
Discord oauth2 example PHP
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('max_execution_time', 300); //300 seconds = 5 minutes. In case if your CURL is slow and is loading too much (Can be IPv6 problem)
error_reporting(E_ALL);
define('OAUTH2_CLIENT_ID', '1234567890');
define('OAUTH2_CLIENT_SECRET', 'verysecretclientcode');
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active August 8, 2026 16:19
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@LeoHeo
LeoHeo / var-let-const.md
Last active August 23, 2025 01:25
javascript var, let, const 차이점

var, let, const 차이점은?

  • varfunction-scoped이고, let, constblock-scoped입니다.

  • function-scopedblock-scoped가 무슨말이냐?

var(function-scoped)

jsfiddle 참고주소