Drafts

Draft and unpublished posts

0 posts

How I deploy my blog in 2022

How I Continuously Deliver Content to my Blog with Markdown, GitHub, Python, and netlify # [1] Content at the speed of thought. well, as fast as I can type Me # [2] - Mechanical Engineering - Data Engineering - Terminal Junkie Ask Questions in slido # [3] Please ask questions in slido # 983 911 | App Dev 1 Track Slido Poll # [4] Do you have a personal blog / notes / website? - Yes - Static, built with python - Yes - I manage a server running python - Yes - Not python - No we will circle back around in a few minutes Iโ€™ll give away my answer # [5] - Yes - Static, built with python Slack Channel: #track-1-appdev # [6] If you are in the slack give me a ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Letโ€™s light up slack ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ 4 parts # [7] - Why - My workflow - Under the hood - Open Source Part 1 WHY # [8] 2016 # [9] I want to own my content # [10] Twitter is a great networking tool, but itโ€™s rare to see anything more than a few hours old. I want to own my content # [11] No one can take my dom...
7 min read

How I deploy my blog in 2021

How I Continuously Deliver Content to my Blog with Markdown, GitHub, Python, and netlify # [1] Content at the speed of thought. well, as fast as I can type Me # [2] - Mechanical Engineering - Data Engineering - Terminal Junkie Ask Questions in slido # [3] Please ask questions in slido # 983 911 | App Dev 1 Track Slido Poll # [4] Do you have a personal blog / notes / website? - Yes - Static, built with python - Yes - I manage a server running python - Yes - Not python - No we will circle back around in a few minutes Iโ€™ll give away my answer # [5] - Yes - Static, built with python Slack Channel: #track-1-appdev # [6] If you are in the slack give me a ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Letโ€™s light up slack ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ 4 parts # [7] - Why - My workflow - Under the hood - Open Source Part 1 WHY # [8] 2016 # [9] I want to own my content # [10] Twitter is a great networking tool, but itโ€™s rare to see anything more than a few hours old. I want to own my content # [11] No one can take my dom...
7 min read

Kedro-Broken-Urls

Broken Urls # [1] - https://github.com/josephhaaga) [ ] https://example.com/file.h5 - https://raw.githubusercontent.com/kedro-org/kedro/develop/static/img/pipeline_visualisation.png - https://example.com/file.txt - https://github.com/jmespath/jmespath.py. - https://github.com/tsanikgr) - https://example.com/file.csv - https://kedro.readthedocs.io/en/latest/04_user_guide/15_hooks.html - https://kedro.readthedocs.io/en/stable/07_extend_kedro/04_hooks.html - https://github.com/EbookFoundation/free-programming-books/blob/master/books/free-programming-books.md#python - https://github.com/quantumblacklabs/private-kedro/blob/develop/docs/source/04_user_guide/04_data_catalog.md - http://example.com/api/test - https://example.com/file.parquet - https://kedro.readthedocs.io/en/stable/11_faq/01_faq.html#how-do-i-upgrade-kedro - https://example.com/file.xlsx - https://www.datacamp.com/community/tutorials/docstrings-python - https://github.com/mmchougule) - https://example.com/f...

Notes for second vim-fundamentals course meetup

newline another Mahesh Subrajmanium Venkatachalam - Plugins | Installing a Theme Hunter Phillips - Quickfix | Offline Ordering with getqflist Andrea Wackerle - Search & Replace | Macros Matthew Fletcher - Registers | Advanced Motions Jump, Delete, & Select | Advanced Motions: Paste & Move Nicholas Payne - My First Vim Plugin | What Makes a Good Plugin Zev Averbach - Harpoon | Wrap up Plugin-manager # [1] - get a plugin manager - unless you are going full lua, most people use vim-plug by the great junegunn https://github.com/junegunn/vim-plug Install pluggged # [2] curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim call plug#begin('~/.vim/plugged') Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' call plug#end() Install Plugins # [3] :PlugInstall :PlugClean :PlugUpdate Installing a Theme # [4] install using plug Plug 'ayu-theme/ayu-vim' set the theme set termguicolors let ayu...
1 min read

Kedro Pipeline Create

Kedro pipeline create is a command that makes creating new pipelines much easier. There is much less boilerplate that you need to write yourself. https://youtu.be/HtyIKqlEoNw creating a new pipeline # [1] The kedro cli comes with the following command to scaffold out new pipelines. Note that it will not add it to your pipeline_registry, to be covered later, you will need to add it yourself. kedro pipeline create example results # [2] The directory structure that it creates looks like this. tree src/kedro_conda/pipelines src/kedro_conda/pipelines โ”œโ”€โ”€ __init__.py โ””โ”€โ”€ example โ”œโ”€โ”€ __init__.py โ”œโ”€โ”€ nodes.py โ”œโ”€โ”€ pipeline.py โ””โ”€โ”€ README.md References: [1]: #creating-a-new-pipeline [2]: #results

notify-send

xinput float $(xinput list --id-only "AT Translated Set 2 keyboard") | notify-send "laptop keeb floated" -i ~/Pictures/8bitcc.png

RC Plane 3

Steam achievements and progress for RC Plane 3 - 4.44% complete with 2/45 achievements unlocked.

5 min

Copy and Paste on Linux

These are the notes that I used as I set up my first ever ubuntu desktop. gnome-tweaks # [1] sudo apt install gnome-tweaks nordix gtk theme # [2] I ran this, but have no idea if it had any effect as the theme did not show up until I relogged. gsettings set org.gnome.desktop.wm.preferences theme Nordic What I think actuagnome terminal showing scrollbar in tmuxlly worked was emoji support # [3] One thing that I really missed quite early from windows was the emoji virtual keyboard. I like being able to quickly toss in those emoji that give just a bit of a visual cue ๐Ÿ”ฅ, โš ๏ธ,, ๐ŸŽ‰, ๐Ÿฆ„, ๐Ÿ’œ. installation # [4] I found an application called emote. that seems to do everything I need it to in the snap store. Installation is a typicall snap install. sudo snap install emote default keybinding # [5] The application came with a default keybinding ctrl+alt+e, but I could never remember it. ctrl+alt+e Windows keybinding # [6] Old habits are hard to break, I opened up the gnome settings a...

How I configure git

Git [1] 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. Identity # [2] git config --global user.name "John Doe" git config --global user.email [email protected] rebase # [3] editor # [4] git config --global core.editor nvim default branch # [5] git config --global init.defaultBranch main push to current bransh wihtout setting upstream # [6] git config --global push.default current Autostash # [7] git config pull.rebase true git config rebase.autoStash true References: [1]: /glossary/git/ [2]: #identity [3]: #rebase [4]: #editor [5]: #default-branch [6]: #push-to-current-bransh-wihtout-setting-upstream [7]: #autostash
New Black Corne with purple glow
These kaihl browns, loving them. This is going to be a trip to get used to, I thought typing on a column stagger layout would be hard to get used to, nope, its the symbols, that 4th layer is hard to get rid of.

My experience with a new 3dkeeb corne

specs # [1] first days typing # [2] first days working # [3] 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). VIA # [4] LT(1, KC_ENT) LT(1, KC_TAB) LT(1, KC_SHIFT) MT(MOD_RSHFT, KC_ESC) MT(MOD_HYPR, KC_GESC) setting up qmk cli # [5] conda create -n qmk python=3.8 -y qmk config compile.keyboard=crkbd/rev1 compile.keymap=default qmk config user.keyboard=crkbd/rev1 user.keymap=default # This will clone into ~/qmk_firmware # you can change this behavior by setting QMK_HOME # export QMK_HOME=~/custo_qmk_home_dir qmk setup # qmk setup took 10 minutes on my machine with wsl over a mobile network qmk setup ImportError: Unable to load any of the following libraries:libhidapi-hidraw.so li...
1 min read

Maintianing multiple git repos with mu-repo

Quickstart # [1] # 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") Registering Repos # [2] mu register --all mu register --all mu register --recursive mu unregister --all ๐Ÿ“ Bash Notes [3] I have similar command line related shortcuts in my bash notes Full Help # [4] mu --help * mu register repo1 repo2: Registers repo1 and repo2 to be tracked. * mu register --all: Registers all subdirs with .git (non-recursive). * mu register --current: Registers all subdirs with .git (non-recursive). * mu register --recursive: Registers all subdirs with .git (recursive). * mu unregister repo1 repo2 | --all: Stops tracking some repository. * mu list: Lists the currently tracked repositories. * mu set-var git=d:/bin/git/bin/git.exe: Set git location to be used. * mu set-var serial=0|1: Set commands...
1 min read

Upcoming Stream

I'm no longer streaming As much as I would really love to make streaming work, its really hard for my family situation to make large blocks of time work for me. 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. Making DAGs do ๐Ÿ”ฎMagical Things | Open Source ๐ŸPython | kedro plugins | # [1] Science & Technology | Every Monday โ€ข 7:00 AM - 9:00 AM CDT On Mondayโ€™s I am going to be working on open source packages/plugins for kedro. - kedro-diff - test kedro-diff on piplines with history - setup deploy pipeline - deply to pypi ๐ŸŒฑ Digital Gardening | Blogging with ๐ŸPython | Building ๐Ÿ”ฎMarkata a static site generator in python for waylonwalker.com # [2] Science & Technology | Every Wednesday โ€ข 7:00 AM - 9:00 AM CDT On Wednesday morning I will be working on my personal website and the static s...

Awesome People

These are awesome people that inspire me every day. https://swyx.io/ https://alanwsmith.com/ https://css-tricks.com/ https://daily-dev-tips.com/ https://daverupert.com/ https://joelhooks.com/ https://joshbranchaud.com/ https://kedrozerotohero.com/ https://maggieappleton.com/ https://mxstbr.com/ https://notes.mxstbr.com/About_these_notes https://tomcritchlow.com/ https://wesbos.com/ https://www.christopherbiscardi.com/garden https://www.helenanderson.co.nz/ https://www.scotttolinski.com/

Modal jumping

nnoremap <leader>e :execute getline(".")<cr>j nnoremap <c-j> g, nnoremap <c-k> g; nnoremap <c-j> <c-]> nnoremap <c-k> g; nnoremap <c-j> :cnext<cr> nnoremap <c-k> :cprev<cr> nnoremap <c-j> :lnext<cr> nnoremap <c-k> :lprev<cr> nnoremap <c-j> :tnext<cr> nnoremap <c-k> :tprevious<cr> nnoremap <c-j> :trewind<cr> nnoremap <c-k> :tprevious<cr>

Comprehensive guide to creating kedro nodes

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. does this link work? # [1] https://waylonwalker.com/what-is-kedro/ ๐Ÿ‘† Unsure what kedro is? Check out this post. The node function # [2] The node function is the most common and reccomended way to define kedro nodes. It is a function that constructs and returns Node objects for you. Creating your first kedro node # [3] from kedro.pipeline import node def identity(df): "a function that returns itself" return df my_first_node = node( func=identity, inputs='raw_cars', output='int_cars', tags=['int',] ) function # [4] The func passed into node can be any callable that accepts the inputs yout have specified, and returns the correct output that you specify as your output. - any callable - a function you write - a function from a library - class constructor - lambda function - partial function - l...

Creating pypi-list with kedro

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. Simple index # [1] I started with the simple index. Pypi provides a single page listing to every single package hosted on pypi via the simple-index [2] References: [1]: #simple-index [2]: https://pypi.org/simple/

Build A Portfolio

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. Make sure that it reflects you as a person. The worst that can happen is for you to hire in based on some false pretense and hate where you end up. ๐ŸŽจ Make it unique ๐Ÿ‘Œ It does not need to be perfect ๐ŸคIt does not matter how small it is โณ Donโ€™t wait till the last minute ๐Ÿ‘‡ Follow Oliverโ€™s advice
1 min read