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.
- Host: GitHub
- URL: https://github.com/pcboy/fwp
- Owner: pcboy
- Created: 2015-09-07T04:38:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T01:20:35.000Z (over 6 years ago)
- Last Synced: 2025-02-12T15:17:41.923Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)