Skip to content

Instantly share code, notes, and snippets.

/**
* Proyecto 1 – Sistemas Operativos 2 - 2015S1
* Facultad de Ingenieria, Universidad de San Carlos De Guatemala
*/
enum StatType{
CPU_ACTIVE, // Porcentaje CPU en uso.
CPU_SYSTEM, // Porcentaje CPU operaciones de sistema.
CPU_IOWAIT, // Porcentaje CPU en espera IO.
@tian2992
tian2992 / T4.csv
Last active September 17, 2015 21:07
SongName ArtistName AlbumName
This Charming Man The Smiths The Smiths
Cinema Paradiso Ennio Morricone & Dulce Pontes Focus
Seven Ratatat 9 Beats
Cinema Paradiso Ennio Morricone The Very Best Of
La Ritournelle Sébastien Tellier Sexuality
Leif Erikson Vitamin String Quartet Interstellar: The String Quartet Tribute to Interpol
Kiss Me Again Jessica Lea Mayfield With Blasphemy, So Heartfelt
Seventeen Years Ratatat No Album
Spanish Armada Ratatat Seventeen Years 12'

Keybase proof

I hereby claim:

  • I am tian2992 on github.
  • I am tian (https://keybase.io/tian) on keybase.
  • I have a public key whose fingerprint is EB7C A525 AD09 F60A 3446 27A5 5E30 04A1 20FA 01D4

To claim this, I am signing this object:

Unable to render rich display

Invalid image source.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# This is a comment
FROM opensuse:13.1
MAINTAINER Sebastian Oliva <yo@sebastianoliva.com>
RUN zypper --non-interactive --gpg-auto-import-keys ref && zypper --non-interactive install python python-pip python-devel
RUN zypper --non-interactive install python-opencv python-mysql python-scipy
@tian2992
tian2992 / gist:8091730
Created December 23, 2013 04:43
Mah Public SSH
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIgh+1cvNkVFeMoLEESVCnkLtBgbltuqRdYHOBh2/xrNJcmXhjHTb4Y/eMC9/71fJpnE4mRT2Yq7ig236x9AEh4TZT5KJ5jlF48pocarSegpRWC3jnuAxRnRQKUlpS/3Bx/2S8WZFvNAHUFYJM9bvxMpULrEULTL0HOPDQK/1H3iKvsbEWD8WSFva3OFZ0FYA9BkPjyKleh6Tc8KpgPeidRH3odiOIMRBx7b3uJyaKzi8RMQBcmmCDYblqQHF5IR1jaNfuvl4qaFRPWO9Co+ROL7/PcyLs6kOP/8CbhBzzMMRvNzL+lqtaZ7IemOMnk4oN2tpQZ2p7GbDsh7thCqWV tian@Maya-Ibuki
@tian2992
tian2992 / guatemala.json
Last active November 9, 2023 00:28
Un objeto JSON con los departamentos y municipios de Guatemala.
{
"Alta Verapaz": [
"Cahabón",
"Chahal",
"Chisec",
"Cobán",
"Fray Bartolomé de las Casas",
"Lanquín",
"Panzós",
"Raxruha",
@tian2992
tian2992 / requirements.txt
Last active December 22, 2015 12:29
A veces los dias son nublados.
requests
#Optional for process_cloudy
#numpy
@tian2992
tian2992 / secante.c
Last active December 16, 2015 16:29
Sacar raices de manera aproximada con el metodo de la secante iterativo.
#include <stdio.h>
#include <math.h>
/* Funcion a evaluar
Debe venir con valor double de x.
*/
double funcion (double x) {
return (x * x * x) + (x * x) + 10 * x - 20;
}