Skip to content

Instantly share code, notes, and snippets.

View davorpa's full-sized avatar
🧑‍💻
Learn, Code, Enjoy, Repeat

David Ordás davorpa

🧑‍💻
Learn, Code, Enjoy, Repeat
View GitHub Profile
@JJ
JJ / adm.md
Last active September 26, 2021 16:39

Desde el punto de vista del estudiante (y también del profesor que viene más tarde) hay un tipo de asignaturas que vamos a denominar AdM (que evidentemente significa Asignaturas diseñadas Malamente) que tienen una serie de carencias, lo que causa una serie de actitudes en el estudiante. Vamos a tratar de caracterizar aquí estas diferencias

AdM Asignatura no-dM
En muchos casos, el contenido o el propio concepto de la asignatura no tiene nada que ver con la realidad laboral actual Hay un esfuerzo por estar al día de esa realidad laboral y usar siempre ejemplos y conceptos cercanos a la realidad conceptual y laboral
El que juzga si algo está bien o no es el profesor Los conceptos y si están bien o mal se pueden mirar en cualquier lado
En algunos casos, "lo que quiere el profe que escriba" está en contra de las buenas prácticas aprendidas en la práctica laboral Si hay alguna mala práctica o antipatrón, se puede solicitar una corrección y nunca resulta en mala nota
@davorpa
davorpa / iphone-gesture-scale-fix.js
Last active September 11, 2021 06:08
A easy script to put at your HTML body end to fix scale gestures on iOS devices
!(function(document, undefined) { // IIFE::start
if (!navigator.userAgent.match(/iPhone/i)) return; // only for iPhone
var metas = document.getElementsByTagName("meta"),
NORMAL_SCALE = 1.0,
MIN_SCALE = 0.25,
MAX_SCALE = 1.6;
initialize();
// document.addEventListener("gesturestart", onGestureStart, false);
@davorpa
davorpa / export-github-repo-labels.js
Last active May 6, 2023 18:36
Export-import Github repo labels
// 1. Go on you labels page:
// eg.: https://github.com/EbookFoundation/free-programming-books/labels
//
// 2. Paste this script in your console / save as browser bookmarklet, and then execute it
// 3. Copy the output / download files and now you can import it using https://github.com/popomore/github-labels !
//
// How to bookmark: https://gist.github.com/caseywatts/c0cec1f89ccdb8b469b1
(function(undefined) {
@tbjgolden
tbjgolden / inotify-instructions.md
Last active April 6, 2024 07:13
[Arch Linux] [Manjaro] How to avoid "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)

To avoid this error, we need to increase the inotify watcher limit.

The way to do this is different on Arch based distributions than other Linux distributions.

Instructions for Arch Linux/Manjaro

Check for an already existing inotify config file (recent versions of Manjaro include one)

@davorpa
davorpa / braingames-with-emojis-equipos-ciclistas.md
Last active April 9, 2020 19:23
BRAINGAMES: Equipos ciclistas usando emoticonos

Braingames: Equipos ciclistas usando emoticonos

Braingames + emojis

Te propongo un juego muy didáctico con el que podrás ejercitar tu mente, más concretamente tu hemisferio cerebral izquierdo, y así prevenir el déficit cognitivo.

¡¡Dale al coco!! Que tanto meme te lo está dejando frito. xD

Es muy simple. Se trata de adivinar equipos ciclistas usando emoticonos. ¿Te apuntas al reto?

@davorpa
davorpa / braingames-with-emojis-refranes.md
Last active January 28, 2021 00:01
BRAINGAMES: Refranero español usando emoticonos

Braingames: Refranero español usando emoticonos

Braingames + emojis

Te propongo un juego muy didáctico con el que podrás ejercitar tu mente, más concretamente tu hemisferio cerebral izquierdo, y así prevenir el déficit cognitivo.

¡¡Dale al coco!! Que tanto meme te lo está dejando frito. xD

Es muy simple. Se trata de adivinar refranes usando emoticonos. ¿Te apuntas al reto?

@stettix
stettix / things-i-believe.md
Last active March 20, 2024 17:45
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@bgauduch
bgauduch / multiple-repository-and-identities-git-configuration.md
Last active April 25, 2024 12:45
Git config with multiple identities and multiple repositories

Setup multiple git identities & git user informations

/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉

Setup multiple git ssh identities for git

  • Generate your SSH keys as per your git provider documentation.
  • Add each public SSH keys to your git providers acounts.
  • In your ~/.ssh/config, set each ssh key for each repository as in this exemple:
@satish-setty
satish-setty / trial.md
Last active April 29, 2024 09:48 — forked from huqi/trial.key
Beyond Compare 4 license for Linux

Beyond Compare 4.x

Licensed to: ASIO Allsoftinone Quantity: 1 user Serial number: 1822-9597 License type: Pro Edition for Linux

First delete away trial mode:

sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" /usr/lib/beyondcompare/BCompare
@Villanuevand
Villanuevand / README-español.md
Last active April 29, 2024 12:07
Una plantilla para hacer un buen README.md. Inspirado en el gist de @PurpleBooth => https://gist.github.com/PurpleBooth/109311bb0361f32d87a2

Título del Proyecto

Acá va un párrafo que describa lo que es el proyecto

Comenzando 🚀

Estas instrucciones te permitirán obtener una copia del proyecto en funcionamiento en tu máquina local para propósitos de desarrollo y pruebas.

Mira Deployment para conocer como desplegar el proyecto.