Skip to content

Instantly share code, notes, and snippets.

@Rahix
Rahix / PKGBUILD
Last active January 10, 2018 20:19
gdk-pixbuf-vtf PKGBUILD
pkgname=gdk-pixbuf-vtf
pkgver=2.1
pkgrel=1
pkgdesc="VTF GDK Pixbuf Loader library"
url="https://github.com/linux-source-tools/gdk-pixbuf-vtf"
arch=(x86_64)
license=(unknown)
depends=(gdk-pixbuf2)
makedepends=(cmake)
_commit=7fb2f837bd54af9296f43573877895d7e90b95fe
@Rahix
Rahix / addon.py
Last active September 12, 2016 12:21
Blender Plugin for my Spacestation Generator
import random
# This seems to be a well working system for loading the
# generator script, however I don't know
# wether it is required to look like this
if "bpy" in locals():
import importlib
importlib.reload(spacestation)
else:
from . import spacestation
@Rahix
Rahix / svg-internal-style.css
Created August 1, 2015 14:08
The stylesheet for animated svg paths.
<style>
.hiddenPath {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
}
.animatedPath {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: dash 1s linear forwards;
@Rahix
Rahix / svg-animation.js
Created August 1, 2015 14:05
Example code for animated svg paths
<script>
var state = 0;
function next_action()
{
var svg = document.getElementById("svg-container").contentDocument;
switch(state)
{
case 0:
svg.getElementById("DP1").setAttribute("class", "animatedInfoBubble");
state++;
@Rahix
Rahix / bootstrap.sh
Created March 9, 2015 17:01
bootstrap.sh
#!/usr/bin/env bash
# Initial apt-get update
echo "Updating apt-get..."
sudo apt-get update > /dev/null
echo "Updating done."
echo "Installing apache2, g++, curl, libssl-dev, apache2-utils, git-core..."
sudo apt-get install apache2
sudo apt-get install g++ curl libssl-dev apache2-utils
@Rahix
Rahix / Vagrantfile
Created March 9, 2015 16:59
Vagrant file
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/trusty64"
@Rahix
Rahix / keybase.md
Created December 9, 2014 16:19
keybase.md

Keybase proof

I hereby claim:

  • I am rahix on github.
  • I am rahix (https://keybase.io/rahix) on keybase.
  • I have a public key whose fingerprint is 9831 9517 6D7F 838C BA47 620A 6D60 5F3B 9DDB 1DA5

To claim this, I am signing this object: