u/WishCow
In this archive from Aug 2011 to Feb 2024
- 14
- posts
- 418
- comments
- 0
- media
- 1.5k
- score
Top posts
Now that Simcity4 won the round, does it run on modern PCs?
Because I remember struggling with it, about a year ago. It was an unpatched retail though, is the steam version better?
Optimising a PHP site with KCacheGrind and XDebug
I'm not sure if linking a blog post by yourself is okay, the faq says not to frequently link to your own content, I hope you let this one slip by. I just started my own blog (deployed an hour ago), and an article that you might be interested in is Optimising a PHP site with KCacheGrind and XDebug. I...
Hook into pacman somehow?
I know that pacman does not support triggers/hooks, but how does mkinitcpio launch after every kernel update? The reason I'm asking, is because I'd like to have my own initcpio image rebuilt, and a package recompiled (acpi_call, for turning off the nvidia gpu in my laptop), after every kernel update...
/sbin/ip disappeared, and now my VPS is cut off from the internet
I did a pacman -Syu, there was nothing suspicious in the output, I merged the pacnew files (I think there was only one about avahi-services), rebooted, and now my VPS has no networking. I can access through the virtual console interface that the VPS provider supplies, and the culprit seems to be tha...
In php.ini, or better, .htaccess if it's apache and you have allowoverride options:
php_value auto_prepend_file some_random_file.php
and inside some_random_file:
if (rand(0, 20) > 19) echo ' ';
Will cause "headers already sent", but only /sometimes/. You could replace it with some invisible utf8 character, so it doesn't show up in the browser's show source either.
Grub can boot iso files as well, so you don't have to sacrifice a whole partition for this. As an example:
x
Regenerate grub.cfg.
Class Autoloading will blow your mind.
People claiming X is bloat are bloat
Or just update doctrine, there is a new minor version that fixes the issue.