I’ve been having problems with recursive problems lately so I’ve been studying them. I found a good one on leetcode.com(2) and I want to document it.
Given a time represented in the format “HH:MM”, form the next closest time by reusing the current digits. There is no limit on how many times a digit can be reused.
You may assume the given input string is always valid. For example, “01:34”, “12:09” are all valid. “1:34”, “12:9″ are all invalid.”
`some` will only break when a value equivalent to true is returned
`every` will only break when a vlue equivalent to false is returned
The reason is because these fuctions are accomplishing similar but different tasks. They each return an overall synonpsys of what happened durind each iteration.
I was showing my cousin how to do some fun things with canvas and realized that what we went over needs to be publically accessible. I’m going to try to keep this as non-programmer friendly as I can so follow along as far as you can go. Feel free to comment with questions.
What is an HTML5 Canvas?
Getting OGRE3D to run on iOS was a pain at first but after I got the hang of it things went rater smoothly. Here are the steps I took to get things running.
First of all, here are my devices:
– Xcode Version 7.3.1 on 15″ 2015 MPB OSX 10.11.3
– iOS 9.3.1 on iPhone 6s+
My Machine Specs:
– 2015 15″ MBP
– Intel i7 (8 x64 cores)
– Ubuntu 14.04.4 x84
– AMD Radeon R9 M370X
– Kinect 360 via USB2 plug from Amazon. You may have to go through a USB2 hub to get it to work (slower).
Here’s what I installed:
– ROS Indigo
Is windows telling you it can install because your drive contains an MBR when it should contain a GPT? Here’s how you can get around that:
Use an Ubuntu Live CD. I personally use an EFI thumb drive.
Stick the drive in, reboot, then press & hold `option` once you here the Apple boot chime. You’ll get a few options and you can select EFI then boot into live mode.
Once in the Ubuntu OS open up a terminal and do the following commands:
I’ve had to do this to install both Windows and Ubuntu. Here’s how it goes:
Download the iso you need. Here are both Windows 10 ISO Download and Ubuntu 16.04 ISO Download. For others you can google them and find them quickly.
Once you have your iso downloaded to your ~/Downloads folder then you’re ready to make the disk.
If you want to disable auto suspend indefinitely then do this:
$ sudo chown your_user /sys/module/usbcore/parameters/autosuspend
I use `vi` but you can use `nano`, `gedit` or whatever you fancy:
and add this line at the end of the file:
bash -c 'echo -1 > /sys/module/usbcore/parameters/autosuspend'
And for good measure you’ll want to source the new script:
So this process has changed a lot since I last did it and it’s painful. So I’m going to help you out with what I did to combat a few errors.
First and foremost, if you have El Capitan installed – DO NOT USED BOOTCAMP TO INSTALL WINDOWS!
Here’s a list of all the parts (from amazon) you are going to need to build a quadcopter. I’ve listed only amazon prime sellers so if you don’t mind waiting you can save some $$ by looking around at related sellers/products, that’s a good idea anyway since parts come and go. It won’t take too much imagination to do any popular model of drone as the flight controllers support all of popular models, just add / re-arrange the motors for h6, x6, x8, etc…