Data Table function in ms-excel
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
| ENV HOME=/home/dev | |
| # INSTALL APT DEPENDENCIES | |
| RUN apt-get update -qq && apt-get upgrade -y && apt-get install -y --no-install-recommends build-essential git wget zsh | |
| # OH-MY-ZSH | |
| RUN wget -P $HOME https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh; \ | |
| sh $HOME/install.sh; \ | |
| rm $HOME/install.sh |
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
| alias ll="ls -al" | |
| alias linda='ls -lah | sort -r | awk '\''NF==9 { if ($1~/^d/) { printf $1 "/" $2 "/" $3 "/" $4 "/" $5 "/" $6 " " $7 "/" $8 " " "\033[1;34m" $9 "\033[0m" "\n" } else { printf $1 "/" $2 "/" $3 "/" $4 "/" $5 "/" $6 " " $7 "/" $8 " " "\033[1;32m" $9 "\033[0m" "\n" } }'\'' | column -t -s"/"' | |
| alias dps="docker ps" | |
| alias dcps="docker compose ps" | |
| alias dim="docker images" | |
| alias bus="cd ~/Documents/Projects/Clients/BusPatrol" | |
| alias gck="git checkout" | |
| alias gil="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
| alias gis="git status" | |
| alias gita="git commit --amend --no-edit" |
git reset --soft HEAD~1 # this undoes the last commit and preserves last changes
git pull
git commit -m 'my erased last commit comments'
git push
Generate a raw markdown pull request description for a hotfix|fix|feature.
Compare the current branch with the reference branch {{reference_branch}}, analyze the diff, and answer the following questions clearly and concisely:
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
| ActiveRecord::Base.connection.execute("TRUNCATE TABLE <table_name>") |
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
| http://travistidwell.com/blog/2013/09/06/an-online-rsa-public-and-private-key-generator/ |
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
| > cd /etc | |
| > sudo visudo | |
| edit line | |
| # User privilege specification | |
| root ALL=(ALL:ALL) ALL | |
| por | |
| root,your-user-name ALL=(ALL:ALL) ALL |
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
| https://www.dropbox.com/s/qovgni72u6ylo68/crud_vuetify_2020.zip?dl=0 |
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
| git clone --single-branch --branch <branchname> <remote-repo> |