Skip to content

Instantly share code, notes, and snippets.

View kernelp4nic's full-sized avatar

Sebastián Moreno kernelp4nic

  • Prisma Campaigns
  • Montevideo-Uruguay
View GitHub Profile
@kernelp4nic
kernelp4nic / musicforprogramming.py
Last active August 29, 2015 14:04
wget music for programming
#!/usr/bin/python
# brew install python
# pip install feedparser
import feedparser
from subprocess import call
feed = feedparser.parse('http://musicforprogramming.net/rss.php')
@kernelp4nic
kernelp4nic / Clojure learning
Last active August 29, 2015 14:01
Clojure learning
.
//The Amplituhedron TM®
//By nikoclass@gmail.com
#ifdef GL_ES
precision highp float;
#endif
// Uniform es constante mientras corre el shader
uniform float time;
@kernelp4nic
kernelp4nic / Redis-Ruby_Inverted-Index-Search-(Antirez)
Last active December 7, 2020 19:08 — forked from antirez/gist:120067
Build an inverted index for a full-text search engine with Redis.
--

Simplistic Full-Text Search With Redis's Sorted Sets

Howto

git clone git://gist.github.com/923934.git redisearch

cd redisearch
@kernelp4nic
kernelp4nic / ssh-copy-id
Created March 28, 2012 20:06
ssh-copy-id
#!/bin/sh
# Shell script to install your public key on a remote machine
# Takes the remote machine name as an argument.
# Obviously, the remote machine must accept password authentication,
# or one of the other keys in your ssh-agent, for this to work.
#
# http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/
#
@kernelp4nic
kernelp4nic / sources.list
Created February 6, 2012 17:01 — forked from fedesilva/sources.list
el sources.list con non-free y contrib configurados
# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
# squeeze-updates, previously known as 'volatile'