I hereby claim:
- I am kelan on github.
- I am kelan (https://keybase.io/kelan) on keybase.
- I have a public key ASALCq_STqgOh0ffMVy7om22KGH6mozeKXkbLfHGSTVPLgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby -wKU | |
| # | |
| # by Kelan Champagne | |
| # http://yeahrightkeller.com | |
| # | |
| # A script to generate a personal podcast feed, hosted on Dropbox | |
| # | |
| # Inspired by http://hints.macworld.com/article.php?story=20100421153627718 | |
| # | |
| # Simply put this, and some .mp3 or .m4a files in a sub-dir under your Dropbox |
| #!/usr/bin/env ruby | |
| # To test is using `defaults.merge(options)` or `defaults.merge!(options)` | |
| # is faster, I ran the following (manually replacing 'merge' with 'merge!' | |
| # as appropriate): | |
| 10000000.times do | |
| defaults = {:a => 1, :b => 2, :c => 3, :d => 4} | |
| options = {:a => "another value", :d => true} | |
| options = defaults.merge!(options) |
| #!/usr/bin/env ruby -w | |
| # | |
| # This is a script to help view a patch file in the Changes.app[1] UI. It is | |
| # pretty basic, but does the job. It simply creates 2 copies of the file, | |
| # where in one (the "original") it strips all the lines starting with '+', and | |
| # the other (the "modified") it strips all the lines starting with '-'. It | |
| # also removes the first character of all lines starting with a space, +, or - | |
| # Then it simply uses the chdiff command line too to view the differences. | |
| # | |
| # It takes input either from filename arguments (multiple files are ok, but it |
| #!/usr/bin/ruby | |
| tracDir = '/home/myUser/trac_projects/myProject' | |
| logFilePath = tracDir + '/queued_post_commits.txt' | |
| doneFilePath = tracDir + '/queued_post_commits_done.txt' | |
| errorFilePath = tracDir + '/queued_post_commits_errors.txt' | |
| postCommitScriptPath = tracDir + '/trac-post-commit-hook.py' | |
| tracURL = 'http://trac.myDomain.com/myProject/' | |
| errorEmailTo = '[email protected]' |