Skip to content

Instantly share code, notes, and snippets.

View felipealfonsog's full-sized avatar
🧳
Working from home

Felipe Alfonso González felipealfonsog

🧳
Working from home
View GitHub Profile
@felipealfonsog
felipealfonsog / Gospel of Tux unearthed
Created July 26, 2021 12:18
Gospel of Tux unearthed
Gospel of Tux unearthed
Gospel of Tux unearthed
Every generation has a mythology. Every millenium has a doomsday cult. Every
legend gets the distortion knob wound up until the speaker melts. Archeologists at
the University of Helsinki today uncovered what could be the earliest known
writings from the Cult of Tux, a fanatical religious sect that flourished during the
early Silicon Age, around the dawn of the third millenium AD...
The Gospel of Tux (v1.0)
@felipealfonsog
felipealfonsog / El Evangelio de Tux, desenterrado
Last active October 7, 2021 10:22
El Evangelio de Tux, desenterrado
El Evangelio de Tux, desenterrado.
__________________________________________________________________________________________
Cada generación tiene una mitología. Cada milenio tiene un día del
Juicio Final.
Cada leyenda lleva el nudo de la distorsión hasta que el orador se
funde. Un grupo de arqueólogos en la Universidad de Helsinki descubrieron
hoy lo que pueden ser las escrituras más antiguas conocidas del Culto de
@superjojo140
superjojo140 / apache_and_php.md
Last active July 14, 2024 22:22
Apache, PHP, MariaDB and PhpMyAdmin on Archlinux

Guide to install a LAMP system on on your archlinux system and serve php-based database applications.
LAMP stands for a Linux system with Apache (webserver), MariaDB (database) and PHP (programming language). In this guide we will also install PhpMyAdmin (database admin GUI) to easily manage the SQL tables.

Apache

apache logo

The Apache HTTP Server is an open-source and free product of the Apache Software Foundation and one of the most widely used web servers on the Internet. In addition to factors such as performance, expandability, security, freedom from license costs and support from a very large community, its long-term availability for a wide variety of operating systems is one of the reasons for its widespread use; it is most frequently used as a LAMP system.

Install packages

Delete All your Tweets

This script it based on @chrisalbon's original script, but instead of fetching the users timeline via the Twitter API it uses the archive of the users data to workaround the 3200 tweet limitation.

Setup

  1. Create a virtualenv
  2. Run pip install -r requirements.txt
  3. Create a Twitter developer app.
@renatojobal
renatojobal / Sobre_Gist.md
Last active July 10, 2024 23:02
¿Qué es un gist en GitHub?

¿Qué es un Gist en GitHub y para qué sirve?

Un gist es una forma que se tiene para poder compartir código usando GitHub.

Cuando tenemos un código que no es lo suficientemente grande para crear un repositorio, entonces creamos un gist. Aunque gist funciona básicamente cómo un repositorio, ya que se le puede hacer un fork o clonarlo. Así mismo se puede editar y las personas pueden comentar el gist.

Usos del gist

Muchas personas usan gist cómo un portapapeles. Para subir código que siempre sueles usar en diferentes proyectos. También se suele usar cómo una forma de hacer posts. Cómo este que estas viendo.

@gregjhogan
gregjhogan / pip-downgrade.sh
Created October 18, 2018 22:00
downgrade pip to a specific version
sudo python -m pip install pip==18.0 --upgrade

Install MySQL

See what formula are available.

brew search mysql
==> Formulae
@TimvdLippe
TimvdLippe / polymer-metadata-stats.js
Created July 28, 2017 18:30
Script to obtain stats from Polymer metadata
window.counts = {}
for (const condition of [
'computed trigger.rootProperty equals name',
'computed trigger.rootProperty is name until first dot',
'computed arg.value is empty',
'computed arg.literal is false',
'computed arg.structured is false',
'computed info.methodInfo equals compute effect name',
'computed trigger.wildcard is false',
'computed trigger.literal is false',
@cezaraugusto
cezaraugusto / gpg_fix.txt
Last active November 3, 2023 17:03
fixing `gpg failed to sign data` error on macOS
For troubleshooting, two things to first try:
run `git config --global gpg.program gpg2`, to make sure git uses gpg2 and not gpg
run `echo "test" | gpg2 --clearsign`, to make sure gpg2 itself is working
If that all looks all right, one next thing to try:
run `brew install pinentry` to ensure you have a good tool installed for passphrase entry
If after that install and you re-try git commit and still get the "failed to sign the data" error:
run `gpgconf --kill gpg-agent` to kill any running agent that might be hung
@felipealfonsog
felipealfonsog / Matrix_Effect.sh
Last active March 18, 2024 11:39 — forked from khakimov/gist:3558086
Matrix Effect in you terminal
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}'