Now the redis is installed on the server and we need to enable the Radis to start it automatically upon server reboot.
# chkconfig redis on
2) After installation, we need to configure Redis. Follow the below steps to configure it.
Open the Redis configuration file and add the below lines at the end of the file:
vi /etc/redis.conf
maxmemory 256mb
maxmemory-policy allkeys-lru
3) We need to install php redis extension, for that, we need to login to WHM and Search for โModule Installersโ under โSoftwareโ section. Navigate to โModule Installersโ page and then click on the Manage link for the โPHP Peclโ.
On the PHP Pecl Installer page search type โredisโ and hit the โGoโ button.
Then click on the โInstallโ link from the results of the Redis extension to complete the installation.
4) Finally, we need to restart the Redis and httpd services to enable the changes.
The greatest announcement was apparently that of SideCar. SideCar enables MacOS to utilize an iPad as a second screen. Users can move windows and assignments onto your iPad screen and cooperate with it precisely as though it was a second screen. In contrast to a second screen however, the iPad holds its Apple Pencil support, so you can utilize your iPad as an illustration tablet for your Mac.
MAC PRO 2019
The all new redesign MAC PRO 2019
The new Mac Pro starts at $5,999 for the 8-core model with 32 GB of RAM and a 256-GB solid-state drive. That can be configured up to a 28-core model with 1.5 terabytes of RAM.
The new Mac Pro is all about processing power and graphics. It can handle 4 AMD Radeon Pro Vega II graphics cards, which will give you enough power to play three simultaneous streams of 8K video.
The Mac Pro will start at $5,999, and it will be available in the fall.
Pro Display XDR
This new Apple Pro Display XDR is aย 32-inch LCD panel with an astonishing 6016 x 3384 Retina 6K resolution.
The display output an incredible 1,000 nits indefinitely, with a maximum brightness of 1,600 nits.
The stand rotates into portrait mode, and itโs even possible to easily detach the display from the stand.
The price for the Pro Display XDR will start from $4,999, with a nano-matte coated to reduce glare version costing from $5,999.
IOS 13
Dark mode inย iOS 13ย looks great.
Typing is easier thanks to the new QuickPath keyboard.
HomeKit cameras now support iCloud storage.
Theย iPad’sย Home screen got overhauled inย iOS 13.
You can connect external storage devices inย iOS 13.
CarPlay has a new dashboard view.
iPadOS
screen with a new layout that allows room for more apps on the screen. …ย
New ways to multitask. …ย
Apple Pencil is more useful. …ย
Files app now supports external drives. …ย
iPadOSย also brings Dark Mode.
WATCHOS 6
New Watch Faces. New face. …ย
App Store is coming to your wrist. Finally! …ย
Fitness gets trendy.ย Apple Watchย wants to give you even more data on your health and fitness. …ย
Menstrual Cycle tracking. …ย
TVOS 13
A redesigned home screen
The current Apple TV home screen is kind of dull, especially compared to what you find in the Netflix and HBO streaming apps. With tvOS 13, though, the Apple TV home screen will take a cue from those apps and start playing trailers when you slide over TV and movie apps and even specific episodes.
Much as in the Netflix app, these trailers will dominate the screen behind the interface, giving you a good idea of what youโll be watching within a matter of seconds.
Support for multiple users
You can technically already set up Apple TV for multiple family members, but itโs a cumbersome process that involves going into Settings and signing out. But soon, however, Apple will allow you to switch between users through a new Control Center thatโs being introduced in tvOS 13.
The new Control Center looks a lot like the one in iOS.
Apple didnโt spend much time explaining this feature, but it looks as though switching users will be even easier than it is on macOS. Itโll also enable an โUp Nextโ feature thatโs better suited to your specific preferences.
Support for Xbox One and PlayStation 4 controllers
Makers of MFi (Made for iOS) game controllers were probably stunned to hear Appleโs keynote today, as Apple TV will now support controllers made for both the Xbox One and PlayStation 4 consoles. The newly supported controllers will work with Apple Arcade when it drops sometime later his year.
First, this means you wonโt have to spend any time wondering if your controller will support any particular gameโs controls. Second, this means you wonโt even have to buy a special tvOS controller if you already have an Xbox One or PlayStation 4.
In this tutorial, we will see how to install and run Raspberry pi Homebridge the easy way and install and run HomeBridgeweb ui-x to manage all your devices and plugins.
Raspberry Pi HomeBridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API.
It supports Plugins, which are community-contributed modules that provide a basic bridge from homekit to various 3rd-party APIs provided by manufacturers of “smart home” devices.
HomeBridge web UI
Since Siri supports devices added through HomeKit, this means that with Homebridge you can ask Siri to control devices that don’t have any support for HomeKit at all. For instance, using just some of the available plugins, you can say:
Siri, open the garage door.
Similarly, Siri, turn on/off Sony Tv.
Siri, turn on the living room lights.
Siri, good morning!
In this video we will see how to install HomeBridge using NodeJS.
Install and access HomeBridge Web UI-X
change the port so you can run other services
You can start updating the OS by copying the commands below: ( it will prompt after the upgrade process start you have to type “Y” to continue)
sudo apt-get update sudo apt-get upgrade
copy both lines and paste it in terminal ( it will prompt to the 2nd command. Hit Enter to continue)
# Defaults / Configuration options for homebridge # The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)โฉHOMEBRIDGE_OPTS=-U /var/homebridge # If you uncomment the following line, homebridge will log more # You can display this via systemd's journalctl: journalctl -f -u homebridge # DEBUG=*
the above script is the default one to get you up and running. you still need to add plugins and add-ons for your devices based on what you need to do.
Below I am sharing my own script that I added my Sony Tv and Denon AV receiver.
Also, you can explore all available plugins at the NPM website by searching for the keyword homebridge-plugin. Further, you can access the compatible ones from the UI tab under plugins.
My config script:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-75-159"
},
"ports": {
"start": 52100,
"end": 52150,
"comment": "This section is used to control the range of ports that separate accessory"
},
"platforms": [
{
"platform": "DenonMarantzAVR",
"name": "Denon LivingRoom",
"host": "192.168.1.40",
"maxVolume": 70,
"secondZone": true
},
{
"platform": "config",
"name": "Config",
"port": 8989,
"theme": "red"
}
],
"accessories": [
{
"accessory": "Sony-Television",
"name": "Sony Television",
"ipaddress": "192.168.1.244",
"presharedkey": "7777",
"port": "80"
}
]
}
Finally quick reboot will be good to make sure everything is working well.
In this tutorial, we see how to test and start using the Raspberry Pi Camera V2.
Below you will see different codes for the different use case in Python. Feel free to copy and past it in your own code.
RASPBERRY PI CAMERA V2
All codes below start with: from picamera import PiCamera from time import sleep however you can see few options depends on what you are looking for and your setup
Python code:
To test the camera copy the below command
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(10)
camera.stop_preview()
If your preview was upside-down, you can rotate it with the following code:
To rotate the PiCamera copy the below command “//un-hash the needed rotation angel//”
You can rotate the image by 90, 180, or 270 degrees or you can set it to 0 to reset.
from picamera import PiCamera
from time import sleep
camera = PiCamera()
#camera.rotation = 90
camera.rotation = 180
#camera.rotation = 270
camera.start_preview()
sleep(10)
camera.stop_preview()
Save photos from the PiCamera is the most common use for the Camera Module
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(5)
camera.capture('/home/pi/Desktop/image.jpg')
camera.stop_preview()
Itโs important to sleep for at least 2 seconds before capturing, to give the sensor time to set its light levels.
You can find the photo on the Desktop. Double-click the photo to open it:
Save Video from the PiCamera
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
camera.start_recording('/home/pi/Desktop/video.h264')
sleep(10)
camera.stop_recording()
camera.stop_preview()
Now youโve got started with the Camera Module, I Hope you enjoy this website and its content. feel free to suggest topics you would like to be covered.
Sources
The Raspberry Pi Foundation official website – raspberrypi.org
Top 5 Smart door locks compatible with HomeKit you can buy now in March 2019
#5 August Smart Lock Pro
Lock and unlock your door from anywhere, grant secure access to friends and family, and track who is coming and going, all from the August app. Automatically unlocks when you arrive and locks when you leave. August Smart Lock Pro works with all three voice assistants – Siri, Amazon Alexa, and the Google Assistant.
SEAMLESS INTEGRATION WITH Apple HomeKit With Appleยฎ HomeKit smart door lock, Friday Lock becomes part of a bigger ecosystem, connecting to all of your smart accessories and integrating seamlessly with them.
Your keys. Or Your latte. Your briefcase. Your groceries. Somethingโs got to give. But not if you have the Schlage Sense Smart Deadbolt or August smart lock. It makes getting in the door as easy as entering an access code on a touchscreen or using your smartphone to unlock the door before you even get out of the car. And thatโs only the beginning of what keyless entry can do for you when it comes to both security and convenience.
The Danalock V3 is one of the wireless smart door locks that lets you easily control access to your home with your smartphone. So stop worrying about lost or forgotten keys, use your smartphone to lock or unlock the door.
As the owner of a Danalock V3, you can create an unlimited number of digital keys for your family members, friends, guests or helpers such as a housekeeper or contractor*. Program each user’s access level by choosing permanent or temporary access. Set up alerts, so you know exactly when the lock is used โ and by whom.
SMART Nukiโs smart door lock automatically unlocks your door when you get home and closes safely when you leave. Your smartphone simply remains in your pocket!
SIMPLE The Nuki Smart Lock is mounted on the inside of your existing door lock and ready to be used within 3 minutes without any further assistance. No screws, no drills.
SECURE Keep control over your Nuki Smart Lock and check the status at any time on your smartphone. Manage access permissions for your friends and loved ones.https://nuki.io/en/
Let us know which one you like more below in the comments
Treadmills have been around for a surprisingly long time. Did you know that the first US patent for a treadmill was issued as far back as 1913?
Digital treadmills are more popular than ever, you can thank an extended lockdown for that! This means that companies are bending over backwards to offer you the best product. But what makes digital treadmills so effective? Here are five ways a digital treadmill can improve your fitness.
Endurance Running
Unsurprisingly, the most effective way to use a treadmill to improve your fitness is through traditional endurance training. Nothing fancy, just set yourself a distance goal and spend your time trying to improve it. You can either try to increase your distance or increase your speed (and lower your time). A low intensity, long duration treadmill run will help to improve your fitness significantly.
Hill Sprints
While hill sprints are definitely not for beginners, they are an amazing way to turbo charge your fitness levels. To perform hill sprints, you will need a digital treadmill with a robust incline setting and a decent motor. Searching for bargain treadmills is not the answer here! The idea is to perform 10 hill sprints that last around 30 seconds (up to a minute depending on your fitness).
Set the treadmill up to a steep incline, and then set the speed to as fast as you can handle (test this out over a number of sessions to find the sweet spot). Run as fast as you can, then grab the handles and hop off the running belt safely. Turn the speed down and recover for 90 seconds. Then start your second sprint.
HIIT
This is almost exactly the same as the hill sprint method above but doesnโt use a steep incline. Some people prefer to modify this so that it isnโt a true HIIT session, which looks like this:
Run for 90 seconds at a medium pace
Sprint for 30 seconds
Run for 90 seconds at a medium pace
The only issue is that treadmills canโt go from slow to sprint immediately, it takes around 30 seconds to hit max speed. So, your actual run looks more like this:
Run for 60 seconds at a medium pace
Steadily increase speed for 30 seconds until you hit sprinting speed
Sprint for 30 seconds
Steadily reduce speed for 30 seconds until you hit medium speed
Run for 30 seconds at a medium pace
Steadily increase speed for 30 seconds until you hit sprinting speed
And so on โฆ
This isnโt true HIIT, but it is a seriously good workout and will make a huge difference to your aerobic fitness levels.
Modified Fartlek Training
Modified Fartlek training is an amazing way to use your digital treadmill to improve your fitness. It suits treadmills better than the previous two methods (hill sprints and HIIT) because it understands the limitations of the treadmill and can suit any fitness level.
Real Fartlek training is slightly different, but modified Fartlek training resembles it closely. What you do is split your movements into three:
Walking
Jogging
Running
If you are fitter, then you may change it to jogging, running, sprinting. If you are less fit, then you could change it to slow walking, walking, and jogging. You get the idea. Three different speeds.
Warm up with some walking/jogging, and then start to run. Do this for as long as you can, when you get tired, drop down to walking. Stick with walking until you feel ready to increase to a jog, then jog until you feel ready to run. Repeat the process for 20-60 minutes (depending on your goals).
Alternatively, you can stick to distances. 400m run, 400m walk, 400m jog.
Low intensity Walking
This is perhaps the most boring option, but for many people walking at a low to medium intensity is a great way to burn fat and improve fitness. This is popular with bodybuilders who want to burn fat but not lose any muscle mass during a cut. But it is also great for beginners. As your fitness improves you can increase the speed, the distance, or the incline to make it harder.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking โAcceptโ, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.