You can do everything from windows cmd. There is no need to install putty or any other program, just 3 easy steps: Create a public and private key pair. Copy the public key to the server. Login with ssh through windows cmd. The above steps in detail: Create the keys in your windows 11 machine… Continue reading ssh in windows 11 – without putty, without ssh-agent
SQLSTATE[28000]: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Login failed for user ‘myusername’.
Make sure the password in .ENV is quoted. See also: SQLSTATE[28000]: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Login failed for user ‘myusername’. (laracasts.com)
how to check size of zimbra mail accounts from terminal
The most easy way to see the size of all zimbra mailboxes is to ssh into your zimbra server and type the following: $ su – zimbra $ all_accounts=zmprov -l gaa; for account in $all_accounts; do mbox_size=zmmailbox -z -m $account gms; echo “Mailbox size of $account = $mbox_size”; done ;
bluedio T7 language reset
Bluedio T7 is nice until it defaults to a language you don’t get. Manual does not say much about switching languages. Search engines didn’t helped either. What we did is try several combinations and we were lucky by simultaneously pressing [+] [-] [play] and the so called “multi function” button. Press everything at the same… Continue reading bluedio T7 language reset
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… Continue reading composer update: mmap() failed: [12] Cannot allocate memory PHP Fatal error: Out of memory
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,… Continue reading npm to add sb-admin-2 to laravel
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… Continue reading existing code to bitbucket (git)
Sleep Sort
https://rosettacode.org/wiki/Sorting_algorithms/Sleep_sort
How to merge two zimbra mailboxes
If you want to merge 2 zimbra mailboxes, you can simply export the source mailbox and import it to the target mailbox. This can be easilly achieved with a couple of zimbra commands. SSH into your zimbra server. Change to zimbra server:su – zimbra Now type:/opt/zimbra/bin/zmmailbox -z -m [email protected] getRestURL “//?fmt=tgz” > /tmp/temp.tgz && /opt/zimbra/bin/zmmailbox… Continue reading How to merge two zimbra mailboxes
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… Continue reading xampp + php + curl + ssl = fatal_error