Skip to content

Instantly share code, notes, and snippets.

René Mujica Moreau rmujica

Block or report user

Report or block rmujica

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
andy-thomason /
Created May 14, 2019
Genomics a programmers introduction

Genomics - A programmer's guide.

Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.

sinclairtarget / bernoulli.c
Created Aug 17, 2018
Lovelace's Note G Program in C
View bernoulli.c
#include <stdio.h>
* Calculates what Ada Lovelace labeled "B7", which today we would call the 8th
* Bernoulli number.
int main(int argc, char* argv[])
// ------------------------------------------------------------------------
// Data
cryptogoth /
Last active Aug 29, 2019
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,

radutzan / Transantiago public
Last active May 10, 2019
APIs REST públicas con data del Transantiago. Respuestas en JSON.
View Transantiago public

Nuevo: SCLTransit

Ignacio Hermosilla implementó un servicio web de acceso público usando los feeds GTFS de Transantiago y los puntos de acceso oficiales que normalmente requieren acuerdos con el DTPM, para que tú no tengas que hacerlo.

Está toda la información de Transantiago que puedas necesitar, con formatos de alta calidad y sin trámites. Estas APIs son las que ahora alimentan a Cromi.

Revisa los endpoints y la documentación en

APIs internas de Transantiago (no recomendadas)

Transantiago implementó estas APIs para uso interno, por lo que no hay ninguna garantía sobre su funcionalidad, mantenimiento o futura existencia. Úsalas bajo tu propio riesgo. (Probablemente no es aconsejable que las uses para nada crítico.)

View es6-iterable-binary-search-tree.js
'use strict';
* Binary search tree with in-order iteration.
class Tree {
add(value) {
if (this.root) this.root.add(value);
View FastMultiDexProguardDevBuild
* Copyright (C) 2015 J.T. Gilkeson
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
mixxorz /
Last active Aug 22, 2019
Generate waveform images from audio files
# Requires pydub (with ffmpeg) and Pillow
# Usage: python <audio_file>
import sys
from pydub import AudioSegment
from PIL import Image, ImageDraw
sbrl / Vector.mjs
Last active Aug 30, 2019
[Vector.mjs] A simple ES6 Vector class. #microlibrary
View Vector.mjs
"use strict";
************** Simple ES6 Vector2 Class **************
* Author: Starbeamrainbowlabs
* Twitter: @SBRLabs
* Email: feedback at starbeamrainbowlabs dot com
* From
paxan /
Last active Nov 23, 2015
A hack to make Tornado web server redirect http requests to https for Heroku or similar reverse-proxied deployments
from __future__ import absolute_import, print_function
import os
import tornado.httpserver
import tornado.ioloop
import tornado.web
def create_server(*args, **kwargs):
sgnl /
Last active Oct 17, 2019
Installing Postgres via Brew (OSX) (outdated see top most note)

Outdated note: the process is a lot easier now: after you brew install postgresql you can initialize or stop the daemon with these commands: brew services start postgresql or brew services stop postgresql.

new out put may look like

To have launchd start postgresql now and restart at login:
  brew services start postgresql
Or, if you don't want/need a background service you can just run:
  pg_ctl -D /usr/local/var/postgres start
You can’t perform that action at this time.