If you need to upscale images without losing much quality, this free tool called Let’s Enhance does a pretty amazing job.
CSS Transitions / Animations with Different Easing Functions
Animating elements can be done simply with linear speed. However, you can achieve some very interesting effects using different bezier curves. Many popular easing functions and how to use them can be found at Eastings.net. If that’s not enough, you can play around with creating custom easing functions at Cubic-Bezier.com.
Continue reading CSS Transitions / Animations with Different Easing Functions
Fasting to Cure Diabetes, Hypertension, Cancer, Arthritis and Other Diseases
Apparently, fasting for 2 to 3 weeks while only drinking water can oftentimes permanently cure diseases like diabetes, hypertension and rheumatoid arthritis. It can also expedite the curing of cancer and other diseases. You basically starve the cells causing the disease. This extreme type of fasting must be done in a supervised environment with doctors checking your health periodically.

Some water fasting clinics include
- TrueNorth Health Center in Santa Rosa, California
- Buchinger in Germany and Spain
Watch the full 1-hour documentary at https://www.amazon.com/Science-Fasting-Sylvie-Gilman/dp/B075848T5T.
The first 3 days of water fasting are the worse but afterwards, people don’t feel hungry anymore and they begin to actually feel good. The body then adapts and gets detoxed. Headaches may occur.
Continue reading Fasting to Cure Diabetes, Hypertension, Cancer, Arthritis and Other DiseasesNative JavaScript: Event Handling of Dynamic HTML Elements
In jQuery, if you dynamically add an element to the DOM and want to attach an event handler to it, that’s very easy with the following line of code.
However, if you try to do that with native Javascript, you have to do with by checking for all clicks on the page and only acting on clicks where the click occurred on the element you want to act on.
Obviously that’s no good. One workaround is to put the HTML element in the page somewhere(if that’s possible in your case), then detach and attach it to where you want to dynamically put it, then add an event listener specifically for that element, e.g.
Blend Two Audio Clips Seamlessly Using Audacity – Cross Fade
Let’s say you want to mix two songs together with a seamless transition from one song to the other. Or, let’s say you want to strip out sections of a song and create a seamless transition between the sections you like. This can easily be done using the Crossfade Tracks effect in Audacity.
- Add a new stereo track
- Paste the second audio song or clip into the new stereo track so you end up with song / audio clip 1 on track 1 and song / audio clip 2 on track 2.
- Select the sections of both tracks where they overlap and choose Effect > Crossfade Tracks.
Home Sound System Setup Using Bose
I recently experimented with sounds for my living room and came up with the following setup. Here’s my setup and the reasons for it.
Components:
- Bose SoundTouch 300 Sound Bar: $700
- Bose Acoustimass 300 Subwoofer (Bass Module): $700
- 1 Pair of Bose SoundTouch 10 Speakers: $330 (at Costco)
- 1 Pair of SoundXtra Wall Mounts For Bose SoundTouch 10 Speaker: $70 (on Amazon)
Sub-Total: $1800
Tax: 10% ($180)
Total: ~ $2000
Note: I haven’t bought the Acoustimass yet because it’s pretty expensive. However, I have tested it and it sounds great when your sound source contains bass.
How to Connect Bose SoundTouch 300 to Wi-Fi Using Mobile Phone
First, connect your phone to wi-fi and disable cellular data. Then, open the SoundTouch app and when you get to the screen below, click the Wi-fi button.If your sound bar can’t find your wi-fi network, you’ll see the following screen. Click continue. Continue reading How to Connect Bose SoundTouch 300 to Wi-Fi Using Mobile Phone
Nested JavaScript Loops Containing Async Functions That are Forced to Run Synchronously
Sometimes you may need to a lot of processing in a loop. Each loop may call an asynchronous function, e.g. calling an external URL or writing to a file. If this needs to be done synchronously, you can use the async JavaScript library.
Quick Slideshow Video Creator – Custom Photos and Audio
If you’re looking for a quick and easy way to create a video of your photos with custom audio, Slide.ly can do this. Here’s the rundown:
- Up to 90 custom images / photos
- 1 audio / song (to use multiple audio files / songs, edit and combine them first, e.g. using Audacity)
- Add custom captions for each photo
- Different themes
- Player is HTML-based, not Flash-based.
- Can make private
- Can’t download video because the end result isn’t a video.
- To make a video of your Slide.ly, record the screen. See instructions. Then upload to YouTube or Vimeo.
If you need something more powerful but still simple, try Wondershare Slideshow Builder.
Invest in Real Estate or Stock Market (and Other Comparisons)

Average rate of return
- Stock Market: 10% (before inflation). 7% (after inflation)
- Real Estate: 10% (especially in the San Francisco Bay Area)
ROI based on own money or borrowed money
- If you invest $100,000 in stocks, with a 10% ROI, you’ll get $10,000 at the end of year one.
- If you invest $100,000 in real estate (20% of a $500,000 house), with a 10% ROI, you’ll get $50,000. Your ROI is based on the value of the property ($500K), not your $100K down payment. Most of your ROI comes from borrowing $400,000 from the bank.
Of course, you can also borrow $400,000 and dump it all into buying stocks but
- no one, especially a bank, would lend you $400,000 to invest in stocks, and even if they did, the interest rate would be more than 10%, causing you to lose money
- unless you invest in something like index funds, investing in individual stocks is more risky because their values can plummet in very short periods of time, e.g. Facebook dropped by 26.4% in just one day. A single-day devaluation like that would never happen in real estate. Real estate depreciation can occur, but it would take at least months.
