We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Moved to: https://github.com/DennisLfromGA/CBC-Projects/blob/recovery-id/recovery-id.csv |
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
Moved to: https://github.com/DennisLfromGA/CBC-Projects/blob/recovery-id/recovery-id.sh |
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
# Exits the script with return code $1, spitting out message $@ to stderr | |
error() { | |
local ecode="$1" | |
shift | |
echo "$*" 1>&2 | |
return "$ecode" | |
} | |
# Find the root drive | |
# Sets: |
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 | |
set -e | |
BNAME=$(basename $0) | |
USAGE=" | |
Usage: sudo bash $0 [ChrUbuntu size in GB] | |
$BNAME will resize the Chromebook to add or delete ChrUbuntu partitons. | |
$BNAME should be run from VT2 when NOT logged in. |
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/sh -e | |
# | |
APPLICATION="${0##*/}" | |
PACKAGES="\ | |
cgpt colordiff compizconfig-settings-manager cowsay fortune-mod fortunes fortunes-debian-hints fortunes-min \ | |
fortunes-off gparted guake ppa-purge remmina remmina-common remmina-plugin-rdp remmina-plugin-vnc screen synaptic \ | |
tmux ubuntu-wallpapers unity-tweak-tool update-manager update-manager-core update-notifier update-notifier-common \ | |
update-notifier-kde vim vim-doc vim-scripts vim-addon-manager vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse wajig" | |
SUDO='' | |
# |
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 sh | |
ipurl="icanhazip.com" | |
if hash dig 2>/dev/null; then cmd="dig +short myip.opendns.com @resolver1.opendns.com"; ipurl="" | |
elif hash curl 2>/dev/null; then cmd="curl" | |
elif hash wget 2>/dev/null; then cmd="wget -qO-" | |
else echo "*** No app (dig,curl,wget) found - exiting ***"; exit 2; fi | |
[ -n "$1" ] && echo -n "$cmd $ipurl - " | |
eval $cmd $ipurl || ret=$? | |
exit $ret |
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 | |
# Chromecast-daily-wallpaper | |
# Version 0.2 | |
# | |
# Simple command line tool which will grab a random wallpaper | |
# from the Chromecast backgrounds repository at | |
# https://github.com/dconnolly/chromecast-backgrounds | |
# | |
# Depends: lynx, nitrogen | |
# |
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
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
description "mount CHRUBUNTU on /var/ChrUbuntu-sda7" | |
author "DennisLfromGA@github.com & drinkcat@github.com" | |
start on starting boot-services | |
task | |
script |
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 bash | |
## for default bash | |
##!/data/data/com.termux/files/usr/bin/bash | |
# for termux bash | |
## Gist link to 'name': | |
# https://gist.github.com/DennisLfromGA/a12b511d2b4a27e67a53 | |
# name - A script to gather pertinent system info. | |
# |
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
########################################################################## | |
##* crouton.conf defaults are: ## | |
# DELAY=10 # delay desired number of seconds before starting ## | |
# CHROOT=xenial # enter desired chroot to start ## | |
# START_DE=startxfce4 # enter desired Desktop Envirnoment to use ## | |
# CHROOT_APP=none # enter desired chroot application to run ## | |
# XMETHOD=default # enter the desired XMETHOD (xorg,xephyr,xiwi) ## | |
# RUN_STATE=y # change to 'n' to disable running $CHROOT ## | |
########################################################################## |