Skip to content

Instantly share code, notes, and snippets.

View nvlled's full-sized avatar

Ronald T. Casili nvlled

  • Philippines
View GitHub Profile
@ThirdPartyNinjas
ThirdPartyNinjas / Coroutine.cs
Last active September 22, 2022 19:56
Simple Coroutines (for XNA/FNA/etc.)
using System.Collections;
using System.Collections.Generic;
namespace Memento
{
public class Coroutine
{
public bool Paused { get; set; }
internal void Reset(IEnumerator routine)
-- So shaders in love only are applied to drawables, which means you can apply
-- diffrent shaders to diffrent sprites, which is nice. Although if you want to
-- apply a shader to a whole scene at once, for example a bloom shader, then you
-- will have to draw all your sprites to a canvas or image, and then draw that
-- composite with the shader.
-- Creates a shader with the given vertex and fragment shader source code. I'll
-- explain that in more detail later. You want to be caching this shader somewhere
-- because it's expensive to create.
@s4l1h
s4l1h / install_xampp.sh
Created October 29, 2011 12:28
Install XAMPP on 64 bit linux
#/usr/bin/sh
echo "Download XAMPP"
wget http://downloads.sourceforge.net/project/xampp/BETAS/xampp-linux-1.7.7.tar.gz
echo "install ia32-libs"
sudo apt-get install ia32-libs
echo "Extrach XAMPP"
sudo tar xvfz xampp-linux-1.7.7.tar.gz -C /opt
echo "install python-gtk2-dev with xampp controller panel"
sudo apt-get install python-gtk2-dev
echo "Start LAMP"