2007 and up Toyota Tundra/Sequoia upgraded suspension, wheel and tire parts description

2007 and up Toyota Tundra/Sequoia upgraded suspension, wheel and tire parts description

Upgrade Parts:

RCI Fuel Tank Skid Plate – Material:10 Gauge Steel / Black Powder Coated.

N-Fab T0786QC Wheel to Wheel Nerf-Step

FRONT – Bilstein 24-232173 B8 5100 Ride Height Adjustable Shock Absorber 2″ lift in the front to provide leveling

REAR – Bilstein (24-186971) 46mm Monotube Shock Absorber 1″ in the rear no blocks

Toyo Tires – Open Country A/T II (XT)All Terrain All SeasonLT295/55R20/E 123S

Rims – Fuel 1 Piece Beast – D564 20X9

Smittybilt 27046B Beaver Step for 2-Inch Hitch

TonnoPro TonnoFold Tri-Fold Tonneau Cover

Posted in Uncategorized | Leave a comment

2007 and up Tundra/Sequoia and other models, stereo upgrade with JBL sound system

2007 Tundra Stereo upgrade with JBL sound system

This install should work on other various Toyota, Lexus and Scion models.

Stereo – Pioneer AVH-X490BS Double Din Bluetooth In-Dash DVD/CD/Am/FM Car Stereo Receiver with 7-Inch WVGA Display/Sirius Xm-Ready
https://www.amazon.com/Pioneer-AVH-X490BS-Blu…/…/ref=sr_1_2…

Dash Kit – Metra 99-8220 Dash Kit
Fits select 2007-up Toyota Tundra/Sequoia models — single- and double-DIN radio
https://www.crutchfield.com/…/Metra-99-8220-Dash-Kit-Matte-…

Parking break bypass (Don’t drive and watch movies) – MicroBypass ALL AVH-X Video In Motion Interface for Select Pioneer Receivers
https://www.amazon.com/…/B00A…/ref=oh_aui_search_detailpage…

Steering wheel stereo controller – PAC RP4.2-TY11 Wiring Interface
Connect a new car stereo and retain factory JBL system, steering wheel controls, and aux input in select 2003-up Toyota, Lexus, and Scion vehicles
https://www.crutchfield.com/…/PAC-RP4-2-TY11-Wiring-Interfa…

USB/Charger/Audio – Cllena High Speed Dual Port USB Car Charger with Audio Socket for TOYOTA Series,USB charging for iPhone, iPad, Samsung and More (3.3A + Audio)
https://www.amazon.com/…/B01N…/ref=oh_aui_search_detailpage…

Phone holder – Panavise InDash Custom Dash Phone Mounts
https://www.google.com/url…

Posted in install, stereo, upgrade | Leave a comment

How to fix: Raspberry Pi 3 Model B+ bootup hangs with the ACT led flashing 8 times

Raspberry Pi bootup hangs with the ACT led (green light) flashing 8 times.

According to R-Pi Troubleshooting, 8 flashes means the SDRAM not recognised. You need newer bootcode.bin/start.elf firmware. If start.elf won’t launch, it may be corrupt.

So what I did, I opened the micro SD card up on my laptop and searched for start.elf. I then deleted it and replaced it with a new start.elf found here: https://github.com/raspberrypi/firmware/blob/master/boot/start.elf.

Insert the card back into your Pi and it’ll bootup as normal.

This fixed the issue for Raspbian Stretch and Ubuntu MATE.

Posted in Raspberry PI, Raspian, repair, setup | Leave a comment

How To Install The Youtube Downloader and Extract Audio and Video

How To Install The Youtube Downloader
sudo apt-get install youtube-dl

How To Download And Extract Audio From A Youtube Video

Find the video you want to download by visiting Youtube and searching for it.

Underneath the video there will be a share link.

Click on the share link and select the link that appears with the mouse.

Open a terminal window and type the following command replace the text paste_link_here with the link to the share link:

youtube-dl –extract-audio –audio-format mp3 -l paste_link_here

To paste into a Linux terminal right click and select paste from the menu or press shift and insert at the same time.

The text in the terminal should look something like this:

youtube-dl –extract-audio –audio-format mp3 -l https://youtu.be/ICZ3vFNpZDE

What this does is download the video from Youtube as a video and then extract just the audio part to MP3.

You are left with just the MP3 file and the video is discarded.

If you want to keep the video as well as the MP3 file add a -k to the command as follows:

youtube-dl –extract-audio –audio-format mp3 -k -l https://youtu.be/ICZ3vFNpZDE

You will now be left with an MP3 and an MP4 file.

If get URLError: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>

Upgrade it using pip

Step First(if pip is not installed)
Firstly install pip if it is not install
sudo apt-get install python-setuptools
sudo easy_install pip

Second Step(Upgrade youtube-dl)
sudo pip install –upgrade youtube-dl

Posted in Uncategorized | Leave a comment

Pioneer AVH Receivers (Head Units) – How to get video, pictures, wallpaper and cover art to work

What sort of formats are supported for USB memory devices and USB hard disks??

FAT16 and FAT32 are supported for USB memory devices and USB hard disks. NTFS is not supported.

How to get videos to play?

What I found that worked was using Divx Video Converter (Windows) and DivX Converter (Linux)

*When using Divx Video Converter (Windows) I felt for best results setting the output profile to Divx mobile.

*When using DivX Converter (Linux) I felt for best results setting Output Preset at Normal Quality and the Video Filters to DivX 4

Resolution:

640×360 to 640×480

FPS:

23.97 to 30

Video bitrate (kbps)

800

Pictures and Wallpaper

Pioneer head unit likes 800×480 Images

Cover Art

Pioneer no longer reads image files out of folders. It likes metadata embedded album art.

What I felt was the fastest and easiest way to do this was using TagScanner (Windows)

It was able to download covers via online databases like freedb, Discogs or MusicBrainz and embed them into the mp3 file.

Posted in Uncategorized | Leave a comment

My way of resolving screen (video) tearing with Nvidia on Linux Mint for multi-screen monitors

Screen tearing typically occurs when you are running a proprietary NVIDIA driver under Linux and running XFCE, LXDE, MATE or other desktop environments that are not running a compositor such as Compton.

So here is my script. Here’s how to add it to the system startup

  1. Menu -> Control Center -> Startup Applications
  2. Click Add
  3. Give Name: NVIDIATEAR (any name you want)
  4. Command:  paste script shown below (or your modified version of the script)
  5. Comment: Screen tearing fix

nvidia-settings –assign CurrentMetaMode=”DVI-D-0:1600x900_60 +0+0 { ForceFullCompositionPipeline = On }, HDMI-0:1920x1080_60 +1600+0 { ForceFullCompositionPipeline = On }, DP-1:1600x900_60 +3520+0 { ForceFullCompositionPipeline = On }”

If you only have one monitor, you won’t need the additional parts after the comma.

You will of course need to change things like “DVI-D-0”, “HDMI-0” and “DP-1” to the connections your monitor is using (or monitors in my case as I have three). You can find them out by running the “xrandr” command in terminal. It will give you a list of things, like this:

Screen 0: minimum 8 x 8, current 5120 x 1080, maximum 32767 x 32767
DVI-D-0 connected 1600×900+0+0 (normal left inverted right x axis y axis) 443mm x 249mm
1600×900 59.9*+
1280×1024 75.0 60.0
1280×960 60.0
1280×800 59.8
1280×720 60.0
1152×864 75.0
1024×768 75.0 70.1 60.0
800×600 75.0 72.2 60.3 56.2
640×480 75.0 72.8 59.9
HDMI-0 connected primary 1920×1080+1600+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920×1080 60.0*+
1680×1050 60.0
1600×1200 60.0
1440×900 59.9
1280×1024 75.0 60.0
1280×960 60.0
1152×864 75.0
1024×768 75.0 70.1 60.0
800×600 75.0 72.2 60.3 56.2
640×480 75.0 72.8 59.9
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1600×900+3520+0 (normal left inverted right x axis y axis) 443mm x 249mm
1600×900 60.0*+ 60.0
1280×1024 75.0 60.0
1280×960 60.0
1280×800 59.8
1280×720 60.0
1152×864 75.0
1024×768 75.0 70.1 60.0
800×600 75.0 72.2 60.3 56.2
640×480 75.0 72.8 59.9

Posted in drivers, graphics, linux, Linux Mint, Nvidia | Leave a comment

Booting Z/OS Emulation Files with Hercules | Leo’s Random Stuff

Source: Booting Z/OS Emulation Files with Hercules | Leo’s Random Stuff

Posted in Uncategorized | Leave a comment

Use your Raspberry Pi as an always-on BitTorrent box

In this tutorial we will turn our Raspberry Pi into an always-on BitTorrent box. This will let you have a small, power efficient, torrent server running around the clock.

Why is this a good idea?

A lot of companies offer to download their software and/or files using torrents, and when you downloaded the installer for your Raspberry Pi OS, you could also do this as a torrent.

If you are downloading and/or sharing a lot of files using torrents (legally of course), you might have a dedicated machine, or even your laptop, running for long periods of time solely for this purpose. This can be very power consuming, and that’s why the Raspberry Pi is perfect to use as a dedicated torrent box that can run 24/7. Compared to a laptop or stationary computer, the Pi is very power efficient.

 

Prerequisites

This tutorial uses a Raspberry Pi running RaspBMC as an example system, but you can also use Raspbian. In order proceed I assume that you:

  1. Have a Raspberry Pi running either Raspbian or RaspBMC.
  2. Are able to remotely access your Pi using SSH.
  3. Have some sort of storage connected where you can save files.

If you need help getting started with any of these, you can find more information here:

  1. Getting started with Raspberry Pi – Part 1
  2. Getting started with Raspberry Pi – Part 2 (SSH etc)
  3. Mount a network drive on your Raspberry Pi

 

Installation

Before we start, let’s make sure we have the latest repositories and that our system is up to date:

sudo apt-get update && sudo apt-get upgrade -y
Install and setup Deluge daemon and console
sudo apt-get install deluged
sudo apt-get install deluge-console

Once it is installed, we want to start Deluge and then stop it again. This will create the default configuration files we need.

deluged
sudo pkill deluged

Now we have the configuration files we need, and we will edit one of them. Open and edit the ~/.config/deluge/auth file and add the following to the end of the file:

echo "username:password:level" >> ~/.config/deluge/auth

Where user and password are the credentials you want to use for remote access to Deluge, and the level is the access level you want to give that user. You should put this to 10 (which is the full-access/admin level for the Deluge daemon). As an example, I use pi:raspberry:10.

Start the Deluge daemon again, and the Deluge console:

deluged
deluge-console

This will bring up the Deluge console window, where we will make some changes to the configuration. Inside the Deluge console, type the following:

config -s allow_remote True
config allow_remote
exit

On the first line we enable remote access to our Deluge daemon, and on the second line we simply double-check that the value is correctly set to True.

Now we have to restart the Deluge daemon again to make the new configurations take effect:

sudo pkill deluged
deluged

Now that the Deluge daemon is ready for remote connects, it’s time to install a client on our that we can connect to the daemon.

 

Install and setup Deluge client

In order to connect to the Deluge daemon running on the Pi, we need to install the Deluge client on our computer:

  • Ubuntu
  • Windows / Mac

If you’re running Ubuntu on your PC, you can install the Deluge client with the following command:

sudo apt-get install deluge

If you are running other Linux distros you can download the necessary package from the official Deluge download page.

Once you have installed the client, start it. The first time we run the client, we have to make a few quick changes. Go to Preferences -> Interface. Under the submenu Classic Mode there’s a checkbox named ‘Enable’. This is checked by default, we need to uncheck it.

Click OK, and restart the client.

Now that the client starts, you will be presented with the Connection Manager. This is where we need to create a connection to the Deluge daemon running on the Pi. Click Add in order to create a new connection, and input the IP of your Pi as well as the username and password that you set for the daemon in the previous section. Leave the port to 58846 as this is the default port.

Once you click add, you will get back to the connection manager and you should see your connection:

Select it and click Connect. Now you are connected to you Deluge daemon on the Pi! We don’t don’t have any torrents there yet, but we’ll get to that soon.

 

Configure Deluge to use a proxy

Although this section is optional, it is highly recommended that you use a proxy to protect your BitTorrent traffic. There are several reasons why you should use a proxy to shuttle your traffic, and even though you’re not downloading anything illegal it is still better to be safe than sorry. If you want to be anonymous on the Internet, a proxy will help keep eavesdroppers away. By default, Deluge also encrypts all traffic which is good if your ISP is throttling BitTorrent traffic.

If you are suspecting you ISP of throttling your BitTorrent traffic, this tool can help you detect if this is the case.

I am using Private Internet Access as a proxy, and it’s fairly cheap for what you get ($39.95/year). You are of course free to use any service you like, and it’s up to you if you trust using a free service.

Once you have a proxy that you can use, we have to configure Deluge to shuttle the traffic through this proxy. To do this, open Preferences -> Proxy. Set all sections to ‘Socks5 W/ Auth’ and input your credentials. If you are using Private Internet Access’ proxy, the host is proxy-nl.privateinternetaccess.com and the port 1080.

In order for the changes to take effect, we need to restart the Deluge daemon on the Pi:

sudo pkill deluged 
deluged

You will have to reconnect to the Daemon from the client as well.

Test it

Now it’s time to test that the proxy is setup correctly. We will do this by downloading a completely legal torrent from TorGuard.net. Download the torrent, add it to your queue, and select it to see the IP through which your client is connected. If everything is setup correctly you should see the IP of your proxy instead of your own IP (see the bottom of the picture below).

 

Configure download folders

Now it’s time to setup the folders where Deluge should download your files. By default, the files will be saved to /home/pi, and this will probably fill up your Pi’s SD card pretty quickly. Instead we are going to save our files to an external storage.

I am using a network drive that I have mounted to /media/network/, but you can use any storage device you like. Just make sure you have permissions to write to it. Mount an SMB network drive on Raspberry Pi will show you how to use a network drive with your Pi.

We are going to create three new folders that we’ll use for Deluge:

.downloading – this is where the active downloads will exist
.completed – once finished downloading, all files will be moved to this folder
.watch – Deluge will watch for newly added .torrent files in this folder, and automatically start them

Decide where you want to create the folders (I have chosen to create these in /media/network/Public/), and run:

sudo mkdir /media/network/Public/.downloading
sudo mkdir /media/network/Public/.completed
sudo mkdir /media/network/Public/.watch

Now open the Preferences -> Downloads section in the client and set the folders to the ones you just created.

You don’t have to restart anything this time.

Test everything

Now we can test that everything is working as it should. Let’s download a large enough file to make sure it runs smoothly, the latest release of Raspberry Pi NOOBS installer (roughly 1.3GB) should be sufficient: NOOBS Latest

Instead of adding it manually through the client, you can try saving the .torrent file to the .watch folder to make sure Deluge starts it automatically.

 

That’s it! Now you have your very own always-on BitTorrent box running on your Raspberry Pi.

Posted in Uncategorized | Leave a comment

Implementing Single Sign On for Windows with Apache 2.4.x

Implementing Single Sign On for Windows with Apache 2.4.x

* Grab the apache module mod_authnz_sspi from SourceForge

Grab the apache module mod_authnz_sspi from https://www.apachehaus.net/modules/mod_authnz_sspi/.

Unzip the module, and add the files from the bin location to the apache bin folder, and the files from the module folder to the module folder (Apache folder will be something like C:\Programs\Apache\modules).

Make sure you download the right version for your apache install (x64 and x86).

Add the following lines to your Apache configuration file (httdp.conf) – add this at the end of the module configuration:
Load Module sspi_auth_module modules/mod_authnz_sspi.so

Also make sure to uncomment:
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_core_module modules/mod_authz_core.so

* Add a directory block


Options Indexes FollowSymLinks

AllowOverride None
#sspi_auth_module changes – start
Order allow,deny
Allow from all
AuthName “ForLogging”
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
SSPIOmitDomain Off
Require valid-user
#sspi_auth_module changes – end

This was successfully installed while using:

Windows Server 2012
MySQL 5.6.25
PHP 5.6.0
Apache HTTP Server 2.4.12

Posted in apache, module, mysql, php, sspi, wiki, Windows | Tagged , , , , , | Leave a comment

THERE HAS BEEN AN ERROR CROPPING YOUR IMAGE.

“There has been an error cropping your image.” error in WordPress when I tried to crop an image for theme header.

The solution is surprisingly easy.

sudo aptget install php5gd

This will install the PHP GD library for image processing.

NOTE: You may need to restart apache server for it to come into effect.

Posted in crop, cropping, image, PHP GD, php5-gd, Wordpress | Leave a comment