This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//remove - or _ | |
zmv '(**/)(*)' '$1${2//[^A-Za-z0-9.]}' | |
//substitute - and _ for blank space | |
zmv '(**/)(*)' '${1${2//[^A-Za-z0-9.]}//_/ }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ensinando aba de network do browser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
cache-redis: | |
image: 'redis:6-alpine' | |
container_name: cache-redis | |
environment: | |
REDIS_HOST: ${REDIS_HOST} | |
REDIS_DEFAULT_USER: ${REDIS_DEFAULT_USER} | |
REDIS_DEFAULT_PASS: ${REDIS_DEFAULT_PASS} | |
ports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bcdedit /set hypervisorlaunchtype off | |
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm ubuntu --type headless |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bb}", | |
"copyOnSelect": false, | |
"copyFormatting": false, | |
"profiles": { | |
"defaults": {}, | |
"list": [ | |
{ | |
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bb}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define gruvbox colors | |
"schemes": [ | |
{ | |
"name" : "Gruvbox for windows terminal", | |
"cursorColor": "#FFFFFF", | |
"selectionBackground": "#FFFFFF", | |
"background" : "#1d2021", | |
"foreground" : "#ebdbb2", | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- compare two files using vim(neovim) | |
nvim -O -d $(rg --files | fzf) $(rg --files | fzf) | |
docker container restart $(docker container ps | grep couchdb | awk '{print $1}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:8.11.1-alpine | |
# Provides cached layer for node_modules | |
ADD package.json /tmp/package.json | |
RUN cd /tmp && npm install | |
RUN mkdir -p /app && cp -a /tmp/node_modules /app/node_modules | |
# Define working directory | |
WORKDIR /app |