Fix Composer Memory Exhausted errors
How I resolved composer ‘memory exhausted’ errors on a 2GB cloud server with php-cli memory already set to unlimited in php.ini.
How I resolved composer ‘memory exhausted’ errors on a 2GB cloud server with php-cli memory already set to unlimited in php.ini.
This guide will show you how to install WordPress to your linux server with a single SSH input. Point your domains dns at your webspace (if it isn’t already). Create your wordpress MySQL database in your hosting control panel noting down username, password and database name in your text editor of choice. SSH to your … Read more
I’ve been meaning to try out Postman for a while now to learn more about API’s and how they work. Anyway, I finally got round to doing this thanks to the current lock-down situation. Initially I tried to install it using snap as follows: Snap Install Install snap Install postman via snap This however resulted … Read more
Debian 9 introduces support for hybrid graphics, where an intel gpu is used for day to day desktop operation, and then more intensive operations like video and 3d are offloaded to the more powerful and battery draining AMD gpu. This is how I set it up on my Ativ Book 8 Samsung laptop to utilise hybrid … Read more
On your linux machine run the following command techbear@techbear-desktop:~$ ssh-keygen You will be asked the below now. Save the key to the default path and then choose if you want to put a passphrase in. If you do you’ll have to enter it each time you use your key, if you don’t then depending on … Read more
This is a guide showing how to install Sublime Text from the Sublime debian repo and then what to do to ensure you can pin it to Plank dock (could well be required for other docks like Docky too). Install sublime from the repo (sublimes docs on install https://www.sublimetext.com/docs/3/linux_repositories.html) I’m running a minimal system to … Read more
for user in $(getent passwd | cut -f1 -d: ); do echo $user; crontab -u $user -l; done To manipulate the crons from shell (using user from the list) crontab [-u user] [-l | -r | -e] [-i]
netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head
If like me you don’t want/need 3D graphics for gaming when using Debian Linux on your Ativ Book 8 you can turn off the AMD Radeon HD 8700M component. Reason for doing this is that if it’s left running (in Debian Jessie) it will suck your battery dry (probably an exaggeration, but it definitely reduces … Read more
I had a fairly subtle glitching issue on my Samsung Ativ Book 8 running Openbox on Debian Jessie. Basically icons in Docky/Plank had a orange box outline and Tint2 icons also looked unsmooth. In order to fix I did the following: cd /etc/X11/xorg.conf.d/ sudo nano 20-intel.conf Then put the following in the file: Section "Device" … Read more