How I configure git
Git can be a bit tricky to get configured correctly. I often stumble into config issues weeks after setting up a new machine that I did not even notice. These are my notes to remind me how I configure git.
Draft and unpublished posts
Git can be a bit tricky to get configured correctly. I often stumble into config issues weeks after setting up a new machine that I did not even notice. These are my notes to remind me how I configure git.
What did I sign myself up for? If the lower typing speed with alpha characters was not enough throw in special characters and keybings I setup long ago and only remember by muscle memory. I have so far killed my tmux pane instead of zooming in (m-x instead of m-z), killed my zsh line instead of paste to the end of a command (c-c instead of c-v).
mu-repo
# installation pip install mu-repo ## register repos mu register --recursive mu list # run git commands mu status --short mu diff -U0 --color | bat # run shell commands mu sh $(grep -iRl "KEDRO_GID=0" | xargs sed -i "s/KEDRO_GID=0/KEDRO_GID=5/g")
mu register --all mu register --all mu register --recursive mu unregister --all
I have similar command line related shortcuts in my bash notes
https://stackoverflow.com/questions/16720541/python-string-replace-regular-expression
I am starting to stream 3 days per week, before I start work in the morning. These streams will likely be me just talking through things I am already doing.
Science & Technology | Every Monday • 7:00 AM - 9:00 AM CDT
...
These are awesome people that inspire me every day.
https://swyx.io/ https://alanwsmith.com/ https://css-tricks.com/ 1 min read
The Kedro node is an essential part of the pipeline. It defines what catalog entries get passed in, what function gets ran, and the catalog entry to save the results under.
https://waylonwalker.com/what-is-kedro/
👆 Unsure what kedro is? Check out this post.
...
I had an idea come to me via twitter. Short one word name packages are becoming hard to find on pypi. Short one word readable package names that are not a play on words are easy to remember, easy to spell correctly, and quick to type out.
I started with the simple index. Pypi provides a single page listing to every single package hosted on pypi via the simple-index
https://twitter.com/oliverjumpertz/status/1395689074594287625
Follow this over time. If you want to use code repositories for your portfolio. Make sure that you have made it unique in some way. Think about what kind of signal you are sending to hiring managers if you are linking to a project with no docs, and one commit from 3 days ago.
They don’t have to be PERFECT either, it’s likely that it’s not something you were paid to do, hence not able to put your full time into. Just having something that generally follows some GOOD practice will set you above most other candidates.
...
I can still rememember the day that we we realized our new baby girl had gone days without a bowel movement. Holding her while she looked as if she was about to pop at any moment, completely nervous for what was to come.
Little did we know what that strong little girl had in store for us. She was perparing us for something much bigger. Little did we know how much scary medical journeys would soon become a “normal” part of our life. We spent two solid years fighting for this girl every day.
I still remember that Fall day. That day you drove my car home alone while I sat with our kids, patiently awaiting your arrival. When you arrived, no words needed to be spoken, the minute you opened the car door I knew our lives had changed forever.
...
Setting up python with the native nvim>0.5 lsp was mr
https://github.com/neovim/nvim-lspconfig
lua << EOF require'lspconfig'.pyright.setup{} EOF
https://github.com/palantir/python-language-server/issues/190
...
:G :G status :G commit :G add % :Gdiff :G push :Glog
function! s:GitAdd() exe "G add %" exe "G diff --staged" exe "only" exe "G commit" endfunction :command! GitAdd :call s:GitAdd() nnoremap gic :GitAdd<CR> C-W o
:on[ly] will make the current buffer the only one on the screen. This is super helpful as many of fugitive commands will open in a split by default.
cycle through the jumplist
...
DRAFT -
https://www.hanselminutes.com/784/doing-open-source-with-brian-douglas
A handy way to try weird things in docker is using play-with-docker. You get a four hour session for free, after four hours everything will be deleted, but you can start a new session.
Installing on Ubuntu.
...
Zev Averbach, Frustrated spreadsheet jockey to software developer at 36
Q: Tell me about your journey as a spreadsheet jockey into Data Engineering?
A: First of all, it’s hilarious that I accidentally found your questions for this interview by Googling myself. 😊
...