Giter Site home page Giter Site logo

linux's People

Contributors

n0v1c3 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

linux's Issues

Arch: Custom bin

Create custom 'bin' and required configuration for personal commands

Arch: Panel config

Pre configured panel layout is not being loaded into the xfce4 configuration

screenshot from 2016-05-18 13 05 51

Bash: Create folder that can be added to local $PATH

This folder can be a local way of storing all functions that you wish to have access to both with the scripts in the repository as well as easily installing the desired functions on the local system.

The bashrc dotfile will need to be updated with the desired path in the repo, this should be added to the bash setup script so that the link can be dynamic.

Arch: Speed up install

Remove unnecessary packages from the installer and add them to a separate script. This new script can be run after installation is completed, this way they can be run in parallel with the rest of the OS.

Bash: Update "linux" Path for Scripts

Update all scripts to use a "relative" path to the repo folder for linux.git

This causes some scripts not to work when a new user or computer is being used.

Bin: Create installer for local user bin soft links

  • Soft-links require a path the the "linux" folder" which may be modified in the future
    • This will prevent the ability to move this folder without updating this script
  • Full copies of the scripts will only require individual updates and the links should always work
    • This requires much larger files
    • Back-ups of scripts is already in the "linux" folder
  • Find way to ensure user "bin" folder path and install there
    • Could use a default path with $USER and have $1 be a request to use a different path
    • Could be stored in a file and remain constant across all systems until modified
    • This will assist with keeping systems constant
    • Will require a way to protect custom settings

Update git-log-update

#!/bin/bash

title="$$"
title1="BRANCH"
title2="STATUS"
title3="LOG"
gitdir="/home/rneadmin/Documents/projects/linux/.git"

while true
do
line1="$(git --git-dir=$gitdir branch)"
line2="$(git --git-dir=$gitdir status -s)"
line3="$(git --git-dir=$gitdir log --pretty=format:'%h - %s' --graph -n $1 | sed 's/\\/\\\\/')"

kill $(pgrep -u $(whoami) notify)

DISPLAY=:0.1 notify-send "$title" "
$title1
$line1

$title2
$line2

$title3
$line3"

sleep 5
done

File: Create backup script

Create or utilize existing script to backup one that is about to be replaced

# All backups created would be time stamped as YYMMDD

# Backup file to the same directory
backup $existingFile

# Replace $existingFile with $newFile while creating a backup of $existing file to the same directory
backup $existingFile $newFile

Bin: Update Paths on Existing Links

Remove any existing paths in the ~/.bin folder.

Maintain past link names for future changes (remove old links even when they are no longer present or the names have changed). Look for common paths for the linux repository.

QR Encoder

Easily encode standard text as a ASCII based qr code.

Prebuilt qr encoder with ascii output:
sudo apt-get install qrencode

Replace '#' with '█' so that a camera will be able to read the ASCII format

qr.sh Spaces Break Input Parameter

qr.sh cannot handle spaces in the input string need to change the following line:
qrencode -t ASCII $1 | cat | sed "s/#/█/g"
to
qrencode -t ASCII "$@" | cat | sed "s/#/█/g"
Note the quotes as well as the $@

Bin: Rename bin to .bin

Rename the bin folder to be installed in the user's home as .bin to make it a hidden file.

Update the installation scripts for bin to include this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.