I’m migrating to a new AWS instance and so I need to bring a bunch of directories with me. I could do it the easy (and slow) way and copy them to my computer then to the new server. This would be drag and drop using SFTP (automatically brought up when I SSH into my server on MobaXterm). Currently this is how I upload a web page into an Apache web directory..
The more standard way using Linux command line is by rsync. I will use a command like:
A while ago I decided I wanted a form of dim lighting for at night time, I went for LED lights run off 12 volts. After I installed some Blue LEDs, I figured it would look cool if I used several LEDs and made multicoloured shadows.. This is the result.
The effect is achieved using coloured straw-hat LEDs in a string (Red, Green, Blue and why not UV) around 15cm apart, facing a parallel-ish direction. When the shadows intersect you get this cool effect 😛
In order to get the colour to come out on camera I used a decent Canon on RAW mode.
Almost finished this project now. I was going to call it finished as far as the structure but I gave in and decided that I want to install fire-proof sheets inside it. That will be a job for next week.
I’ve put thread locking nuts on many of the crucial bolts just as extra support
The front door of the container coming together. This is definitely a V1. An improved version for example could simply be hidden better, rather than thinking about the structural rigidity of the container and needing to bolster any weak links. Choosing an inconspicuous place to store this has the advantage of not making it look like a target for thieves with its solid construction. None the less it’s not easy to move and should do the job to a good spec.
The above video is by no means an exaggeration. The amount of time I have spent trying to get this to work is becoming silly. and now. I’ve found a solution.
The steps are: 1: Setup a SMTP client in WordPress. 2: Configure a free mailgun account. tl;dr -> Go to Step 1.
So initially I tried to configure PHP to natively sent mail, then it turns out PHP acts as a SMTP client, connecting to an external email server. That’s a problem for me as I have just registered a domain name, and to attach an email account to that domain costs money from the DNS provider (namecheap). Also I have several domains on my server.. So then I got myself really tangled trying to use a null host or some other method to send mail. After hours on IRC, talking with namecheap tech support and searching the net I ended up using postfix to connect to my namecheap email accounts (I have 2, 1 for business and 1 personal). It took some understanding to convey what I wanted to do to anybody whom could help on postfix IRC, who eventually set me up with smtp_sender_dependent_authentication on postfix. This allowed me to send mail from php where it would send from one of my two SMTP accounts, defaulting to my personal one for domains which weren’t either. This seemed to work.
I’m on a new server now, and stumped upon the Postman SMTP Mailer WordPress plugin while setting up WordPress Multisite. So this plugin looks really good, and will allow me to send mail from each WordPress site on a specified domain. gr8 (m8).
I want email to come from the domain its related to; using the Postman plugin I can’t send mail from a different domain from the one I authenticate from in my use. This is kinda annoying. I’m not going to pay for a new email account for every domain/ account for small amounts of email. Then I remembered the guys on IRC recommended another email service.
Going back through my IRC log I found mailgun. Which offers sending 10,000 emails per month free. Thus the excitement. All I have to do is Modify my DNS records as detailed on the mailgun website, and they give me SMTP credentials I can use wherever, namely in my Postman WordPress plugin.
Now I can send mail from my domains without setting up a hosted email account for each domain!
Note that receiving email can be done using the routes functionality, where email is routed to a personal email address
As for non WordPress email (php websites) I may use something like swiftmailer or Postfix which enable encryption. But I’ll cross that bridge when I get to it.
So I have a Synology DS216se NAS on my LAN, which I have just bought a UPS for. I bought a CyberPower Value SOHO 800 based on the reported compatible UPS systems. As hoped the NAS recognised the UPS perfectly.
Next the tricky Part.
I will be running a Windows PC from the same UPS, so I want the PC to talk to the UPS and shut down accordingly.
Virus total is a website which can scan various things for viruses using a whole bunch of different virus scanners. I really like it for the sense of security before running some suss looking file I’ve downloaded (SourceForge constantly lets me down, every time).
The ability to scan for a file hash means I can just copy and paste the file hash (a bunch of text characters) into the search box and instantly see the scan results from the previous scan on that file (takes only seconds = ease of use).
This saves waiting for a a file to upload and be scanned. I use hashtools to create a SHA256 file hash, simply by right clicking a file and clicking Hash with Hashtools.