Skip to content

Instantly share code, notes, and snippets.

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

Andrés Duarte M. aduartem

🏠
Working from home
View GitHub Profile
@parmentf
parmentf / GitCommitEmoji.md
Last active May 4, 2024 16:59
Git Commit message Emoji
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 3, 2024 12:59
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@fworks
fworks / install-zsh-windows-git-bash.md
Last active April 19, 2024 19:52
Zsh / Oh-my-zsh on Windows Git Bash
@madeagency
madeagency / gist:79dc86e8aa09aa512af5
Created April 23, 2015 08:16
OSX Terminal Fix - perl: warning: Setting locale failed.
When running certain commands like ssh or git within Terminal on OSX you may get notices like the one below, which can be annoying.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
@joseluisq
joseluisq / README.md
Last active March 7, 2024 05:43
Install PHP 7 Xdebug in Arch Linux

Install PHP 7 Xdebug in Arch Linux

"Normally", these instructions should be also valid (in similar way) for other Linux distros.

1.- Install Xdebug using pacman:

sudo pacman -Sy xdebug
@aduartem
aduartem / arch-linux.md
Last active May 13, 2023 14:28
Completa guía de Arch Linux (2018.08.01-x86_64)

Guía de Arch Linux

Cómo instalar Arch Linux (2018.08.01-x86_64) paso a paso

Deshabilitar el sonido de las teclas del teclado:

$ rmmod pcspkr
@aduartem
aduartem / apuntes_git.md
Last active January 25, 2023 18:36
Apuntes Git

GIT

Comandos básicos

Configurar datos basicos

$ git config --global user.name "Mi nombre"
$ git config --global user.email "mi@correo.com"
@aduartem
aduartem / vscode-extensions.md
Last active September 23, 2022 01:38
Extensiones Visual Studio Code

Extensiones Visual Studio Code

  1. Settings Sync: Permite sincronizar configuraciones, extensiones, snippets, temas, iconos de archivos, atajos de teclados, espacios de trabajo.
  2. Error Lens: Mejora del resaltado de errores y advertencias.
  3. GitLens: Visualiza la autoría del código línea por línea.
  4. Project Manager: Permite cambiar fácilmente de proyecto.
  5. Material Icon Theme: Iconos de Material Design para Visual Studio Code.
  6. EditorConfig for VS Code: Soporte de EditorConfig para Visual Studio Code.
  7. [Version Lens](https://marketplac
@avoidwork
avoidwork / gist:3749973
Created September 19, 2012 14:29
MySQL sp_split() splits a comma delimited string into a recordset & inserts it into target table or returns it
-- ----------------------------
-- Procedure structure for `sp_split`
-- ----------------------------
DROP PROCEDURE IF EXISTS `sp_split`;
delimiter ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `sp_split`(IN toSplit text, IN target char(255))
BEGIN
# Temp table variables
SET @tableName = 'tmpSplit';
SET @fieldName = 'variable';
@aduartem
aduartem / apuntes_mysql.md
Last active June 17, 2022 01:56
Notas de MySQL

MySQL

MySQL desde línea de comandos

Para cambiar los parámetros de autenticación del usuario root

Primero debemos ingresar a mysql

$ sudo mysql