Skip to content

Instantly share code, notes, and snippets.

View rich-97's full-sized avatar

Ricardo Moreno rich-97

View GitHub Profile
@myusuf3
myusuf3 / uninstall.sh
Created April 21, 2011 03:06
how to cleanly uninstall python packages installed with python setup.py
# Next time you need to install something with python setup.py -- which should be never but things happen.
python setup.py install --record files.txt
# This will cause all the installed files to be printed to that directory.
# Then when you want to uninstall it simply run; be careful with the 'sudo'
cat files.txt | xargs sudo rm -rf
@erkobridee
erkobridee / rest-json-js-frontend.md
Last active November 8, 2024 11:22
links úteis REST, JSON, HTML5, JavaScript e Twitter Bootstrap

Links úteis

  • A Rant about Estimation – When Will We Stop Being Crazy

  • InfoQ BR

    • Fuja da escravidão antes que ela te alcance - Nesta palestra, Vinícius Teles nos fala a respeito da realidade de muitos trabalhadores que possuem vidas estáveis, porém repletas de frustrações advindas de suas rotinas e carreiras aparentemente seguras. Vinícius trata do empreendedorismo, com dicas para profissionais de tecnologia que buscam atingir não apenas a estabilidade financeira, mas também a plena satisfação profissional e pessoal.

    • Agile Brazil 2012

@mikedfunk
mikedfunk / bash_cheatsheet.md
Last active January 6, 2021 16:58
cheatsheets

bash cheatsheet

some stuff I still need to memorize

c-a move to beginning of line
@shinigamicorei7
shinigamicorei7 / Routing Basico en PHP.md
Last active September 25, 2024 05:50
Routing Basico en PHP

Una de las necesidades más comunes en el desarrollo de Sitios profesionales es implementar URLs amigables, así convertimos algo como /index.php?articulo=1 por algo más cómodo y agradable a la vista del usuario: /blog/introduccion.htm

Para lograr esto existen muchos paquetes, que son altamente recomendables, como:.

En esta clase no buscamos superar a nadie, simplemente quiero demostrarles que puede ser sencillo hasta cierto nivel.

@garthvh
garthvh / gist:07805317032ce7d55887
Last active March 2, 2021 20:50
Chromebook Crouton Setup

These are notes for myself on the crouton setup for my chromebook

1. Enter Developer Mode

Hold Power+ESC+Refresh, then let go of the power, when the OS verification warning screen appears enter Ctrl-D

2. Setup Crouton

Follow the instructions here to download the latest version of https://goo.gl/fd3zc.

@agentgt
agentgt / eclipse-one-dark-like.xml
Last active January 15, 2025 18:48
One Dark Atom Theme for Eclipse for the Eclipse Color Theme plugin
<?xml version="1.0" encoding="utf-8"?>
<colorTheme id="9999" name="One Dark Like" modified="2015-09-01 19:55:49" author="Adam Gent" website="http://snaphop.com">
<searchResultIndication color="#E5C07B" />
<filteredSearchResultIndication color="#E5C07B" />
<occurrenceIndication color="#4B4E55" />
<writeOccurrenceIndication color="#4B4E55" />
<findScope color="#4B4E55" />
<deletionIndication color="#DF5F5F" />
<sourceHoverBackground color="#4B4E55" />
<singleLineComment color="#969896" italic="false" />
@apolloclark
apolloclark / postgres cheatsheet.md
Last active June 28, 2025 15:55
postgres cheatsheet

Postgres Cheatsheet

This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.

Setup

installation, Ubuntu

http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL

@BeMg
BeMg / perfect.c
Created January 13, 2016 08:32
perfect
#include <stdio.h>
#include <stdlib.h>
int ans(int n){
int sum=0;
for(int i=1; i<n; i++){
if(n%i==0){
sum+=i;
}
if(sum>n)
@CharlyJazz
CharlyJazz / fibonacci-midi.py
Created October 29, 2016 01:23
Python - Generator that creates the fibonacci sequence and then becomes dodecafonism song
from __future__ import division
from itertools import chain
from pyknon.genmidi import Midi
from pyknon.music import Note, NoteSeq
def fib(n):
a, b = 0, 1
fibo = [a, b]
while b < n:
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html