https://learning.oreilly.com/profile/
console.log(JSON.stringify(document.cookie.split(';').map(c => c.split('=')).map(i => [i[0].trim(), i[1].trim()]).reduce((r, i) => {r[i[0]] = i[1]; return r;}, {})))
rsync -avz --exclude='.git/' --exclude='.venv/' --exclude='__pycache__' --exclude='.pytest_cache' ./kb.oreilly.git/ /mnt/c/Users/mario/Dropbox/kb.oreilly.git |
find . -name "*.Identifier" -type f -print0 | xargs -0 rm |
function venv_cd() { | |
# set -x | |
if [[ $PWD == */0to100* ]]; then | |
echo "0to100 folder..." | |
if [[ -d .venv ]]; then | |
if [[ "$VIRTUAL_ENV" == "$PWD/.venv" ]]; then | |
echo "using $VIRTUAL_ENV" | |
else | |
deactivate || true | |
source .venv/bin/activate |
#!/bin/bash | |
# set -x | |
function get_latest_0to100 { | |
cd 0to100.git | |
git switch main | |
git pull | |
cd - | |
} | |
function update_local_repo { |
# - bash history id | |
# - current pwd but only last folder | |
# - colored git branch | |
# v0.1 | |
PS1='\! ${PWD#"${PWD%/*/*}/"}\n\e[1;34m\W$(__git_ps1 " (%s)")] \e[m' |
while read line; do | |
printf "%s %s\n" "git mv $line https§§§__$line" | |
done <"$1" |
v 0.4
simple steps (I use) and share with you to absorb new concept using more active study
# Markdown Preview Plus
https://chrome.google.com/webstore/detail/markdown-preview-plus/febilkbfcbhebfnokafefeacimjdckglPS C:\Users\mario\Dropbox\0to100gcloud> git add . ; git commit -m "wip" ; git push |
https://help.dropbox.com/sync/ignored-files | |
Set-Content -Path 'C:\Users\yourname\Dropbox(Personal)\YourFileName.pdf' -Stream com.dropbox.ignored -Value 1 | |
or better | |
PS C:\Users\mario\Dropbox\gcloud_0to100> Set-Content ./.git:com.dropbox.ignored -value 1 | |
> https://www.dropboxforum.com/t5/Apps-and-Installations/Ignoring-a-directory-does-not-work/td-p/679164 |