Giter Club home page Giter Club logo

scripts's Introduction

Welcome to AzzyC's Automation repository

Shell scripting averts tediousness of following the same mundane tasks on a machine, where human error is inevitable and will cost time
~ The fact that you can be away from the keyboard, knowing that the scripts will continue to progress is greatly appreciated
~ I am no shell expert; the mentality towards some solutions used in these scripts may not resemble maximum efficiency but it is what I believed was reliable at the time and easy for future manipulation

CLI Screen Recorder
═════════════
bash <(curl -Ls git.io/JtFEh)

Prerequisites:
Git for Windows' Bash Terminal

Windows Users may want to record their screen to review at a later time; whether it be a class, meeting or an important task

This script will source programs solely for the screen recording function, and then commence a recording with a default time limit of 2 hours and 15 minutes
  ~ Time limit set in case of negligence and to prevent producing a several Gigabyte video

Time limit can be manipulated by the User, as shown in the screenshot:
1) Enter number of seconds
  ~ Shown in 1st Example
2) Enter time by HH:MM:SS format
  ~ Shown in 2nd Example
3) If User wishes to stop recording before a time limit is reached, press 'Ctrl + c'
  ~ Shown in 3rd Example

`ffmpeg` is the fundamental component within most recording programs, used for image/video conversions, trimming and streaming and therefore it is used in this script also

However, as well as recording the screen, the script uses an audio sniffer library (by default), which captures internal audio as 'hear what you see', meaning you can have your PC on low volume, or even mute, and it will still capture audio at normal volume
  Yet, you may want to capture your Microphone instead of the internal audio, whether it's a Headset or the PC built-in mic.
So, you will type the word 'mic' along with or without a set time limit, which was mentioned above

Example scenario (early morning class):
Execute the script, along with a set time limit (optional), see that the recording has started, join class and leave it on screen, put PC sound to mute (if not using 'mic') and proceed with a productive task, such as going back to sleep
Later on, have the ability to skim through the dullness of the class

Google Cloud VNC
═════════════
bash scripts/gcloudvnc.sh

Prerequisites:
VNC Viewer
Google Cloud Account

All Users have a chance to $300 credits on Google Cloud Platform where they can loan machine(s) with a range of specs, with a respective cost on the credits, within a year span of the trial
However, the created machines ('cloud instances') can only be accessed via Terminal, which may not be friendly for people who are used to a GUI Environment

Therefore, this script will setup a VNC Server on the Google Cloud machine, whereby a GUI Ubuntu (Gnome) Desktop is setup for Users to access with the VNC Viewer

scripts's People

Contributors

azzyc avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar

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.