Comments about the post Magit 2.5 released from the Emacsair blog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp; coding: hebrew-iso-8bit-unix -*- | |
;; subtitles.el - work on .srt (subripper) subtitle files | |
;; Copyright (C) 2009 Ehud karni <ehud@xxxxxxxxxxxxxx> | |
;; This file is NOT part of GNU Emacs, distribution conditions below. | |
;; | |
;; EHUD KARNI ינרק דוהא | |
;; Ben Gurion st' 14 ןוירוג ןב 'חר | |
;; Kfar - Sava 44 257 אבס - רפכ | |
;; ================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'uri' | |
def params_valid? | |
lengthOkay = [2,3].include? ARGV.length | |
revOkay = ARGV[0].to_i.to_s == ARGV[0] | |
lengthOkay && revOkay | |
end |