An open API service indexing awesome lists of open source software.

https://github.com/pcboy/fwp

Some very tiny scripts to fix some big First World Problems.
https://github.com/pcboy/fwp

Last synced: 11 months ago
JSON representation

Some very tiny scripts to fix some big First World Problems.

Awesome Lists containing this project

README

          

# Indexize.rb

Usage: $> indexize.rb [FOLDER]

No arguments needed, nothing. It'll generate a tiny index.html file containing a dirlisting of the current directory. Add a path as first argument to do it for another directory.

# Bydate.rb

Usage: $> bydate.rb 'command to execute' \

Bydate.rb execute the full command passed at first argument on all the files after it, sorting these files by ctime first.

# Watcher.rb

Usage: $> watcher.rb 'command to execute' \

Watcher.rb execute the full command passed at first argument each time ONE of them is modified.

# Gallerify.rb

Usage: $> gallerify.rb \

Gallerify.rb is gonna create a basic index.html file in the current dir with all the FOLDER's files inside tags.

# Pretty\_json.rb

Usage: $> pretty\_json.rb \

Pretty\_json will pretty print the files with some JSON content.

# Jsonarry.rb

Usage: $> jsonarry.rb \

Take files containing a list of json hashmaps separated by \n and make it an array of json hashmaps.

# backup\_android.sh / restore\_android.sh
Two bash scripts to backup restore an android device (you need root and adb of course)

# Replace\_bad\_shellwords.rb
A script that renames all files in current folder to shell friendly filenames (replace spaces to underscores etc)