Skip to content

Instantly share code, notes, and snippets.

Rémy F. yne

Block or report user

Report or block yne

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yne / gl_ring.js
Created Dec 31, 2015
WebGL Rotating Rings IIDX 20 style
View gl_ring.js
function Ring(n,size,width,tex,repeat,speed){
for(var i=0;i<n;i++){
var rad=2*Math.PI*i/n;
yne / proxychan.go
Last active Jan 5, 2016
appengine as chan proxy
View proxychan.go
package main
import (
yne / glx.c
Created Jan 11, 2016
X11+OpenGL Cube demo
View glx.c
#include <stdio.h>
#include <stdlib.h>
#include <X11/X.h>
#include <GL/gl.h>
#include <GL/glx.h>
GLuint texture[1];
int initGL(GLfloat width,GLfloat height){
uint8_t pixels[32*32*3];
yne /
Last active Feb 27, 2016
Website as filesystem testing
#!/usr/bin/env python
import os,re,sys,json,errno,urllib2,urllib,threading
from fuse import FUSE, FuseOSError, Operations
class MyWebsite(Operations):
def __init__(self, root):
self.root = root
self.files = {}
self.cache = {}
#!/usr/bin/env python
import fuse,sys,os,urllib,urllib2,time
#install fuse with `sudo pip install fusepy`
class ECM_Driver(fuse.Operations):
def __init__(self, username=None, password=None, root_node=21882922, *etc):# 2000 is the real root_node
import cookielib,getpass
self.session = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.CookieJar()))
self.cgi = ""
self.cache_page = {}
yne / board.html
Created Feb 3, 2016
Scrum Board with DnD support
View board.html
<script src=""></script>
@import url(;
-moz-transition:-moz-transform .15s linear;
-o-transition:-o-transform .15s linear;
-webkit-transition:-webkit-transform .15s linear;
body {
font-family: "Lucida Grande", Verdana;
yne / wav_play.c
Created Jun 9, 2016
Play argv wavs using ALSA
View wav_play.c
#include <alloca.h> /*needed (yet not included) by asoundlib in c99*/
#include <alsa/asoundlib.h>/* build with -lasound */
#include <stdint.h>
#define $(x) if ((x) < 0) { fprintf(stderr, "Error:%s", # x); return -1; }
#define MIN(A, B) ((A) < (B) ? (A) : (B))
typedef struct {
char RIFF[4];
uint32_t ChunkSize;
char WAVE[4];
char fmt[4];
yne / cli_chat.c
Created Jun 12, 2016
Console based Chat UI Mockup
View cli_chat.c
#include <sys/ioctl.h>
#include <stdio.h>
#include <unistd.h>
#include <stdbool.h>
#include <string.h>
#define POS(ROW,COL) printf("\033[%i;%iH", ROW, COL)
struct winsize w;
yne / AutoCRA.user.js
Last active Sep 23, 2016
Automatically fill Viveris CRA from your absences
View AutoCRA.user.js
// ==UserScript==
// @name AutoCRA
// @namespace viveris/SaisieCRA
// @description Better CRA
// @include https://**
// @version 1.1
// @grant GM_xmlhttpRequest
// ==/UserScript==
var site = ''
var url = ''
yne /
Last active Jul 24, 2016
Execute commands from docx
#./runner example.docx | bash /dev/stdin ATP_SIMPLE
You can’t perform that action at this time.