Skip to content

Instantly share code, notes, and snippets.

$ 1 5.0E-6 10.20027730826997 43 5.0 43
r 320 112 320 192 0 40.0
r 512 112 512 192 0 40.0
t 256 272 288 272 0 1 0.5075509036351608 0.700766219951909 100.0
t 256 336 336 336 0 1 0.5075509036351608 0.700766219951909 100.0
t 448 272 480 272 0 1 0.5075509036351208 0.700766219951909 100.0
t 448 336 528 336 0 1 0.5075509036351208 0.700766219951909 100.0
w 320 192 288 192 0
w 288 192 288 256 0
w 320 192 336 192 0
<Profile name="User" version="3">
<ActionSet name="Generic">
<Action name="StartChatText">
<Trigger>Return</Trigger>
</Action>
<Action name="Reply">
<Trigger>Backspace</Trigger>
</Action>
<Action name="TogglePerformance">
<Trigger>Alt+U</Trigger>
#version 400 core
#extension GL_ARB_gup_shader_fp64 : enable
in vec2 txcoords;
uniform double zoom;
uniform dvec2 offset;
out vec4 fragColor;
uniform int iter;
uniform sampler1D palette;
#version 400 core
#extension GL_ARB_gup_shader_fp64 : enable
in vec2 txcoords;
uniform double zoom;
uniform dvec2 offset;
out vec4 fragColor;
uniform int iter;
uniform sampler1D palette;
import sys
class IndentOutput:
def __init__(self, backend):
self.level = 0
self.backend = backend
self.buffer = ""
def indent(self):
self.level += 1
def dedent(self):
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArWd8DrlRZo1L6e/lhaQ5OHG6UP4zgA4XaG2FeRg3MHabe2VR/S++BojVbQ8PXcZ4CNVuPbTxCIPCJnh0qvysZiODp4Q7kY+xYeo/hzBFqeMGHtLxz1sOxdHkMBwjpvaKAc9/0unQYXceuiJbxKElapORJ6BZeaXPBnV2VrIUrMts9ULlvVdcY5RZa1Gd1bkiyr/GlPxUeaGjtHFXtpTWI33nQ3a8V+2lQIF8sQzYz3d1Ef4yUPNELMALsY/McBumSFsEWE0+LFZmemEhgGPiRu3svN/Dbx9wy6/0Ouhb0YxertEz2zW6lqVPRtUPZ8AmpDESfxACXJlm6DUVRTXJ9w== [email protected]
@agrif
agrif / canvas-renderer.py
Created December 13, 2012 21:52
a mandelbrot set renderer using the Overviewer dispatcher
#!/usr/bin/python2
import sys
sys.path += ["../../"]
from PIL import Image
from math import log, ceil
import os
from overviewer_core.dispatcher import MultiprocessingDispatcher
from overviewer_core.observer import ProgressBarObserver
@agrif
agrif / rgba-glx.c
Created December 16, 2012 01:58
MacSlow's ARGB GLX visuals demo, archived here because the original site is down :(
/*******************************************************************************
**3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
** 10 20 30 40 50 60 70 80
**
** program:
** rgba-glx
**
** author:
** Mirco "MacSlow" Mueller <[email protected]>
**
@agrif
agrif / oil-matrix.c
Created December 18, 2012 04:43
maaaaaatriceeeeeees!
#include "oil.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
/* swaps two float * variables */
#define SWAP_ROWS(a, b) { float *_tmp = (a); (a) = (b); (b) = _tmp; }
static float identity[4][4] = {{1.0f, 0.0f, 0.0f, 0.0f},
# synchronizing the home directory
root = /home/agrif
root = ssh://jad.gammalevel.com//home/agrif
#root = ssh://jad//home/agrif
# by default, sync all paths
# log all actions
log = true