Do we live in a simulation? , If so working hard and luck are also part of that simulation ?
Forget the above question and enjoy this video.
Do we live in a simulation? , If so working hard and luck are also part of that simulation ?
Forget the above question and enjoy this video.
I was debugging an issue with sending email with PHP CodeIgniter and found this interesting. Strange enough the issue was not setting the charset.
Below setting worked for me
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $config['protocol'] = 'smtp', // 'mail', 'sendmail', or 'smtp' $config['smtp_host'] = 'smtp.example.com', $config['smtp_port'] = 465, $config['smtp_user'] = 'no-reply@example.com', $config['smtp_pass'] = '12345!', $config['smtp_crypto'] = 'tls', //can be 'ssl' or 'tls' for example $config['mailtype'] = 'text', //plaintext 'text' mails or 'html' $config['smtp_timeout'] = '4', //in seconds $config['charset'] = 'iso-8859-1', $config['wordwrap'] = TRUE
On a side note, its interesting how to debug PHP application with VS Code and XDebug. If anyone interested this could be a great starting point ->
How it works
See steps below
Dawkins trying to explain science with story telling. Most chapters starts with myths ( I’m sure even adults are keen on these stories ), and then explains the science. Highly recommended.
Until we find the ultimate truth, I’m guessing there will be more conspiracy theories.
Everyone understand, how frustrated the affected families are. However the more you put effort on this, the more mysterious it will be. Let the time to solve, and be hopeful a random event might shed some light to the ultimate truth.
Good one watch and highly recommended.
Solving first 2 layers seems straight forward. There are lots of videos on this.
After looking at several algorithms, I found this one to solve the last layer.
T-Top, C-Clockwise, A-Anticlockwise, R-Right, L-left, B-Bottom
Read this tip if you have plans to repair/replace the garage door.
First, it was my bad I forgot to service my garage door. There is no need to get the handyman for this . You can do it yourself, just buy WD-40 from bunnings and apply that to all mechanical parts of the door.
When the springs for the garage door is not serviced, it becomes a heavy load to the motor and will try to draw more current. As a result the 10A fuse inside the motor will burn out.
I had this issue and didnt bother checking the fuse, ( also it wasnt known to me as well and I was getting ready for the holidays) as the motor was used for a quite long time. I called the door repair guy and and he came and just said its busted and needs to replace the motor, which cost me $750 in total.
After the replacement, the guy was trying to take the motor and accessories with him. I asked him to keep, just for me to play around and I can bin in later.
After a bit of debugging I found where the issue was ( cost is < $1 ), and called to company and 1made the complaint. After a while the they called me and offered the options to reinstall the old one or charge only the cost.
Moral of the story, just check the fuse before calling the door repair guy.
Use this to service
Where the fuse is located, ( 1.11 )
What ultimately matters is ROI, output/performance per 1w. ( if we ignore the cost factor ). In that perspective Intel NUC is way ahead than Raspberry PI. So why waiting if Raspberry Pi is out of stock.
Power is just a bit higher than Raspberry PI,
A 2013 documentary, still its worth watching. TBH I enjoyed every second. Its free on YouTube with subtitles.