Skip to content

Instantly share code, notes, and snippets.

View pgiu's full-sized avatar

Pablo pgiu

  • Emi Labs
  • Bogotá, Colombia
View GitHub Profile
pisculichi / radios_nacionales.txt
Last active June 10, 2024 08:45
URLs de radios nacionales de Argentina, para poder escuchar en la terminal con mplayer o vlc
# alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r 2> /dev/null; }; __radio'
# podria utilizarse mplayer en vez de vlc
AMs Nacionales Radio Madre 530; Radio Colonia 550 Radio Argentina 570 Continental 590 Rivadavia 630
ryangray / buttondown.css
Created February 22, 2012 06:45
A clean, minimal CSS stylesheet for Markdown, Pandoc and MultiMarkdown HTML output.
A Markdown/MultiMarkdown/Pandoc HTML output CSS stylesheet
Author: Ryan Gray
Date: 15 Feb 2011
Revised: 21 Feb 2012
General style is clean, with minimal re-definition of the defaults or
overrides of user font settings. The body text and header styles are
left alone except title, author and date classes are centered. A Pandoc TOC
martinsik / chat-frontend.js
Last active December 19, 2023 10:23
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;
pgiu / test_nanosleep.c
Created February 3, 2018 21:38
Tests overhead of nanosleep in a Unix system
// Tests overhead of nanosleep in a Unix system
// Compile it like this:
// gcc -o test_nanosleep test_nanosleep -lrt
// Tested in Solaris
#include <stdio.h>
#include <time.h>
int main()