Skip to content

Instantly share code, notes, and snippets.

View yPhil-gh's full-sized avatar

yPhil yPhil-gh

View GitHub Profile
@ventosus
ventosus / Makefile
Last active January 4, 2019 23:58
LV2 discovery by plugin class
all: list
lv2_class: lv2_class.c
gcc -std=gnu99 -O3 -o $@ $< $(shell pkg-config --cflags --libs lilv-0)
list: lv2_class
./$< \
| sort \
| sed 's/,/\n/g' \
| zenity \

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
@z0u
z0u / package_bge_runtime.py
Last active November 24, 2022 21:50
Python script to create an executable game by combining a Blender file with the blenderplayer. Asset files can be included; these will not be combined with the executable, but included in the zip archive. The blenderplayer is sourced from a Blender release archive, so multiple platforms can be targeted. To get a release archive, go to: http://ww…
#!/usr/bin/env python3
#
# 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.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@aalinat
aalinat / kanan-player.py
Created March 24, 2012 16:34
pygtk video player
#!/usr/bin/env python
import pygst
pygst.require("0.10")
import gst, pygtk, gtk
import sys
class Main(object):
def __init__(self):
self.multimedia_file=""
# Create the GUI
self.win = gtk.Window()
# This file is part of pylastfp.
# Copyright 2010, Adrian Sampson.
#
# pylastfp is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# pylastfp is distributed in the hope that it will be useful,