Category: Χωρίς κατηγορία
-
composer update: mmap() failed: [12] Cannot allocate memory PHP Fatal error: Out of memory
proc_open(): fork failed errors# If composer shows proc_open() fork failed on some commands: PHP Fatal error: Uncaught exception ‘ErrorException’ with message ‘proc_open(): fork failed – Cannot allocate memory’ in phar This could be happening because the VPS runs out of memory and has no Swap space enabled. To enable the swap you can use for […]
-
npm to add sb-admin-2 to laravel
First of all make sure you have node.js installed. If you haven’t so, install it: https://nodejs.org/en/ Change directory to your laravel project and use npm to install sb-admin-2 like this: npm install –global startbootstrap-sb-admin-2 If it compains for popper or other packages, use npm again to install them, like this: npm install –global popper Now, […]
-
existing code to bitbucket (git)
Let’s assume you ‘ve got setup a small project locally and it’s time to add it to bitbucket. All you need to know is: https://confluence.atlassian.com/bitbucketserver/importing-code-from-an-existing-project-776640909.html There are a couple of details though that could make your life difficult if you don’t pay the proper attention: Bitbucket. Login to your bitbucket account, create a repo (but […]
-
Sleep Sort
https://rosettacode.org/wiki/Sorting_algorithms/Sleep_sort
-
xampp + php + curl + ssl = fatal_error
If you use xampp with php and curl you might encounter an error like this: Fatal error: Uncaught exception ‘HttpClientException’ with message ‘cURL Error: SSL certificate problem: unable to get local issuer certificate’ in HttpClient.php If this is the case the solution is easy: Download cacert.pem from official curl page https://curl.haxx.se/docs/caextract.html Copy cacert.pem to c:\xampp\cacert.pem […]
-
how to configure dkim on zimbra
Just type the following: su – zimbra /opt/zimbra/libexec/zmdkimkeyutil -a -d example.com Then add the output to a txt record in your dns config. Check your configuration using this link: https://mxtoolbox.com/dkim.aspx
-
install certbot on ubuntu 16.04
On Ubuntu systems, the Certbot team maintains a PPA. Once you add it to your list of repositories all you’ll need to do is apt-get the following packages. $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install python-certbot-apache Reference: https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_PPAs
-
centralised vs decentrilised vs distributed
This is nice short article clarifying the terms centralised, decentrilised and distributed with great examples. https://medium.com/@bbc4468/centralized-vs-decentralized-vs-distributed-41d92d463868
-
remove banned ip from microsoft ban lists
This works for hotmail.com, live.com, outlook.com and possibly other microsoft related email addresses. Use this form to request removal: http://go.microsoft.com/fwlink/?linkid=614866 Make sure you ‘re registered: https://postmaster.live.com/snds/data.aspx This was an old one and does not seem to work anymore: https://support.live.com/eform.aspx?productKey=edfsmsbl3&ct=eformts&scrx=1 Source: https://answers.microsoft.com/en-us/outlook_com/forum/oemail-osend/hotmailoutlook-blacklist-removal-form/86c71c17-80c9-48e9-b822-1d3678f19673
-
osticket and self-signed-certificates on email server
This has to do with PHP >= 5.6, where php changed its behavior with self signed certificates. This has caused osticket users to keep old PHP versions in order to operate with self signed mail servers. But actually the fix is relatively simple: Go to {osTicket directory}/include/pear/Net/SMTP.php line 173 and change this line: ‘ssl’ => array(‘verify_peer_name’ => false) […]