I have the MaxPower PivoTrim weed trimmer head because the spool type trimmer heads always get tangled. The MaxPower PivoTrim head makes replacing trimmer line super easy.
When I ran out of the trimmer line that came with the head, I bought a spool of new trimmer line. Unfortunately, when you cut some trimmer line and install it in the head, the line curves up or down instead of pointing straight out. So, I found a way to straighten the trimmer line. Below is a picture of the line straightened (left) and before it was straightened (right).
To straighten the line, I cut the line to length, stapled each end down to a piece of 2×4, took a heat gun and carefully heat up the plastic line to soften it and cause it to take on a new shape.
Then, I folded the straightened line in half and stapled each end down to the 2×4 and heat up the folded end so that it would remember that position.
The end result is trimmer lines that are straight and cut weeds better. Note, you may have better performance if you remove the plastic guard on the trimmer shaft.
If you take an mp4 (mpeg-4) video and put it in a video editing program like Corel VideoStudio and then render the same video without any other assets (images, audio, other videos, etc), then you may find that the resulting video becomes out-of-sync with the audio. To fix this, you can use Avidemux as follows.
Open the mp4 file in Avidemux
In the Audio Output section, check the Shift checkbox and enter a value in the time field. Note that 1 second = 1000 ms. For me, I found that 500 ms works.
Hit the play button and update the time shift value until the audio and the video are in sync.
In the Output Format section, choose Mkv Muxer. This will produce an mkv file. If you choose mp4 muxer, then the output audio will be out of sync with the video again. You can upload mkv files to YouTube.
Testing HTTP connections and Rest APIs can easily be done using Postman. This handy tool allows you to provide HTTP headers, among many other things, to test connections and view responses.
Here’s a test of querying a Rest API from restdb.io. The query URL is https://testdb-cd69.restdb.io/rest/people. For authentication, an HTTP header called “x-apikey” is provided with its value (redacted). The response from the call is in the body panel in JSON format.
If you have a webhook or form that makes an http request to another system, you can test the request and see the response easily using httpbin.org.
For example, if you have a form that posts data, you can set the action attribute’s value to https://httpbin.org/post. Then, submit the form and you will see what the posts data looks like. This is great for testing.
If you need a quick and easy way to create a CMS (content management system) or a database backend for an app, then Restdb.io will amaze! Here are some features:
super developer-friendly with crystal clear documentation
affordable and even has a free plan
example code for popular programming languages, including client side JavaScript and server side NodeJS, which makes it quick to get up and running
webhooks whenever a record is created, updated or deleted
codehooks to run custom code before and after a record is created, updated or deleted, e.g. for data normalizing and validation. codehooks also support scheduled tasks like cron jobs.
auto-generate test data to seed a table
ability to import data from a CSV file
native and custom field validation
non-technical users can log in and add/edit/delete records using intuitive forms and controls without seeing any developer features
ability to upload and host images and files
Below is a tutorial on how to create a simple CRUD (Create, Read, Update, Delete) app using Restdb.io with a PHP backend.
1. Log in to Restdb.io account and create a table (collection)
After you log in, you’ll need to be in Developer Mode to create a table. When creating fields in the table, Restdb.io offers numerous field property options including native and custom field validation.
2. Add or import data
To populate the table, you can
Add data field by field, row by row
Import data from a CSV file
Auto-generate data by clicking on the Test Data tab
Using the Test Data option, I chose to generate 5 rows which gave me this.
3. Get sample CRUD code
Click on [Table] > API Docs and choose a language to see sample code for
The sample PHP CRUD code provided by RestDB.io requires the use of the HttpRequest PEAR PECEL HTTP_Request extension. To avoid having to install this dependency, you can just use cURL which is included with PHP.
NodeJS
Below is a screenshot using NodeJS using the Request library.
JavaScript using jQuery AJAX
You can also perform CRUD actions using client-side JavaScript but you need to set up CORS (cross-origin resource sharing). The example below shows JavaScript using jQuery AJAX.
For client-side JavaScript, you need to generate a CORS API key. The screenshot below shows a CORS API key (redacted) that allows connections from any origin server but only allows the GET method to read data.
In the screenshot above, the API key would only work for the “people” table / collection. To have one key work for all tables / collections, use “/**” instead.
4. PHP: Create a file to test reading from the database
I created a test file called read-curl.php which uses cURL to connect to the remote database.
After uploading it to my web host, opening the file in a browser shows me the data in JSON format, as expected, which you can see live at http://zabuun.com/restdb.io/read-curl.php
You can also test the API by installing Postman (free), entering a query in the form of a REST URL, and entering your API key as an HTTP header.
4. JavaScript (jQuery + AJAX): Create a file to test reading from the database
I created a test file called read.html with the following code. This code uses the CORS key for cross-origin resource sharing.
After uploading it to my web host, opening the file in a browser shows me the data in JSON format, as expected, which you can see live at http://zabuun.com/restdb.io/read.html
If you have JSON data as in the example above, you can use Handlebars.JS to format the output in HTML.
5. Query data
When reading data from RestDB , you will often want to filter data based on conditions rather than retrieve an entire collection (all records). RestDB supports many MongoDB-like query syntax. Read the docs. Here’s an example of RestDB queries for equivalent relational DB SQL queries.
You can also aggregate data, e.g. min, max, avg, count, groupby, etc, using aggregation and grouping functions. Read the docs.
If you already have an entire JSON dataset and you want to query against it, you can use JSONata. JSONata is a lightweight query and transformation language for JSON data.
6. Auto-generate a web form
If you want to create a web form for public use, you can have restdb.io auto-generate one for you, complete with JavaScript validation and code to publish the data to your restdb.io database. See an example at
Below is a screenshot of my remote filesystem on a shared GoDaddy server. The error.log file is auto-generated.
8. Create users with editor access
If you work with other developers or editors, you can give them role-based access to your restdb.io account to manage data. An editor, for example, will not see the developer features and can simply add records using a user-friendly web form like shown below.
Put a couple tablespoons of olive oil in an 8 inch pan on medium heat
Put in 4 eggs making sure not to break the yolk
Sprinkle salt and pepper. Cumin is good, too.
Using a flipper, inspect the bottom of the eggs along the perimeter occasionally until it’s slightly brown and the egg pancake, if you will, is firm. Personally, I like my egg yolks half cooked.
Remove to a plate
Eating method
Personally, I don’t like to break the yolk cuz that’s messy. I’d eat the egg white separately and each entire egg yolk separately.
Let’s say you’ve taken a screenshot of some text and you’d like to highlight part of the text. By using different blending modes, this becomes an easy task. Here’s how to do it.
1. Open the screenshot containing text in Photoshop and select the text you want to highlight
2. Create a new layer and fill it with yellow
3. Change the blending mode to darken or any other one you like to create the highlighted text.
I’ve tried various types of tillers that you can rent from Home Depot. The light duty mantis tillers and mid tine are really only good for soft dirt.
MTA Rear Tine Tiller (Model # FRC800K1A-656912)
This tiller is heavy duty and can break up hard clay BUT both the wheels and the tines move forward so unless the tines are partially underground breaking the dirt, you can easily be pulled forward and lose control of the machine. Though this is a heavy duty machine, I find it less easy to control compared to the Barreto Hydraulic tiller.
Barreto Hydraulic Tiller (Model # E1320HX)
This tiller is big and heavy but it’s easy to use, easy to control, and will destroy clay and hard dirt. The rear tines move in the opposite direction of the wheels so the machine never runs away from you moving you forward out of control. It’s the most expensive to rent, but the time savings and ease of use make it worth it. I personally recommend this tiller over all the others.
Last week I made an egg sandwich with spinach, smoked sliced beef brisket, cheddar cheese and ciabatta bread. It was good but messy as the ingredients kept falling out as I’d eat it. Also, it wasn’t easy tasting all of the ingredients with every bite since they’d move around while holding the sandwich.
Since the sandwich would end up all mixed up in your mouth and stomach, I figured why not just mix all the ingredients up in a pan. It turns out this was not only much easier to cook and eat but also tastier as you could taste more of the ingredients.
Here’s the recipe:
Ingredients:
pita bread (available at Costco)
potatoes (optional)
pre-cooked tater tots
pre-cooked chopped baby potatoes
chopped tomatoes
diced onions
diced red, green and yellow bell pepper (can get it pre-diced and frozen)
diced jalapeno peppers
baby spinach
shredded cheddar cheese
pre-cooked smoked sliced beef brisket (available at Costco)
3 eggs
maybe broccoli?
Instructions:
If the bread is a bit hard, warm it up in the microwave for 50 secs to soften it.
Pour / spray cooking on in a pan and turn the heat up to medium
Put in all ingredients except eggs and mix for a minute or so
Put in eggs and mix for a minute.
I prefer my eggs half cooked with the yolk still wet so I’d turn off the heat and transfer everything to a play in time for the yolk to remain wet.
To eat, you can stuff the pita bread with the egg scramble though it may be hard separating the two sides of the bread without breaking it. Otherwise, just rip pieces of pita bread and scoop up some of the eggs scramble with it as you would for curry.
To save time in the morning, prepare everything the night before.
Add all ingredients except eggs in a zip lock bag and put in freezer
In the morning, transfer frozen ingredients to a bowl and defrost in microwave
Do you have to wash your feet in wudhu (ablution) or can you wipe it?
Many Muslims, especially Sunnis, believe that they must wash their feet when performing wudhu. However, the Quran makes it clear that the feet are to be wiped. Consider verse 5:6.
O you who have believed, when you rise to [perform] prayer, wash your faces and your hands to the elbows and wipe your heads and your feet to the ankles. (5:6)
As you can see, any reasonable person would understand the above verse to indicate that the feet are to be wiped and not necessarily washed. If it were so important for believers to wash their feet instead of wipe them, it would make sense for God to have grouped the feet part of the verse with the face and hand washing part instead of with the head-wiping part. Or, God could have added the word “wash” right before the word “feet” to make it clear that the feet must be washed.
How many steps are there in performing ablution (wudhu)?
Most Muslims think there are more than 4 steps to perform ablution (wudhu). However, the Quran makes it very clear in verse 5:6 that there are exactly 4 steps:
O you who have believed, when you rise to [perform] prayer, wash your faces and your hands to the elbows and wipe your heads and your feet to the ankles. (5:6)
Some Muslims insist that you must do more such as wash the inside of your mouth, clear your nostrils, wipe your neck, etc. Though it’s probably okay to do these things, one must not say that these additional steps are required since nowhere in the Quran does it require them. Believing that these extra steps are required and telling others that these extra steps are required constitutes belief in an Islamic law that God never approved. Therefore, to be safe and correct, one should not add to the steps clearly specified in the Quran and just stick to the 4 steps. If one feels that they need to wash their mouths or clear their nostrils or wipe their necks, they can do that before performing ablution (wudhu). They can also take a bath or shower before performing ablution (wudhu) as well.
How many times must you perform each step in ablution (wudhu)?
Most Muslims think that they must perform each step of ablution (wudhu) three times as if doing it less or more than three times invalidates the ablution. However, the Quran never mentions a specific number of steps required to perform ablution. Therefore, you are free to perform each step as many times as you want. Also, you are forbidden from telling others that they are required to perform each step a specific number of times since God never required any specific number.
O you who have believed, when you rise to [perform] prayer, wash your faces and your hands to the elbows and wipe your heads and your feet to the ankles. (5:6)