General list of “magic methods”: http://php.net/manual/en/language.oop5.magic.php
Turn “hidden” fields into proper properties with getters and setters:
http://php.net/manual/en/language.oop5.overloading.php
Stuff I might want to find again.
General list of “magic methods”: http://php.net/manual/en/language.oop5.magic.php
Turn “hidden” fields into proper properties with getters and setters:
http://php.net/manual/en/language.oop5.overloading.php
Cloudflare doesn’t exactly make it easy to find the link for submitting a support ticket. Sure, it’s better for all involved if you can find the help you need already in the knowledge base, but if you can’t find anything, you need a way to submit the request.
Here it is: https://support.cloudflare.com/hc/en-us/requests/new
Trying to set up a site on AWS. I haven’t been very successful as of yet. I can connect to the bucket-as-a-website, but getting Cloudfront working is elusive so far.
Two resources:
This Bloomberg business law article contains an explanation of why password re-use is bad that should be required reading for anyone with an online account.
That article inspired a Facebook post and a series of comments which in turn inspired a Chaos and Penguins blog post about the basic rules for managing your passwords.
This amuses me far too much.
I know what you’re thinking, and the answer is “Yes, of course you can buy rubber ducks on Amazon.”
Apparently I’m not alone in struggling to get Mint to run under Hyper-V.
Fix 1 – Make the mouse cursor visible: Open a terminal and run the command:
gsettings set org.cinnamon.settings-daemon.plugins.cursor active false
And that’s all one line, regardless of funky word wrap.
Hat tip to the commenters on: https://www.technig.com/install-linux-mint-on-hyper-v/
Fix 2 – Running in software rending mode
This thread on linuxquestions.org led me to install MATE via instructions from https://winaero.com/blog/how-to-install-mate-in-linux-mint-cinnamon-edition/
In a nutshell, run this as root (you’ll need to sudo su first, sudo alone doesn’t seem to cut it):
apt-get update && apt-get install mint-meta-mate
And then log out and back in with the MATE desktop.
Atlassian: Merging vs. Rebasing: https://www.atlassian.com/git/tutorials/merging-vs-rebasing
GitHub Flow: https://guides.github.com/introduction/flow/
The linode support docs are frequently helpful for setting things up local VMs too. Here’s the steps for setting up httpd. Don’t forget the firewalld rules at the end.
https://www.linode.com/docs/web-servers/apache/install-and-configure-apache-on-centos-7
Tutorial on defining users and groups – https://www.techrepublic.com/article/how-to-create-users-and-groups-in-linux-from-the-command-line/
Create Group: sudo groupadd <group>
Add user to group: sudo usermod -a -G <group> <username>
List of group memberships in /etc/group
And then, when editing your own group membership, don’t forget to logout and back in so they’ll take effect (not that I’d ever forget such a thing….). https://stackoverflow.com/a/5054930