78 karma · joined April 30, 2018
> all([]) returns True since the iterable is empty.
Not much actual good content here.
Blog about tech banking and consulting
And bonus is my local library stocks many of them!
@net use Z: \\administrators
Would achieve the same effect :)Do you have some updated version that I'm unaware of?
https://www.amishbhadeshia.co.uk/posts/setting-up-a-new-blog...
Now by all means notion isn't perfect at all, but for me who just wanted to start writing notes it seems the right choice at the time.
I would like to switch to BookStack as it looks great and is a great product, but the one issue that worries me is when it comes to upgrades and migrations. Generally I found when upgrading database based platforms I end up messing up hugely causing myself a huge headache, and then eventually not upgrading at all. For example I used Monica CRM, and totally botched the upgrades eventually just closing it down and using Google contacts instead.
If there was an easy way to solve for that I'd definitely be on board with self-hosting it myself. But at the moment I just don't have the time to resolve upgrade issues :(
[x.name for x in someList if x.age > 5]
Is the same as:
x.filterIt(it.age > 5).mapIt(it.name)
In a way it reads better.
Does micro support Vi keybindings?
Currently micro does not have any sort of Vim emulation. However, this is the next major feature that is planned, so stay tuned.
Works great for me!
I have resorted to using a throwaway dev container which mimics the local storage of packages. Hopefully someone find the below bash function useful.
The only issue I have using this method is that I cant use VSCode to Debug, which I am hoping to find a nice solution for, but nothing yet.
function python() {
docker run \
-it --rm \
--name python_$(pwd | sed 's#/home/##g' | sed 's#/#.#g')_$(date +"%H%M%S") \
-u $(id -u):$(id -g) \
-v "$(pwd)":"$(pwd)" \
-w "$(pwd)" \
-e PROJECT_ROOT="$(pwd)" \
-e PATH="$(pwd)/vendor/bin/:${PATH}" \
-e PYTHONUSERBASE="$(pwd)"/vendor \
-e PYTHONDONTWRITEBYTECODE=1 \
-e PIP_NO_CACHE_DIR=1 \
--net=host \
-h py-docker \
python:3-slim \
/bin/bash -c '/bin/bash --rcfile <(echo "PS1=\"[$(python --version)]:: \"") -i'
}I stumbled on a new project which simulates a browser download using a headless Chrome Developer tools session[0]. Looks interesting, supports continuation and can be ran on a cron job. Worth a look.
Where are you in terms of your development?
Will keep checking in in the future. Keep going though!