Check out wesbos and their project beginner-javascript.
Slam Dunk JavaScript
All published posts
Check out wesbos and their project beginner-javascript.
Slam Dunk JavaScript
If you’re into interesting projects, don’t miss out on awesome-react-components, created by brillout.
Curated List of React Components & Libraries.
Mine is the python debugger. I was a long holdout thinking that print statements were sufficient. That was untill I started having errors crop up in functions that took minutes to run. The thing that I most notably wish I would have known about is post_mortem.
[ins] In [4]: def repeater(msg, repeats=1): ...: "repeats messages {repeats} number of times" ...: print(f'{msg}\n' * repeats) [ins] In [5]: repeater('hi', 3) hi hi hi [ins] In [6]: repeater('hi', 'a') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-0ec595774c81> in <module> ----> 1 repeater('hi', 'a') <ipython-input-4-530890de75cd> in repeater(msg, repeats) 1 def repeater(msg, repeats=1): 2 "repeats messages {repeats} number of times" ----> 3 print(f'{msg}\n' * repeats) 4
...
I have been using oh-my-zsh successfully for about 2 years now. But lately my startup time has been really bothersome. It has grown to the point where it was taking about 5.5s to startup a shell! This is ok if I am going to spend some time in here for awhile and do some work that benefits from all of the autocompletions, plugins, and shortcuts that oh-my-zsh brings. But to only jump in to run a handful of commands is infuriating.
I believe the real issue is io speed on wsl. I have some remote servers with similar configs that are 10x faster or more, loading in 100s of milliseconds rather than seconds. Sourcing all of the individual plugin files are just too much for it.
Quick side note: your zsh config is controled by your ~/.zshrc file. This file can source other files, load plugins, or run literally anything.
...
Vim’s (neovim in my case) location list can provide some very useful information while developing. Mine gives me information about linting and type checking errors with fairly little config. Generally, it sits nicely at the bottom of the screen and barely affects me. Other times, especially while zoomed way in during a presentation, it just gets in the way.
Location List eating up the screen while I am zoomed in and trying to live code
Through some google search I found the culprit was syntastic. It has an auto_loc_list feature. We can turn it off by setting syntastic_auto_loc_list=0.
...
I came across jumpcutter from carykh, and it’s packed with great features and ideas.
Automatically edits vidx. Explanation here: https://www.youtube.com/watch?v=DQ8orIurGxw
Check out great-expectations and their project great_expectations.
Always know what to expect from your data.
I like asmeurer’s project removestar.
Tool to automatically replace ‘import *’ in Python files with explicit imports
Check out lolcommits and their project lolcommits.
📷 git-based selfies for software developers
I’m really excited about mask, an amazing project by jacobdeichert. It’s worth exploring!
🎭 A CLI task runner defined by a simple markdown file
Check out pyjanitor-devs and their project pandas_flavor.
The easy way to write your own flavor of Pandas
Click primarily takes two forms of inputs Options and arguments. I think of options as keyword argument and arguments as regular positional arguments.
**From the Docs
To get the Python argument name, the chosen name is converted to lower case, up to two dashes are removed as the prefix, and other dashes are converted to underscores.
...
I recently discovered git-history by pomber, and it’s truly impressive.
Quickly browse the history of a file from any git repository
See all of my kedro related posts in [[ tag/kedro ]].
I am tweeting out most of these snippets as I add them, you can find them all here #kedrotips.
Below are some quick snippets/notes for when using kedro to build data pipelines. So far I am just compiling snippets. Eventually I will create several posts on kedro. These are mostly things that I use In my everyday with kedro. Some are a bit more essoteric. Some are helpful when writing production code, some are useful more usefule for exploration.
...