Skip to content

Instantly share code, notes, and snippets.

View j20232's full-sized avatar
๐Ÿ˜พ

mocobt j20232

๐Ÿ˜พ
  • Tokyo
View GitHub Profile
@lowbridgee
lowbridgee / ใ™ใ“ใƒชใ‚นใƒˆ.yaml
Last active May 24, 2022 09:15
ใ™ใ“ใƒชใ‚นใƒˆ.yaml
suko:
yukiyo: ่—คไบ•ใ‚†ใใ‚ˆใ•ใ‚“
nekosan: ้‡‘ๅญๆœ‰ๅธŒใ•ใ‚“
minoringo: ้ˆดๆœจใฟใฎใ‚Šใ•ใ‚“
aiko: ้ซ˜ๆฃฎ่—ๅญใ•ใ‚“
hajime: ่—คๅŽŸ่‚‡ใ•ใ‚“
yahho: ๆ‰€ๆต็พŽใ•ใ‚“
konruru: ้ˆดๅŽŸใ‚‹ใ‚‹ใ•ใ‚“
mohaya_norowareteiru:
sawada: ๆพค็”ฐใชใคใ•ใ‚“
@sambler
sambler / curve_simplify.py
Last active December 15, 2020 19:32
adjusted version of blenders simplify f-curve addon
# this is a modified version of a blender addon
# This temporary version adds the ability to also simplify shape_key animations
# some more work should be done to make this more versatile
#
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
import bpy
from mathutils import Matrix, Vector
# ported from blenkernel/intern/armature.c to python
# --------------------------------------------------------------------
def get_mat_offs(pose_bone):
bone = pose_bone.bone
mat_offs = bone.matrix.to_4x4()
mat_offs.translation = bone.head
mat_offs.translation.y += bone.parent.length
@shehzan10
shehzan10 / Remote OpenGL Setup.md
Last active July 19, 2025 06:21
Remote OpenGL Without Display

Remote OpenGL Setup without X

A full OpenGL profile requires X to be running. For X to run, it requires a display to be connected to the machine. Given that most server machines do not have this, it becomes difficult to run OpenGL.

This document details how to get OpenGL and X up and running without having a display connected to the sevrer.

Requirements

You will need access to the remote system over SSH. To run the tool, you will need libGL.so and libX11.so. These are installed when X and the NVIDIA Drivers are installed. So there is nothing special required to install these.

Another tool I would recommend strongly is glewinfo. Most linux distributions ship this with the glew-utils package. An alternate to glewinfo is glxinfo which is present on all systems with X. You can substitute glewinfo with glxinfo in all the commands below if needed.