Skip to content

Instantly share code, notes, and snippets.

View osedoe's full-sized avatar
🇮🇨

Ose Diaz-Gonzalez osedoe

🇮🇨
View GitHub Profile
@ManzDev
ManzDev / .aliases
Last active June 3, 2019 16:30
Bash aliases
export DISPLAY=:0
# Copy/Paste
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
# Top Commands
alias topcommands='history | tr -s " " | cut -d" " -f3 | sort | uniq -c | sort -n | tail -20'
# Javascript

Apuntes Docker

Ejercicio: Usando el comando echo montar un dockerfile que muestre un index.html con un “hola mundo”.

  1. Creamos Dockerfile y escribimos
FROM ubuntu
RUN apt-get update
RUN apt-get install -y nginx
RUn echo "Hola Mundo" >> /var/www/html/

Apuntes sobre Docker

Puertos

Enlazar un puerto de la máquina con el contenedor de docker:

-p <PUERTO_HOST>:<PUERTO_DOCKER>

@yodra
yodra / VSCodeShortCuts.md
Last active June 26, 2025 00:23
Cheat sheet VSCode Shortcuts basic
Command Keybinding Mac Keyboard
add line comment ctrl + K and C ⌘K and C
copy line down shift + alt + ↓ ⇧⌘↓
copy line up shift + alt + ↑ ⇧⌘↑
format document shift + alt + F ⇧⌥F
go finish line ctrl + → ⌘→
go start line ctrl + ← ⌘←
go finish word alt + → ⌥→
go start word alt + ← ⌥←
@ernestkamara
ernestkamara / AdbCommands
Created June 26, 2018 08:42 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@yodra
yodra / git-command-summary.md
Last active February 2, 2025 19:50
Basic commad git summary

Configure

Notes Git commands
Configure the author name to be used with your commits git config --global user.name "Sam Smith"
Configure the email address to be used with your commits git config --global user.email sam@example.com
Configure gitignore global git config --global core.excludesfile "~/.gitignore_global"

Init

@chourobin
chourobin / 0-bridging-react-native-cheatsheet.md
Last active August 28, 2025 08:25
React Native Bridging Cheatsheet
## How to hide API keys from github ##
1. If you have already pushed commits with sensitive data, follow this guide to remove the sensitive info while
retaining your commits: https://help.github.com/articles/remove-sensitive-data/
2. In the terminal, create a config.js file and open it up:
touch config.js
atom config.js
@lopspower
lopspower / README.md
Last active November 1, 2025 12:14
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@erichrobinson
erichrobinson / README.md
Last active August 23, 2025 19:53
SwitchResX Configuration

#SwitchResX Settings for LG 21:9 UltraWide

SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .

##Disabling System Integrity Protection (SIP)

If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:

  • Boot into the recovery partition by pressing CMD + R when starting up your Mac.
  • Once in recovery mode, open a terminal window.
  • Type the command csrutil disable