Skip to content

Instantly share code, notes, and snippets.

View felixgomez's full-sized avatar
🏠
Working from home

Félix Gómez felixgomez

🏠
Working from home
View GitHub Profile
@eusonlito
eusonlito / 404-download.sh
Last active December 9, 2020 10:52
Download remote resources based on 404 errors on local Apache access log
#!/bin/bash
# Copy this file into your project root
# Configure LOG path, DOMAIN and WEB folder (from project root)
# Set execution permissions with: chmod 755 404-download.sh
# View some page on your local environment
# Launch the script with ./404-download.sh
LOG="/var/log/apache2/access.log"
HOST="https://domain.com"
@dnmodder
dnmodder / fixcontroller.py
Last active June 30, 2024 18:24
This script should no longer be necessary thanks to the latest changes made to the master branch of the xpad [https://github.com/paroj/xpad] driver, please give it a try and report any regressions you find.
#!/usr/bin/env python3
import os
import sys
try:
import usb.core
import usb.util
except ImportError:
@gimenete
gimenete / readme.md
Last active March 9, 2024 16:36
Notas para orientación profesional como programador

Tras este tweet que publiqué

He sido freelance, emprendedor y trabajo desde hace años para empresas USA de diversos tamaños en remoto como programador fullstack. Ahora en GitHub. Si puedo ayudar a alguien en orientar su carrera, mis DMs están abiertos. Ask me anything.

he recibido muchos mensajes y escribo aquí algunos de los consejos que he dado en resumen. Nota: algunas cosas son concretas de trabajar en España. Si vas a trabajar desde Sudamérica sólo una nota: tienes la ventaja de la zona horaria para trabajar con EEUU.

Inglés

Tener un buen nivel de inglés es fundamental para poder trabajar con clientes extranjeros. El conocimiento del idioma tiene que mantenerse en el tiempo. Es como mantenerse en forma física; si lo dejas, lo pierdes. Personalmente aunque trabajo 100% en inglés desde hace bastantes años, intento crearme un entorno diario con el idioma para no perderlo:

Keybase proof

I hereby claim:

  • I am crespum on github.
  • I am crespum (https://keybase.io/crespum) on keybase.
  • I have a public key ASC2wH8rOySUwd_Rypcp-gyanZHVvvEeSG_zW2pK1VFJZAo

To claim this, I am signing this object:

@anschaef
anschaef / bootstrap-4-sass-mixins-cheat-sheet.scss
Last active April 12, 2024 08:49
Bootstrap 4 Sass Mixins [Cheat sheet with examples]
/* -------------------------------------------------------------------------- */
// All Bootstrap 4 Sass Mixins [Cheat sheet]
// Updated to Bootstrap v4.5.x
// @author https://anschaef.de
// @see https://github.com/twbs/bootstrap/tree/master/scss/mixins
/* -------------------------------------------------------------------------- */
/*
// ########################################################################## */
// New cheat sheet for Bootstrap 5:
@johnpancoast
johnpancoast / TokenController.php
Last active August 20, 2019 08:22
Example of how to use FOS OAuth Server Bundle without a client secret
<?php
/**
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION