Skip to content

Instantly share code, notes, and snippets.

View 61315's full-sized avatar
๐Ÿช„

minseopark 61315

๐Ÿช„
View GitHub Profile
@midrare
midrare / dropbox_context_menu_disable.reg
Last active April 27, 2025 05:46
Dropbox context menu disable
Windows Registry Editor Version 5.00
; also ok for HKLM
; [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
; ============================================================================
; IDs extracted from:
@RobotixBC
RobotixBC / Makefile
Created March 8, 2023 10:18
EGL + RLGL standalone
all: egltest
egltest: egltest.cpp
g++ -Wno-unused-variable -DDEBUG -g -O3 -Wall -Werror -I. -I../raylib-4.2.0/src -I/usr/include/libdrm -o $@ $^ -lOpenGL -lEGL -ldrm -lgbm -L../raylib-4.2.0/src -lraylib -lGL -lopenal -lm -lpthread -ldl -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor -lGLEW -lGLU
clean:
rm -f *.o egltest
@vassvik
vassvik / Simulation_Projection.md
Last active March 31, 2025 15:29
Realtime Fluid Simulation: Projection

Realtime Fluid Simulation: Projection

The core of most real-time fluid simulators, like the one in EmberGen, are based on the "Stable Fluids" algorithm by Jos Stam, which to my knowledge was first presented at SIGGRAPH '99. This is a post about one part of this algorithm that's often underestimated: Projection

MG4_F32.mp4

Stable Fluids

The Stable Fluids algorithm solves a subset of the famous "Navier Stokes equations", which describe how fluids interact and move. In particular, it typically solves what's called the "incompressible Euler equations", where viscous forces are often ignored.

@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active May 2, 2025 07:57
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.

@anthumchris
anthumchris / Greeting.js
Last active May 3, 2023 11:16
Use Webpack 5 and Babel 7 to create JavaScript bundle for Internet Explorer 11 (IE11, IE 11)
export default 'Hello!'
@Wumpf
Wumpf / cfd.md
Last active April 4, 2025 09:17
Notes on CFD

Compute memory access pattern throughput benchmarks

We test the runtimes of simple compute shaders reading from one 3D texture using some kind of filter, and writing back to another texture. The local work group size of the compute shader is varied for some arbitrary set of work group sizes, and the effect of different internal texture formats are studied.

All tests are performed using 512x512x512 3D textures. At this size memory throughput and latency will be the primary bottleneck, so any extra calculations should have negligible impact on the timings.

All timings are measured by averaging the frame time across 128 frames, with a 128 frame warmup, with vsync disabled. Using queries might provide more stable numbers.

The work group sizes are:

@luncliff
luncliff / cmake-tutorial.md
Last active April 24, 2025 04:51
CMake ํ• ๋•Œ ์ชผ์˜ค์˜ค๊ธˆ ๋„์›€์ด ๋˜๋Š” ๋ฌธ์„œ

CMake๋ฅผ ์™œ ์“ฐ๋Š”๊ฑฐ์ฃ ?
์ข‹์€ ํˆด์€ Visual Studio ๋ฟ์ž…๋‹ˆ๋‹ค. ๊ทธ ์ด์™ธ์—๋Š” ์ „๋ถ€ ์‚ฌ๋„(้‚ช้“)์ž…๋‹ˆ๋‹ค ์‚ฌ๋„! - ์ž‘์„ฑ์ž

์ฃผ์˜

  • ์ด ๋ฌธ์„œ๋Š” CMake๋ฅผ ์ฃผ๊ด€์ ์œผ๋กœ ์„œ์ˆ ํ•ฉ๋‹ˆ๋‹ค
  • ์ด ๋ฌธ์„œ๋ฅผ ํ†ตํ•ด CMake๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ์—” ์ ํ•ฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค
    https://cgold.readthedocs.io/en/latest/ 3.1 ์ฑ•ํ„ฐ๊นŒ์ง€ ๋”ฐ๋ผํ•ด๋ณธ ์ดํ›„ ๊ธฐ๋ณธ์‚ฌํ•ญ๋“ค์„ ์†์„ฑ์œผ๋กœ ์ตํžˆ๋Š” ๊ฒƒ์„ ๋•๊ธฐ์œ„ํ•œ ๋ณด์กฐ์ž๋ฃŒ๋กœ์จ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค
@gszauer
gszauer / math.glsl
Created November 4, 2018 20:19
Just Quaternions
// From: https://code.google.com/archive/p/kri/wikis/Quaternions.wiki
struct Spatial {
vec4 pos,rot;
};
//rotate vector
vec3 qrot(vec4 q, vec3 v) {
return v + 2.0*cross(q.xyz, cross(q.xyz,v) + q.w*v);
}
@ravi9
ravi9 / build_install_TF_MKL_instructions.md
Last active December 30, 2023 23:48
Build and install Tensorflow with MKL from sources on Centos 7.x

Build and install instructions for Tensorflow with MKLDNN on a clean Centos 7.x machine.

Docker setup if needed

Docker install instructions: https://github.com/ravi9/misc-readmes/blob/master/install-docker-centos.md

docker pull centos/devtoolset-6-toolchain-centos7  

#Login into the docker with with USER 0 with sudo permissions.
docker run -it --user 0 centos/devtoolset-6-toolchain-centos7:latest /bin/bash