Chopping an onion is not a difficult task in the kitchen, if you know the right way to do it. Watch this video where the master, Gordon Ramsay, shows us how it's done.
Practice this method and you will be chopping onions well in no time, without the crying.
Using the Amazon CoudFront as a CDN is a great way to accelerate your website. If you run with HTTPS enabled, you will also want to reference the files you have hosted on CloudFront over HTTPS to avoid error messages from the web browser. You can install an SSL certificate of your own onto the CloudFront edge servers very easily by following the process below.
Prerequisite: Install the AWS CLI following these instructions
Upload New Certificate and CA Bundle
[root@www2 jross.org]# aws iam upload-server-certificate --path=/cloudfront/ --server-certificate-name jross.org-20150929 --certificate-body file:
The AWS API will repond with a JSON blob describing the new certificate that was installed.
Switch CloudFront to the NEW Certificate using the WebConsole. This will take a while to take effect as the certificate needs to propagate to all AWS CloudFront edge servers.
Peter Timing his Farts to Thunder Storms
Peter Craps his Pants
Peter Hides his Farts
Apparently some programmers get pretty pissed off about this.
I say whatever makes your brackets curly, go with it. Just be consistent about it and don't go around changing someones code.
Remember: Last one to touch it gets blamed for all the bugs!
One of the advantages of running a Linux RAID configuration is that it simplifies clearing of UNC errors on your hard disks. If you have such a setup, you may follow the process below to clear the UNC errors from your disk and extends it's life a bit longer. The example here is for a RAID 1 configuration, but any RAID level will do (besides RAID 0).
Determine the disk (X) with the errors using smartctl
smartctl -A /dev/sda
smartctl -A /dev/sdb
Determine the LBA where the first error was found
smartctl -a /dev/sdX
Determine the partition (Y) that contains the LBA
sfdisk -l -uS /dev/sdX
Do not continue this process if there are excessive errors (80 or more). Replace the disk immediately.
Determine the RAID array (Z) that the partition belongs to
Fail and remove the partition from the RAID
You must zero the superblocks on the partition to allow a proper remirror
Re-add the partition to the RAID to initiate the remirror
Monitor the remirror progress. When complete, review smartctl to see if the errors are gone.
- If errors are still there, confirm you have been working with the correct partition
- If all errors cannot be cleared, replace the disk.
When all errors are cleared, run a long SMART test to confirm disk is healthy.
smartctl -t long /dev/sdX
It should complete without any read errors.
- If more errors are found. Repeat the process above.
- Do not repeat the process any more than 2 times. The drive is unhealthy at this point and should be replaced.
- Do not repeat the process if there are excessive errors (80 or more).
Show Printing System Status
Show Queue Status
Create a PostScript Laser Printer Queue
lpadmin -p office-printer-1 -v lpd://office-printer-1/lp -m postscript.ppd.gz -E
Create a JetDirect Socket Queue
lpadmin -p office-printer-1-v socket://office-printer-1:9100 -m postscript.ppd.gz -E
Remove a Printer Queue
lpadmin -x office-printer-1
Set Default Printer Queue
lpadmin -d office-printer-1
Pause / Unpause a Printer Queue
Cancel Print Jobs
cancel -a office-printer-1
lpmove 33 office-printer-2
lpadmin -p office-printer-1 -v lpd://office-printer-2/lp
The following information was gathered during the 2016 DetroitDevDay Conference held at United Shore in Troy, MI on November 12, 2016. The speaker for this topic was Godfrey Nolan of RIIS.
Drones are expected to become very popular in professional applications over the next five years. Some industries which are seeing rapid growth are:
- Search and Rescue
There are even companies using them to capture some really awesome footage. Check out this video of the United Shore 2016 Rally:
Some companies are using drones to make healthcare more accessible. Check out Zipline. They are using drones to deliver medicine to rural areas of Africa.
Development and Open Source
Now this was a conference for developers, so of course it was pointed out that you can hack and develop code for these devices. There are some companies out there creating great drones for $1000 (DJI) and others for even less (about $500). These cheaper drones are made by companies like Yuneec and 3DR.
What makes Yuneec and 3DR special is that their drones are built using Drone Code which is an open sourece UAV platform. This means that as a developer, you don't need to right any core flight code. This is all done for you. All you need to focus on is the front end modile app that will control the drone in some way.
Now, some security issues to keep in mind:
Everything is RF, so it can be sniffed and decoded, especially if it is WiFi. So don't hard code usernames or passwords. You could end up getting your drone hijacked.
3DR has a "hello drone" tutorial to get you started. There are also several apps out there to give you an idea about what you can do with this platform.
Make sure you register your drone with the FAA. You should also check HiveMapper to be sure you're not flying where you shouldn't be. This is also a great site to get an idea of the landscape before you fly. Generally, you should not fly within 5 miles of an airport. If it is a small airport, it might be OK if you call them first to ask.
Show Running Configuration
• procurve1# write terminal
Save Running Config to Startup Config
• procurve1# write memory
Show Mac-Address, Port, and VLAN
• procurve1(config)# show mac-address
Show Port Descriptions
• procurve1# show name
Show Port State & Status
• procurve1# show interfaces brief
Show port errors and dropped packets
• procurve1# show interfaces port
Add Port to VLAN
Remove Port from VLAN
Basic Port Commands
Set Port Description
Remove Port Description