A fully fonctional and good-looking linux for less than 256mb of ram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# M. Crouch 09/03/2020 - Inspiration by Popey Youtube channel | |
# Command Arg: Date string eg. 20200309 | |
# Refer to http://iso.qa.ubuntu.com/qatracker/milestones/408/builds for date string | |
# Check for argument | |
if [ "$1" == "" ] | |
then | |
echo "You must provide the date of the image." | |
echo "I.e <20200309>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Paste at shell prompt (or download and execute) and get: | |
# | |
# sdc 9936 hours ( 1.13 years) 3.49TiB SAMSUNG MZ7KH3T8 | |
# nvme0n1 9936 hours ( 1.13 years) 3.49TiB SAMSUNG MZQLB3T8HALS-00007 | |
# sde 9932 hours ( 1.13 years) 4.55TiB ST5000LM000-2AN1 | |
# sdd 9931 hours ( 1.13 years) 4.55TiB ST5000LM000-2AN1 | |
# sdb 9617 hours ( 1.09 years) 0.01TiB SuperMicro SSD | |
# sda 9616 hours ( 1.09 years) 0.01TiB SuperMicro SSD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a | |
my ~/.vimrc for preserving global defaults and only changing one option: | |
source $VIMRUNTIME/defaults.vim | |
set mouse-=a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# A basic Python script to let you browse the apps available in the | |
# Ubuntu Touch App store. Run it and your web browser should open. | |
# | |
# Copyright 2014 Robert Schroll | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights |
Prerequisites:
- One or more clients running a UNIX-like OS. Examples are given for Ubuntu 12.04 LTS, although all software components are available for other platforms as well (e.g. OS X). YMMV
- A cheap Ubuntu 12.04 VPS with storage. I recommend Backupsy, they offer 250GB storage for $5/month. Ask Google for coupon codes.
Software components used: