November 27, 2022

Prevent Overwriting Of Files When Using Scp

rsync seems to be the solution the problem. Here’s an example I got from here: The -a option will preserve permissions, directory structure, ownership, and symlinks. You can also specify any of those options individually as well. -v and -z mean verbose and compress respectively. You don’t really need them although -z is nice if you are […]

November 27, 2022

how to succesfully compile python 3.x(GCC)

In case others come across this question: I encountered the same problem on Centos 7. I also had –enable-optimizations but didn’t want to remove that flag. Updating my build dependencies and then re-running solved the problem. To do that I ran: In case the yum group is not available, you can also install the pacakges individually using:

November 27, 2022

Animate Elements In ListView On Initialization

Widgets like AnimatedOpacity and AnimatedPositioned can be used to achieve this. However, lifecycle of the children widgets in a ListView is a bit complex. They get destroyed and recreated according to the scroll position. If the child widget has an animation that starts on initialization, it will reanimate whenever the child gets visible to the UI. Here is my hacky solution. I used […]