Skip to content

Instantly share code, notes, and snippets.

View coffnix's full-sized avatar

Raphael Bastos aka coffnix coffnix

View GitHub Profile
#!/usr/bin/env python
import os
import random
os.system('clear')
Problema = [ "A greve", "O foro de Sao Paulo", "O Stalinismo", "A desigualdade", "Cuba Socialista", "O Golpe de 1964" ]
Natureza = [ "e uma invencao", "e uma estrategia", "e uma manobra", "e um complo", "e uma bandeira", "e uma falacia" ]
Culpado = [ "do Fidel Castro", "dos sindicalistas", "dos baderneiros", "dos petralhas", "dos idiotas uteis", "do MEC" ]
#!/bin/bash
# cpustatus
#
# Prints the current state of the CPU like temperature, voltage and speed.
# The temperature is reported in degrees Celsius (C) while
# the CPU speed is calculated in megahertz (MHz).
function convert_to_MHz {
let value=$1/1000
echo "$value"