commit dcae553bf41ca137dceef95dc58e8c391fcdb54c
parent 956aaeb01e6d0b7dfc6d6dae4a3179a0f438eeb9
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 22 Aug 2018 11:29:48 +0200
Removed unnecessary files, moved README to root dir
Diffstat:
3 files changed, 33 insertions(+), 42 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,33 @@
+# Dotfiles & Others Repository
+---
+
+## Installation:
+1. Clone repository as `~/.cfg`
+2. `cd` into repository
+3. Run `install.sh`
+
+
+## Scripts in `dotfiles/bin`:
+* `AMSTracker`: Retrieves x, y, and z values from AMS (Apple Motion Sensor) hardware.
+* `anythingtogif`: converts (almost) anything to a gif. Usage: `anythingtogif clip.mov clip.gif`
+* `class-dump`: dumps classes from binary file
+* `clonedisk`: clones one disk to another
+* `Desktop Changer.app`: an Automator application that changes the desktop background to a random image on login
+* `epub-convert`: uses Calibre's ebook converter program to convert anything to an epub
+* `executable`: my first script. Makes any file executable, along with further options. Usage: `executable file.sh`
+* `gfx2gfx`: convert SWF into PDF. Usage: `gfx2gfx page.swf -o page.pdf`
+* `icalBuddy`: can extract information about events from the iCal application
+* `itunes_style_getter`: can find and set the genre in a track in iTunes (along with its Ruby helper). Usage: click/play a track in iTunes, and run the program.
+* `modified_cfscrape.py`: can scrape and download CloudFlare-protected websites. Usage: `python3 modified_cfscrape.py http://url.com`
+* `mp3tagger.jar`: a Java application to tag MP3 files
+* `percerr.rb`: a simple tool for calculating percent error. Just run the Ruby script.
+* `radio`: a command-line radio player, can play various music streams from the internet. Also has a visualiser, turn it off by passing `-n` on startup.
+* `smack.pl`: change spaces by smacking the side of your screen.
+* `strip-html-tags`: remove HTML tags from a file
+* `tag`: a command-line `mp3tagger.jar`. Usage: `tag filename.mp3`
+* `topdf`: converts a file to a PDF using cupsfilter. Works well on docx files. Usage: `topdf file [file2 file3 file4...]`
+* `updatemaster`: the ultimate all-in-one update script. Run with `-h` to see options.
+* `upx.out`: Fixes a fucked CORE keygen. Check Info.plist in bundle. If the version is lower than system version, and the crash log says "UPX compressed binary", just run `upx.out -d $coreKeygenBinaryPath` and you good.
+* `usbmux`, `tcprelay`: port forwarding. If you want to SSH to an iPhone over USB, you can run `tcprelay 22:2222` to forward local port 2222 to the iPhone's SSH port (22), and then `ssh -p 2222 root@localhost`.
+* `wattpad-scrape`: downloads a Wattpad book as an EPUB file. Usage: `wattpad-scrape $wattpad_url`
+* `xld`: X lossless decoder CLI.
diff --git a/dotfiles/bin/README.md b/dotfiles/bin/README.md
@@ -1,20 +0,0 @@
-# My personal scripts folder
----
-## Catalog of items:
-* `anythingtogif`: converts (almost) anything to a gif. Usage: `anythingtogif clip.mov clip.gif`
-* `batteryCheck.scpt`: AppleScript that monitors battery and notifies when it's charged/empty
-* `Desktop Changer.app`: an Automator application that changes the desktop background to a random image on login
-* `epub-convert`: uses Calibre's ebook converter program to convert anything to an epub
-* `executable`: my first script. Makes any file executable, along with further options. Usage: `executable file.sh`
-* `gfx2gfx`: convert SWF into PDF. Usage: `gfx2gfx page.swf -o page.pdf`
-* `icalBuddy`: can extract information about events from the iCal application
-* `itunes_style_getter`: can find and set the genre in a track in iTunes (along with its Ruby helper). Usage: click on a track in iTunes, and run the program.
-* `modified_cfscrape.py`: can scrape and download CloudFlare-protected websites. Usage: `python3 modified_cfscrape.py http://url.com`
-* `mp3tagger.jar`: a Java application to tag MP3 files
-* `percerr.rb`: a simple tool for calculating percent error. Just run the Ruby script.
-* `strip-html-tags`: remove HTML tags from a file
-* `tag`: a command-line `mp3tagger.jar`. Usage: `tag filename.mp3`
-* `topdf`: converts a file to a PDF using cupsfilter. Works well on docx files. Usage: `topdf file [file2 file3 file4...]`
-* `upx.out`: Fixes a fucked CORE keygen. Check Info.plist in bundle. If the version is lower than system version, and the crash log says "UPX compressed binary", just run `upx.out -d $coreKeygenBinaryPath` and you good.
-* `usbmux`, `tcprelay`: port forwarding. If you want to SSH to an iPhone over USB, you can run `tcprelay 22:2222` to forward local port 2222 to the iPhone's SSH port (22), and then `ssh -p 2222 root@localhost`.
-* `wattpad-scrape`: downloads a Wattpad book as an EPUB file. Usage: `wattpad-scrape $wattpad_url`
diff --git a/dotfiles/bin/cs_record_tasks.rb b/dotfiles/bin/cs_record_tasks.rb
@@ -1,21 +0,0 @@
-#!/usr/bin/env ruby
-## CHANGE THIS TO THE FOLDER WHERE YOU WANT TO STORE YOUR FILE ##
-filepath="/Users/alex/Desktop/ /Computer Science/IA/"
-
-## DO NOT MODIFY UNDER THIS COMMENT
-require 'date'
-print "Do you have a date? (y/n) "
-if (gets.chomp=="y")
- print "Enter the date (y-m-d): "
- date=gets.chomp
-else
- date=Date.today.to_s
-end
-
-print "Enter your task: "
-task=gets.chomp
-
-finalpath="#{filepath}record_of_tasks.csv"
-File.open(finalpath, 'a') { |file|
- file.puts("#{date},#{task}")
-}-
\ No newline at end of file