Quantcast
Channel: Linux Guides, Tips and Tutorials | LinuxScrew
Browsing all 314 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to Install OpenWRT on a Raspberry Pi

This article will show you how to install the OpenWRT operating system on a Raspberry Pi. I’ve previously covered this as part of our Installing OpenWrt on a BT HomeHub 5 article, but I thought I’d...

View Article


Image may be NSFW.
Clik here to view.

How to Use Microsoft Teams on Linux

Microsoft Teams has exploded in popularity in the past year (people have been working from home a lot for some reason). Here’s how to use it on Linux. Microsoft Teams Microsoft Teams is a chat and...

View Article


Image may be NSFW.
Clik here to view.

How to Set up a Samba/SMB Windows Share in OpenWrt with LuCi

This super quick tutorial will show you how to set up a Samba/SMB Windows network share on an OpenWrt device. This tutorial works best if you have some extra storage available for your file share –...

View Article

Image may be NSFW.
Clik here to view.

Output or Display an Image in the Browser from PHP

This article will show you how to output or display an image in the web browser from PHP, with a quick copy & paste code snippet. Images in PHP We’ve covered how to resize images in PHP using the...

View Article

Image may be NSFW.
Clik here to view.

How to Set up AdBlock DNS Ad Blocking in OpenWRT

This tutorial will walk you through setting up DNS level Ad Blocking on your network by installing Adblock on an OpenWrt router. If you’re looking to set up an OpenWrt router of your own, check out our...

View Article


Image may be NSFW.
Clik here to view.

How to Rename Files & Directories in PHP [Examples]

This tutorial will show you to rename files and folders in PHP with the rename() function – including some code examples you can use in your own project. We’ve already covered uploading files and...

View Article

Image may be NSFW.
Clik here to view.

Multidimensional/Nested Arrays in JavaScript [Guide]

This guide aims to succinctly show you how multidimensional arrays can be created and used in the JavaScript programming language. What are Arrays? Arrays are a key component in any app kind of app you...

View Article

Image may be NSFW.
Clik here to view.

How to Resize/Crop Images in PHP with the GD Library

This tutorial will show you how to resize or crop images in the PHP programming language. Code examples are provided which can be copy and pasted into your project. GD Library vs ImageMagick Image...

View Article


Image may be NSFW.
Clik here to view.

Ultimate Guide to Uploading Multiple Files With PHP [Examples]

This tutorial will explain how to upload one or multiple files from the web browser to the server using PHP. Code examples are included, including the code for limiting file size and type. Being able...

View Article


Image may be NSFW.
Clik here to view.

How to Write/Save to a File with PHP [Examples]

This tutorial will demonstrate how to write data to a file on the server in the PHP programming language. Code examples are provided to show you how it’s done. Writing data to a file server-side is a...

View Article

Image may be NSFW.
Clik here to view.

Searching JavaScript Arrays with the Array.find() Method [Examples]

This tutorial will show you how to search arrays in JavaScript using the Array.find() method, and show some code examples. JavaScript Arrays An array is a type of variable that holds an ordered list of...

View Article

Image may be NSFW.
Clik here to view.

Exiting JavaScript Loops: ‘break’ &‘continue’ [Examples]

This article will explain the JavaScript break and continue statements and how they are used to exit and skip iterations in loops. JavaScript Loops In programming, a loop iterates through a series of...

View Article

Image may be NSFW.
Clik here to view.

How to Install OSMC Media Center on Raspberry Pi [Screenshots]

This step-by-step guide will walk you through installing the OSMC media center software on a Raspberry Pi.  Screenshots of the whole process are provided so that you can follow along! LibreELEC,...

View Article


Image may be NSFW.
Clik here to view.

How to change DNS servers on Linux (Ubuntu/RedHat/All Distros)

Here’s a quick tutorial for a simple but important task – manually setting the DNS server on your Linux system. The steps in this tutorial should work for all Linux distributions – both server and...

View Article

Image may be NSFW.
Clik here to view.

DietPi – A lightweight Raspberry Pi OS Alternative

Here’s a quick screenshot walk-through of the installation of DietPi OS for Raspberry Pi.  DietPi is a minimalist but fully featured alternative to Raspberry Pi OS.  I’ve run through the install...

View Article


Image may be NSFW.
Clik here to view.

How to Use the JavaScript ‘do while’ Loop, With Examples

This article will show you how a JavaScript do while loop is constructed, and what it us used for, with code examples. do while loops are one of the simplest kinds of loops, and appear in most...

View Article

Image may be NSFW.
Clik here to view.

JavaScript Escape Quotes / Escape Strings [Examples]

This article will explain how to use escape characters to escape quotes in strings in the JavaScript programming language, with some examples. What is a String Variable in JavaScript? A string is a...

View Article


Image may be NSFW.
Clik here to view.

DIY Raspberry Pi Chopping Board HomeLab

Here’s an odd solution I came up with to deal with the tangled mess that is my Raspberry Pi HomeLab – mounting it on a cheap kitchen chopping board. There’s not a lot more to be said for it really –...

View Article

Image may be NSFW.
Clik here to view.

JavaScript Print – To the Console, WebPage, or a Printer [Examples]

You’ve searched for ‘JavaScript Print’ – so you’re probably trying to output data to the console, to the webpage or to a printer. Here’s how to do all three. Printing to the Console with console.log()...

View Article

Image may be NSFW.
Clik here to view.

How to use the JavaScript ‘while’ Loop, With Examples

This article will show you how a JavaScript while loop is constructed, and what it us used for, with code examples. While loops are one of the simplest kinds of loops, and appear in most programming...

View Article
Browsing all 314 articles
Browse latest View live