Skip to content

Instantly share code, notes, and snippets.

Avatar

Fernando Cornejo CornejoReyes

  • Monterrey, Nuevo León, México.
View GitHub Profile
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/fernandocornejo/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@CornejoReyes
CornejoReyes / shell.sh
Created Dec 15, 2020
MongoDB on Docker container
View shell.sh
docker run -d --name mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=<username> -e MONGO_INITDB_ROOT_PASSWORD=<password> -v /my/own/dir:/data/db mongo
View .aclarrity.yml
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@CornejoReyes
CornejoReyes / keytool-comands-for-android-keys-and-hashes.sh
Created Jan 11, 2018
Comands to generate hashes for facebook and google ANDROID
View keytool-comands-for-android-keys-and-hashes.sh
keytool -exportcert -alias <ALIAS> -keystore <PATH-TO-KEYSTORE> | openssl sha1 -binary | openssl base64 //facebook hash
keytool -exportcert -keystore <PATH-TO-KEYSTORE> -list -v //google, search SHA1
View Conexion por ssh
$ ssh -l nusuarior -p puertor maquinaremota