This file contains 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
def insertionSort(unsortedList : List[String]) = { | |
val F = unsortedList.toArray | |
for(i <- (2 until F.length)){ | |
val m = F(i) | |
var j = i; | |
while(j > 1 && !sorted){ | |
if (F(j-1) >= m) { | |
F(j) = F(j-1) | |
j -= 1 | |
} |
This file contains 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
svn log | ruby -e "puts STDIN.read.split(/\n/).select{|l| l =~ /^r\d+/}.map{|l| l.split('|')[1].strip}.uniq.sort" |
This file contains 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 | |
=begin | |
This script backups and updates all dokuwiki installations on this server | |
Copyright (c) 2010 by Johannes Thönes <johannes.thoenes@googlemail.com> | |
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
=end | |
# Library Requirements | |
require 'net/http' # for download of the files | |
require 'open-uri' # for download of the files |
This file contains 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
On Feb 20, 2009, at 4:24 PM, "Olusegun A.A" <xxxxxx@gmail.com> wrote: | |
** CRAIGSLIST ADVISORY --- AVOID SCAMS BY DEALING LOCALLY | |
** Avoid: wiring money, cross-border deals, work-at-home | |
** Beware: cashier checks, money orders, escrow, shipping | |
** More Info: http://www.craigslist.org/about/scams.html | |
Hello, | |
Do you still have this item available for sale at the moment? Get back asap. |
NewerOlder