Coder Social home page Coder Social logo

scripts's Introduction

Scripts

This repository contains a collection of my personal scripts. I use them under Ubuntu, it can be mapped on other debian-distributions.

TODO: Complete documentation.

cleaner.sh

Cleaning script: It contains the following cleaning components:

  • "Purging apt cache (autoclean & clean)"
  • "Removing unused apt packages (autoremove)"
  • "Purging old kernels"
  • "Localepurge"
  • "Purging residual configs"
  • "Delete unnecessary (orphaned) packages"
  • "Cleaning thumbnails"
  • "Cleaning var/logs"
  • "Purging trash"

dropbox-updater.sh

Checks if Dropbox is up to date. It compares the version with the latest stable forum build (https://forums.dropbox.com). The new file is gonna be downloaded from: https://dl-web.dropbox.com/u/17/

oneconf-disabler.sh

A simple script which disables the OneConf synchronisation.

toggletouchpad.sh

Uses the xinput command to toggle the touchpad. Additionally a notify-send is sent with a notification of the current touchpad state.

trim

Runs a trim command for a SSD drive. Every time the script was realized, a notification (notify-send) will pop up. There are two configuration parameter:

  • LOG - The path where the log should be saved. Default is /var/log/trim.log
  • DEVS - a list of devices, which will be affected by the trim command. Drive-list is separeted by spaces. For example "/ /home" will check the mounted root drive "/" and the "/home" drive. For every driver a notification will be displayed.
  • USER - Set user which will be notified about trim.

scripts's People

Contributors

baizon avatar

Watchers

James Cloos avatar  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.