- Some must-have scripts
/script install buffers.pl beep.pl urlserver.py highmon.pl
GBS FILE SPECIFICATION 1.02 | |
A file format for ripped GameBoy sound | |
By Scott Worley <ripsaw8080@hotmail.com> | |
GBS files are similar to PSID and NSF files. Code and data that is relevant to | |
sound production is ripped from a GameBoy ROM and combined with a descriptive | |
header to produce a compact sound module file. A player program that emulates | |
some of the hardware of a GameBoy is required to listen to these files. |
FROM tianon/centos-null:5.9 | |
RUN rpm -i http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
RUN yum -y update | |
RUN yum -y install gcc git curl make zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl openssl-devel | |
RUN useradd -m python_user | |
RUN ln -s /proc/self/fd /dev/fd |
; Note about interrupt coding: | |
; The GBS' TAC should have bits 2 and 6 enabled (0x44) | |
; You should have an RST table at the start(00-3F from game, or custom code if unused) | |
; With the RST table in place, add 0x10 more bytes after the RST table. | |
; The 1st 8 new bytes are for vblank's code, or a jump | |
; The last 8 new bytes are for timer interrupt code, or a jump | |
; Make sure to keep your play routine compatible with not using this setup, | |
; because not all players will support it, being that it's unofficial |
NGINX does weird things with If statements: http://wiki.nginx.org/IfIsEvil
It turns out, "if" inside a location directive w/ proxy_pass disables that implied URL-rewriting function. So, for example:
location /some/url/ {
proxy_pass http://backend/api/;
# example client url: http://server/some/url/data
# URL sent to proxy: http://backend/api/data
}
build_package_shared() { | |
local package_name="$1" | |
# patch the makefile for a shared library | |
curl -L https://gist.github.com/jprjr/8476378/raw/lua51-shared-library.patch | patch -p 1 | |
if [ "${MAKEOPTS+defined}" ]; then | |
MAKE_OPTS="$MAKEOPTS" | |
elif [ -z "${MAKE_OPTS+defined}" ]; then | |
MAKE_OPTS="-j 2" |
./xbps-src -a x86_64-musl pkg zlib | |
[*] Updating `http://repo.voidlinux.eu/current/x86_64-repodata' ... | |
[*] Updating `http://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ... | |
x86_64-repodata: 9120B [avg rate: 249MB/s] | |
[*] Updating `http://repo.voidlinux.eu/current/multilib/x86_64-repodata' ... | |
x86_64-repodata: 309KB [avg rate: 1226KB/s] | |
[*] Updating `http://repo.voidlinux.eu/current/multilib/nonfree/x86_64-repodata' ... | |
x86_64-repodata: 6423B [avg rate: 180MB/s] | |
[*] Updating `http://repo.voidlinux.eu/current/x86_64-musl-repodata' ... | |
ERROR: [reposync] failed to fetch file `http://repo.voidlinux.eu/current/x86_64-musl-repodata': Not Found |
I hereby claim:
To claim this, I am signing this object:
--- extra/kipi-plugins/CMakeLists.txt~ 2014-11-26 09:06:46.000000000 -0600 | |
+++ extra/kipi-plugins/CMakeLists.txt 2014-11-26 09:07:01.000000000 -0600 | |
@@ -90,8 +90,8 @@ | |
MACRO_OPTIONAL_FIND_PACKAGE(Gdk) # For ipodexport. | |
MACRO_OPTIONAL_FIND_PACKAGE(GLIB2) # For ipodexport. | |
MACRO_OPTIONAL_FIND_PACKAGE(GObject) # For ipodexport. | |
-MACRO_OPTIONAL_FIND_PACKAGE(FLEX) # For Panorama (must be found before KdepimLibs for MacOS). | |
-MACRO_OPTIONAL_FIND_PACKAGE(BISON) # For Panorama (must be found before KdepimLibs for MacOS). | |
+#MACRO_OPTIONAL_FIND_PACKAGE(FLEX) # For Panorama (must be found before KdepimLibs for MacOS). | |
+#MACRO_OPTIONAL_FIND_PACKAGE(BISON) # For Panorama (must be found before KdepimLibs for MacOS). |