The End
The power went out at 11:35pm.
That was it. That was the end.
That day seemed like any other day. We worked our stupid jobs, stressed about our stupid things, watched our TVs.
The power went out at 11:35pm.
That was it. That was the end.
That day seemed like any other day. We worked our stupid jobs, stressed about our stupid things, watched our TVs.
I discovered Docker requires Docker File Share of your /User/[user] directory. This exposes all your personal stuff in there to docker containers. A malicious package from there could copy all your keys, or anything else.
In ~/.lando/config.yml
More on git workflow! I love to think about this issue for some reason, so I’m always willing to discuss my thoughts about it with others, to understand their needs and refine my own processes/thinking.
Eventually I'll get comments or something running so the 0 people who read my blog can join me talking to myself. ;)
Recently encountered a server with 8.2 million image files, taking an account over quota.
The files were mostly duplicates and the duplicates seem to have been autogenerated somehow over the course of a year.
Needed to confidently remove only duplicate files, leaving one.
Credit: SiegeX at SuperUser
# Custom Lando commands tooling: # xdebug: https://github.com/lando/lando/issues/1668#issuecomment-507191275 xon: service: appserver description: Enable xdebug for apache. cmd: "docker-php-ext-enable xdebug && /etc/init.d/apache2 reload" user: root xoff: service: appserver description: Disable xdebug for apache. cmd: "rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload" user: root
There were twin brothers who lived near a forest long ago. Sharing dreams of far off places and adventure. One day while chasing each other in the woods and play fighting with wooden swords, they discovered two wolf pups, weak and languishing at the base of a large oak. There seemed to be no pack around. The brothers determined the wolves would die if left alone and decided to care for them. They took the pups back home and nursed them to health.
Power is directly proportional to your ability to make decisions.
Ergo, power == the capacity to make decisions.
The more power you wield, the bigger the decisions you can make.
The bigger the decisions you’re capable of making, the more power you can wield.
Those two statements are equal.
You don’t get to make decisions for other people, if you haven’t convinced them that you’re capable of making good decisions, in their interest.
If you need change the limit of a views query dynamically it would seem obvious to use:
$query->setOffset($offset);
$query->setLimit($limit);
However, the pager overrides this.
To make this work use the following:
$view->setOffset($offset);
$view->getPager()->setItemsPerPage($limit);
Note these methods are on the $view
object and not the $query
object.