WiFi Setup on Raspberry Pi

Setting up a WiFi connection with Raspbian Lite (Jessie) on a Raspberry Pi 3 involves editing a single file to provide both the network SSID and Key.

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Append the following to the file:

network={
    ssid="YOUR_NETWORK_SSID"
    psk="YOUR_NETWORK_PASSWORD"
}

Save the file (CTRL+X) – Press ENTER to confirm the filename.

Reboot the Pi with:

sudo reboot

To enable SSH:

sudo update-rc.d ssh enable

Read More


Remove Stubborn Windows 10 Apps

To remove some of the stubborn Windows 10 apps that come pre-installed, including Candy Crush!

  1. Open a command prompt
  2. Type ‘powershell’ at the prompt and press Enter
  3. Search for the app to remove (this example looks for Bing apps’ enter ‘Get-AppxPackage -Name *bing*’
  4. Shown will be a list of apps installed matching ‘bing’, for the app you wish to remove, copy the FullPackageName (example ‘Microsoft.BingSports_4.7.130.0_x86__8wekyb3d8bbwe’)
  5. To remove the app enter ‘Remove-AppxPackage’ followed by the FullPackageName (example Remove-AppxPackage Microsoft.BingSports_4.7.130.0_x86__8wekyb3d8bbwe’)
  6. WARNING: Some apps should not be removed as they will cause problems with Windows, 3rd party apps are generally fine to remove, do not attempt to remove the Windows Store)

 

Read More


HTTP to HTTPS Forwarding

Recently moved the website, changed the domain and added an SSL certificate.  A couple of additions to the .htaccess files had to be made to ensure that any requests for HTTP were redirected to HTTPS.  The following settings provide the redirection (and avoid any redirect loops):

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://chrisbibby.net/$1 [R=301,L]

To redirect any visitors from the old site/domain the following was added to the .htaccess on the old site, this also allows for any existing links to the site to be forwarded to the new location.

RewriteEngine on
RewriteCond %{HTTP_HOST} ^chrisbibby.me.uk [NC,OR]
RewriteCond %{HTTP_HOST} ^www.chrisbibby.me.uk [NC]
RewriteRule ^(.*)$ https://chrisbibby.net/$1 [L,R=301,NC]

 

Read More


Telegram Sticker Guide

Telegram recently added the ability to use your own custom stickers.  The format required for stickers is WebP which is a new image format being developed by Google.  Unfortunately a lot of image editors don’t yet support it fully and have issues with exporting WebP images with transparency.  Why is this a problem for Telegram, well the best stickers are those with a transparent background.  Luckily  Gooogle has released a command line tool that can convert a PNG with transparency to WebP file.

The WebP tool is available for Windows, OSX and Linux from https://developers.google.com/speed/webp/download.  Once downloaded, extract the files and then open a terminal or command prompt and navigation to the folder where the files were extracted.To convert a file called cat.png using command prompt, enter:

cwebp cat.png -o cat.webp

The conversion should take almost no time to complete.  To display the sticker within Telegram simply drag a copy of the file into the Telegram chat window and from then on you can use the sticker from the sticker menu.

 

 

Read More