×
×
Showing posts with label how-tos. Show all posts
Showing posts with label how-tos. Show all posts

Memory Friendly Way Of Prepending Data To A File In Bash


While you can't prepend data to a file you can create a new file containing the data, and then append the original file data to it. To do this in a memory friendly way you'll need to copy the original file contents a little bit at a time.

is_file PHP Function Returning TRUE When File No Longer Exists


PHP's is_file function will return TRUE even if the file no longer exists, if the file was there recently, and is_file was recently used on it. This happens because the results of is_file are cached.

How To Enable Stereo Mix In Windows 10


Steps:
- Open the Control Panel (not to be confused with "Settings"), click "Hardware and Sound", in the Sound section click "Manage audio devices".
- In the Sound pop-up click on the "Recording" tab, right-click, and select "show disabled devices".
- At this point "Stereo Mix" should be listed if it's supported by your sound card driver. Right click on "Stereo Mix", and choose "Enable".

How To Fix The Shared Folder Permission Issue In VirtualBox With Lubuntu Guest


After installing Guest Addons in Lubuntu, and setting up a shared folder in VirtualBox the shared folder doesn't work. It gives a permission issue. This is because your user is not a member of the vboxsf group which is required to access the shared folders. Dkms package is also required. To solve this just add your user to that group, and install dkms.

How To Fix The Shared Folder Permission Issue In VirtualBox With Debian Guest


After installing Guest Addons in Debian, and setting up a shared folder in VirtualBox the shared folder doesn't work. It gives a permission issue. This is because your user is not a member of the vboxsf group which is required to access the shared folders. To solve this just add your user to that group.

Using Certbot To Create And Manage Manual Certificates Y2019M6D26


These steps cover creating, renewing, and deleting manual certificates with Certbot. The certificates are from LetsEncrypt which, is a free certificate authority. Manual certificates are used when you need to generate a certificate on one machine, and then transfer the certificate to your webserver. The process must be repeated each time you change your certificate.

List All Certificates:
- In terminal type "sudo certbot certificates".

How To Setup A Custom Domain On Blogger With HTTPS Enabled


- In Blogger, go to Settings, go to Basic, go to Publishing.
- Add your desired custom domain (eg: "example.com").

Using Certbot To Create And Manage Manual Certificates


These steps cover creating, renewing, and deleting manual certificates with Certbot. The certificates are from LetsEncrypt which, is a free certificate authority. Manual certificates are used when you need to generate a certificate on one machine, and then transfer the certificate to your webserver. The process must be repeated each time you change your certificate.

Configure Mozilla Firefox To Not Automatically Check For Updates


This is an "Incomplete" release which, means it is unfinished, and may not have been tested. It is provided for research purposes only. Do not attempt to use it as is! There could be unrecoverable consequences. You have been warned.
Mozilla Firefox no longer includes an option in the preferences area to disable automatically checking for updates. You can still achieve this by disabling the update service in about:config.

Configure Trusted Recursive Resolver In Mozilla Firefox


T.R.R. (Trusted Recursive Resolver) is a new feature in Mozilla Firefox which provides DNS over HTTPS (aka DNS Queries over HTTPS and abbreviated as "DoH"). This allows Mozilla Firefox to have it's own DNS settings rather than

Setup Lubuntu 18.04 AMD64 As A LAMP


LAMP (Linux Apache MySQL PHP) is an acronym used to refer to a linux webserver

Create A Data ISO With Xorriso On Debian 9.0.0 XFCE AMD64


Create Data ISO Containing Contents Of A Directory:
1. In terminal type "cd '/directory2' && xorriso -dev '/directory1/file1.iso' -add './' && cd -".

Create A Compressed Frugal Rambooting Debian 9.0.0 AMD64 XFCE Installation


These steps cover creating a compressed frugal rambooting Debian installation using the live-boot method. The steps also cover updating the installation using a temporary flat-install.

Configure Repos On Debian 9.0.0 AMD64 XFCE


Steps:
1. Login as root.
2. Open terminal, and type "sed -i '5s/deb cdrom:/#deb cdrom:/' "/etc/apt/sources.list"".

Boot Debian 8.6.0 AMD64 LXDE When Grub2 Presents Grub Shell, Because It Can't Find Grub Config File


This doesn't fix the issue, but it will allow you to boot the OS, so that you can fix the issue.

1. In Grub shell use "ls" to list drives, and browse them for your grub.cfg file (eg: "ls (hd0,gpt2)/boot/grub/grub.cfg").

Backup And Restore GPT And Partitions, Using DD And Gdisk Under Lubuntu 16.04 AMD64


Backup GPT:
1. In terminal type "sudo apt-get install gdisk".
2. In terminal type "sudo gdisk"
3. In Gdisk type "/dev/sdL", substitute "sdL" for the device to backup the GPT of.
4. In Gdisk type "b".
All Rights Reserved, with exceptions.

Site Views