Code Monkey home page Code Monkey logo

binfiles's Introduction

My ~/bin/ files

Scripts I Wrote

  • ashuffle - A script that will continuously enque songs for mpd.
  • ddupe - A script that removes duplicate files based on sha1sums (uses dupes).
  • dupes - A script that given a set of hashes and file names, will output duplicate files.
  • dotmake - A script that generates a Makefile to link your dotfiles automatically.
  • fat32-rename - A script that temporarily renames all the files (and directories) in a directory to fat32 compatible names and saves the mapping so it can be un-done later. I mostly use this one for syncing music to my phone which only supports sd cards that have fat32 file naming limitations.
  • finish_album - Add the tracks from the currently playing song's album after the currently playing song.
  • flac2mp3 - Simple script for converting a directory full of flac files into a directory full of mp3 files.
  • fpost - My school's CMS Canvas has a pretty awful WYSIWYG editor. Since I post a lot of example source, I wrote this script which renders markdown files, inlines the CSS and then dumps the HTML to standard out for pasting into the bare-HTML input.
  • htmlencode - Encode a given string into HTML encoded identities.
  • inlinebody - Takes an HTML page on stdin, inlines the CSS and outputs the 'body' portion. Used with fpost.
  • kick-wifi - Try to re-initialize the wifi-interface and then connect to the preferred service using connman.
  • lf - A simple bash script that list files in a directory based on size.
  • linkdf.sh - It's a simple script to symbolically link my dot files from a directory into ~. It could use some fixing up.
  • mpcp - an extremely minimal music mpd interface using mpc
  • mpc_trans - A bash script for transferring the state of one MPD instance to another mpd instance.
  • mqueue - Adds a file to mpd, even if that file isn't in MPD's library. I had to patch mpd to get this to work. I think it had a faulty check.
  • mshuffle_dir - Shuffle add music files in this directory and all sub-directories using ashuffle.
  • music.py - It's an interface to all of the music players I was using at the time: Spotify (the linux version) and cmus. It provides a standard interface to do things like playing, pausing and getting information about playing tracks.
  • music_bindings - It's the cli interface to music.py. I don't thing it's ever worked.
  • nfsn-pingbot - A script I cron to update my ip address on NearlyFreeSpeach.net's DNS. It's there to provide dynamic DNS stuff.
  • opml2feeds - Converts a .opml file of podcasts to yaml compatible with podcasts.
  • pause-next - Bash script to pause MPD after the current song has finished playing.
  • pdf2kindle - A python script that takes a pdf, converts it to a mobile-formatted pdf (using k2pdfopt) and then mails that PDF to your kindle email address so it get synced onto your kindle. I primarily use this for reading academic papers on my kindle. NOTE: The output pdf is formatted specifically for the kindle paperwhite. If you use it with a different model, you'll want to change the options supplied to k2pdfopt (see the convert function).
  • pfile - Open the next file of a given name, if that file already exists, add an incrementing counter to the end.
  • pick - output random lines from stdin, using probability!
  • psearch - A script that greps your PATH for programs.
  • remounte - One of my drives keeps disconnecting. So instead of fixing the problem I wrote a script to disconnect it and reconnect it.
  • rip - A script that rips a CD using abcde. This script exists because I kept forgetting what options I wanted to specify.
  • rnames - Generate random usernames for various services
  • rundzen - Pipes status.py into dzen2 with some custom font options.
  • shuff - Runs ashuffle with some common options.
  • ssha - Reads a password and then generates a salted-sha1 hash of that password using a method acceptable to servers like nginx for use in auth_basic passwd files.
  • status.py - A python script that writes various system information to stdout in dzen2's format for display. The top of it actually has a class for adding in arbitrary information. It's actually kinda cool.
  • strip_audio - BASH script for removing audio from video track.
  • sync_music - Sync my music library between my laptop and my desktop.
  • sync_musicr - Sync my music library between my laptop and my remote server.
  • sync_dap - Sync my music on to my DAP using a filter file generated by fpick.
  • tn - A simple command to open a new not taking file.
  • updatesums - Update a checksums file
  • watcher - A script that runs some command when a file (or directory of files) updates by using inotify. Handy for doing things like re-compiling files.
  • win-remote - A shortcut for connecting to my school's windows machines.

Scripts I Didn't Write

  • dbox - It's a cli for drop box, I'm pretty sure it's official, but I don't remember.
  • todo - Gina Trapani's todo.txt-cli.
  • youtube-dl - The every video downloader.
  • youtubedown - JWZ's better youtube downloader.

Symbolic Links

binfiles's People

Contributors

joshkunz avatar

Stargazers

Andy Chentsov avatar Joe avatar

Watchers

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