Tag: Bash
The status of short (3 character) .org domain names in 2023. What’s available? (Updated!)
Domain names A domain name can contain all 26 letters, 10 numbers, and a hyphen (-). You cannot start or end a domain name with a hyphen. Domain names are not case sensitive, so you can use upper and lower case letters interchangeably. A domain name can be up to 67 characters long — including…
Smart Home Series – The Smart Tub
Source: https://atwing.net/home%20automation/shell-commands-assistant/I’d like thank ANTHONY NGUYEN @ https://atwing.net for the above article. It really widened my perspective with what could be done with voice commands and smart devices. =] That is where I was introduced to IFTTT, MQTT, and Home Assistant. By connecting them to Google Assistant, you can do ANYTHING with your voice. Like…
Linux Terminal Service Project (LTSP) Supports MANY Desktops
Ubuntu and LTSP can provide a platform for providing desktops environments in many different ways. LTSP already comes with these client scripts: kiosk – Firefox running locally on thin client. ldm – Linux desktop running remotely on local server. menu – Interactive Menu shell – Drop to root bash shell running locally on thin client.…
How To Create Infinite Windows Cloud Desktops for Your Nonprofit with BoXenLinux®
Running Windows allows you to easily access proprietary closed source vertical market software. Using an Azure Nvidia Tesla virtual machine lets you run graphic intensive programs in the cloud. For instance 2D and 3D CAD Drafting, Video, and 3D educational tools. Even 3D games! O_O Coupled with BoXenLinux, and a decent Internet connection you can dramatically reduce…
What I’m writing about:
airplane aka Android AR Backlit cellular cm com computer Conserving County CyanogenMod Daytona Discount display EBay Equipment FREE github githubus Google Hosted hotspot HowTo install IOS keyboard Lapdocks laptop launch Leave Lineage link Linux List MB Milestone miraclecast Money Motorola MX navigation Netgear NetworkManager Nevada nonprofit openwrt pc power PXE raspberrypi raw Read Reboot recovery…
How to Build a LTSP chroot client image with the latest Greek schools PPA, and XfreeRDP Nightly
Build a chroot client The Greek Schools repository sudo add-apt-repository –yes ppa:ts.sch.gr Grab freerdp’s key cd /etc/ltsp sudo wget http://pub.freerdp.com/repositories/ADD6BF6D97CE5D8D.asc Option 1 – with command sudo ltsp-build-client –purge-chroot –mount-package-cache –mirror ‘http://azure.archive.ubuntu.com/ubuntu/’ \ –apt-keys ‘/etc/ltsp/ADD6BF6D97CE5D8D.asc, /etc/apt/trusted.gpg.d/ts_sch_gr_ubuntu_ppa.gpg’ \ –extra-mirror ‘http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu bionic main, http://pub.freerdp.com/repositories/deb/bionic/ freerdp-nightly main’ \ –late-packages epoptes-client freerdp-nightly –prompt-rootpass \ OR, Option 2 – using my…
How to batch optimize all jpgs using a bash script to speed up your site
Based on Google Insights article here: https://developers.google.com/speed/docs/insights/OptimizeImages JPEG is a lossy format. The compression process removes visual details of the image, but the compression ratio can be 10x larger than GIF or PNG. Reduce quality to 85 if it was higher. With quality larger than 85, the image becomes larger quickly, while the visual improvement is…
How to find any file or folder with a trailing space in it’s name, and delete the trailing space
Windows does not know how to handle files or folders whos name ends in a space. Usually Windows won’t allow you to delete these files, and other bizarre behavior. This is a simple bash command to fix that. find . -name ‘* ‘ -exec sh -c ‘x=”{}”; mv “$x” “${x%?}”‘ \;
Ubuntu Bash is now included in Windows 10! o_o
https://en.wikipedia.org/wiki/Bash_(Unix_shell) Windows 10 has added a Linux subsystem which fully supports Bash and other Ubuntu binaries running natively in Windows.[9] https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/
The best Bash backup script ever! ~ Jeffrey Pine Hein
This script for backing up websites securely using Google Cloud Storage (Nearline) Cost: $0.01 per GB per month You will need to read these guides before starting with this one:
How to run a script and have it output nice logs for you in bash
It is standard when you are writing your script, to write errors to “Standard Error” ( STDERR ). Like so: echo “Unique ID and Error” >&2 Usually when you run a script it outputs both standard error and standard output to your terminal display. You can however redirect those to log files. If you want…
How to install Virtualbox Extension Pack from the command line (Bash) on Ubuntu 15.10 wily
From: https://forums.virtualbox.org/viewtopic.php?f=7&t=44337 #!/bin/bash version=$(vboxmanage -v) echo $version var1=$(echo $version | cut -d ‘r’ -f 1) echo $var1 var2=$(echo $version | cut -d ‘r’ -f 2) echo $var2 file=”Oracle_VM_VirtualBox_Extension_Pack-$var1-$var2.vbox-extpack” echo $file wget http://download.virtualbox.org/virtualbox/$var1/$file -O /tmp/$file #sudo VBoxManage extpack uninstall “Oracle VM VirtualBox Extension Pack” sudo VBoxManage extpack install /tmp/$file –replace