repo
string
commit
string
message
string
diff
string
bryanwoods/portfolio
c8f9cbfe9ed077b98ce02d56acc3fcbe126f54b3
Updating screenshots
diff --git a/screenshots/krubrix/screenshot.png b/screenshots/krubrix/screenshot.png index 2a561d5..cf4cff4 100644 Binary files a/screenshots/krubrix/screenshot.png and b/screenshots/krubrix/screenshot.png differ diff --git a/screenshots/wedding_planner/screenshot.png b/screenshots/wedding_planner/screenshot.png delete...
bryanwoods/portfolio
109e78f5e00c56822398f4f0ea4ce1b2d2addb47
Adding MusicForReason
diff --git a/screenshots/music_for_reason/screenshot.png b/screenshots/music_for_reason/screenshot.png new file mode 100644 index 0000000..b8aab22 Binary files /dev/null and b/screenshots/music_for_reason/screenshot.png differ
bryanwoods/portfolio
2aedcc239cd958bb78f71b6e33fc47d3aff17908
Updating project name
diff --git a/screenshots/invitedtoourwedding/screenshot.png b/screenshots/invitedtoourwedding/screenshot.png new file mode 100644 index 0000000..dac4618 Binary files /dev/null and b/screenshots/invitedtoourwedding/screenshot.png differ
bryanwoods/portfolio
cc02d6a4199aff13719a049f1d89d30b8d38b8ea
New screenshot
diff --git a/screenshots/wedding_planner/screenshot.png b/screenshots/wedding_planner/screenshot.png index 0c74389..dac4618 100644 Binary files a/screenshots/wedding_planner/screenshot.png and b/screenshots/wedding_planner/screenshot.png differ
bryanwoods/portfolio
24e14becb1ddbcb4eefaf6018c045a9a622b52ed
Adding wedding_planner screenshot
diff --git a/screenshots/wedding_planner/screenshot.png b/screenshots/wedding_planner/screenshot.png new file mode 100644 index 0000000..0c74389 Binary files /dev/null and b/screenshots/wedding_planner/screenshot.png differ
caspian311/xsem-parser
eb4183a565e734e855b40a2d848e6edff6280c1a
rake file now takes arguments for the various data files in the data directory to load into the database when using the install task
diff --git a/Rakefile b/Rakefile index 0a6b870..c7aa898 100644 --- a/Rakefile +++ b/Rakefile @@ -1,19 +1,20 @@ require 'rake' require 'rake/testtask' require 'rake/packagetask' require 'find' desc 'Default: run unit tests.' task :default => :test desc 'Test ASV Parser' Rake::TestTask.new(:test) do |t| ...
caspian311/xsem-parser
b0ce27b32cbea6eb9bc367c18f77ccccf937a44f
changed the api of the parser to give back the actual bible model instead of a list of books
diff --git a/lib/bible.rb b/lib/bible.rb index dfe0257..8aca438 100644 --- a/lib/bible.rb +++ b/lib/bible.rb @@ -1,5 +1,5 @@ -require 'active_record' - -class Bible<ActiveRecord::Base - has_many :books, :dependent => :destroy -end +require 'active_record' + +class Bible<ActiveRecord::Base + has_many :books, :dep...
caspian311/xsem-parser
89e6b4a24ba938776db2c638ffafe10187aecfdc
added rubygems to tests to see if it would fix the build on my cruise box
diff --git a/test/test_helper.rb b/test/test_helper.rb index d9e9cf2..1b4d36c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,13 +1,15 @@ $:.unshift File.join(File.dirname(__FILE__),'..','lib') +require "rubygems" +require "test/unit" + require File.dirname(__FILE__) + "/../lib/bible" require File...
caspian311/xsem-parser
a5b136aa1a6364c290b336a291f874c35879c615
renamed run to load
diff --git a/Rakefile b/Rakefile index 18235ce..0a6b870 100644 --- a/Rakefile +++ b/Rakefile @@ -1,19 +1,19 @@ require 'rake' require 'rake/testtask' require 'rake/packagetask' require 'find' desc 'Default: run unit tests.' task :default => :test desc 'Test ASV Parser' Rake::TestTask.new(:test) do |t| ...
caspian311/xsem-parser
332d774ac7a0c3bb93db6e7c02818e6a6170f350
setting up run to be able to load multiple data files
diff --git a/lib/run.rb b/lib/run.rb index bbb9890..76c1331 100644 --- a/lib/run.rb +++ b/lib/run.rb @@ -1,23 +1,23 @@ require 'active_record' require "xsem_parser" require "xsem_stream_listener" require "bible_model" require "db_importer" require "bible" require "book" require "chapter" require "verse" d...
caspian311/xsem-parser
a083b793b79b03b64e2a14493f22e411cba06228
added yml config file to store prod and test db connection infos
diff --git a/config/prod.yml b/config/prod.yml new file mode 100644 index 0000000..cb213d3 --- /dev/null +++ b/config/prod.yml @@ -0,0 +1,5 @@ +adapter: mysql +database: bible +host: 127.0.0.1 +username: root +password: root diff --git a/config/test.yml b/config/test.yml new file mode 100644 index 0000000..6e42ba8 --- ...
caspian311/xsem-parser
d43aea02c825a4780b9ab7108906ad1641652642
again changed the parser api to take a string path to file rather than a file
diff --git a/lib/run.rb b/lib/run.rb index 5cd3be6..42c2955 100644 --- a/lib/run.rb +++ b/lib/run.rb @@ -1,27 +1,27 @@ require 'active_record' require "xsem_parser" require "xsem_stream_listener" require "bible_model" require "db_importer" require "bible" require "book" require "chapter" require "verse" A...
caspian311/xsem-parser
1775e974f1d43db6551f37ed5794a446047fa8e4
renamed the asv to xsem
diff --git a/lib/run.rb b/lib/run.rb index a56b8c4..5cd3be6 100644 --- a/lib/run.rb +++ b/lib/run.rb @@ -1,27 +1,27 @@ require 'active_record' -require "asv_parser" -require "asv_stream_listener" +require "xsem_parser" +require "xsem_stream_listener" require "bible_model" require "db_importer" require "bible" re...
caspian311/xsem-parser
cb4f397d539733fe38dcbf86f20c1e271b5fbe8e
changed the api for the asv parser
diff --git a/Rakefile b/Rakefile index 93aca35..18235ce 100644 --- a/Rakefile +++ b/Rakefile @@ -1,21 +1,19 @@ require 'rake' require 'rake/testtask' require 'rake/packagetask' require 'find' desc 'Default: run unit tests.' task :default => :test desc 'Test ASV Parser' Rake::TestTask.new(:test) do |t| ...
caspian311/xsem-parser
36ae50965932570d46a3f95abd262bee11ebeb61
removed the integration test and tried to create an install task in the rake file
diff --git a/Rakefile b/Rakefile index a43b455..93aca35 100644 --- a/Rakefile +++ b/Rakefile @@ -1,14 +1,21 @@ require 'rake' require 'rake/testtask' require 'rake/packagetask' require 'find' desc 'Default: run unit tests.' task :default => :test desc 'Test ASV Parser' Rake::TestTask.new(:test) do |t| ...
caspian311/xsem-parser
963447d736ff687fbe24b7ab6d3f25fe8efb6983
added a test that would actually populate the entire database and then clear it out again... not sure if i want to keep it, but it's a good demostration of the tool working
diff --git a/test/end_to_end_integration_test.rb b/test/end_to_end_integration_test.rb new file mode 100644 index 0000000..fff82f7 --- /dev/null +++ b/test/end_to_end_integration_test.rb @@ -0,0 +1,35 @@ +require File.dirname(__FILE__) + "/test_helper" + +class EndToEndIntegrationTest < Test::Unit::TestCase + def setu...
caspian311/xsem-parser
0b72e7ffabf3474c3eeece5e60b78d1737134808
a small change in api
diff --git a/lib/asv_parser.rb b/lib/asv_parser.rb index 667e924..3347e6c 100644 --- a/lib/asv_parser.rb +++ b/lib/asv_parser.rb @@ -1,14 +1,14 @@ require 'rexml/document' class AsvParser attr_reader :books - def initialize - @stream_listener = AsvStreamListener.new + def initialize(stream_listener...
caspian311/xsem-parser
f793ccbd75b0d232f67232b1e8577f439140ca5a
don't need pools in this app
diff --git a/test/test_connection_info.rb b/test/test_connection_info.rb index 288f721..235fa76 100644 --- a/test/test_connection_info.rb +++ b/test/test_connection_info.rb @@ -1,10 +1,8 @@ require 'active_record' ActiveRecord::Base.establish_connection( :adapter => 'mysql', :database => 'bible_test',...
caspian311/xsem-parser
171cc429fa0ac0ba1178533af58ddd556f8bbf7b
got the importer working for all the models
diff --git a/lib/bible.rb b/lib/bible.rb index e3edf4f..dfe0257 100644 --- a/lib/bible.rb +++ b/lib/bible.rb @@ -1,3 +1,5 @@ +require 'active_record' + class Bible<ActiveRecord::Base has_many :books, :dependent => :destroy end diff --git a/lib/bible_model.rb b/lib/bible_model.rb new file mode 100644 index 000...
caspian311/xsem-parser
e380144172c65e1f2af8e4a0ef44ec164766440d
added the other active record models
diff --git a/lib/bible.rb b/lib/bible.rb new file mode 100644 index 0000000..e3edf4f --- /dev/null +++ b/lib/bible.rb @@ -0,0 +1,3 @@ +class Bible<ActiveRecord::Base + has_many :books, :dependent => :destroy +end diff --git a/lib/book.rb b/lib/book.rb index 024d6bc..10f4666 100644 --- a/lib/book.rb +++ b/lib/book.r...
caspian311/xsem-parser
aa4ca4d6ad2c621540abcc084c51311b0acf9319
moved some stuff around
diff --git a/test/db_importer_test.rb b/test/db_importer_test.rb index 6b63636..224b339 100644 --- a/test/db_importer_test.rb +++ b/test/db_importer_test.rb @@ -1,48 +1,44 @@ require File.dirname(__FILE__) + "/test_helper" -require 'test/unit' -require 'db_importer' -require 'connection_info' - class DbImporterTest...
caspian311/xsem-parser
ba325a5a4bebfeccba00dcf40667f8a1f638f6a2
added activerecord mapping for books
diff --git a/lib/book.rb b/lib/book.rb new file mode 100644 index 0000000..024d6bc --- /dev/null +++ b/lib/book.rb @@ -0,0 +1,4 @@ +require 'active_record' + +class Book < ActiveRecord::Base +end diff --git a/lib/connection_info.rb b/lib/connection_info.rb new file mode 100644 index 0000000..b982abb --- /dev/null +++ b...
caspian311/xsem-parser
3696313b6c2852422f28ef355b7c5fbf3a7bd199
renamed the book, chapter, verse classes to be models as activerecord's naming convention will have name conflicts
diff --git a/lib/asv_stream_listener.rb b/lib/asv_stream_listener.rb index a746a80..764b5ae 100644 --- a/lib/asv_stream_listener.rb +++ b/lib/asv_stream_listener.rb @@ -1,62 +1,62 @@ require 'rexml/streamlistener' -require "lib/book" -require "lib/chapter" -require "lib/verse" +require "lib/book_model" +require "lib...
caspian311/xsem-parser
5b1d2986c61cdc354ff717deaebeab9f0b1fc765
minor refactoring...
diff --git a/lib/asv_parser.rb b/lib/asv_parser.rb index 1294b95..667e924 100644 --- a/lib/asv_parser.rb +++ b/lib/asv_parser.rb @@ -1,12 +1,14 @@ require 'rexml/document' class AsvParser attr_reader :books - def initialize(file) - stream_listener = AsvStreamListener.new - REXML::Document.parse_s...
caspian311/xsem-parser
ddeb9673f69a2a9a73a823b2220c35c3728b68eb
made private methods private
diff --git a/lib/sql_builder.rb b/lib/sql_builder.rb index f18dcff..bf9c19d 100644 --- a/lib/sql_builder.rb +++ b/lib/sql_builder.rb @@ -1,25 +1,27 @@ # To change this template, choose Tools | Templates # and open the template in the editor. class SqlBuilder def initialize(books) @books = books end ...
caspian311/xsem-parser
de8d6a16c98e578832fda1689a48daaf18d49209
created a sql builder to create the sql that will be inserted into the db
diff --git a/lib/sql_builder.rb b/lib/sql_builder.rb new file mode 100644 index 0000000..f18dcff --- /dev/null +++ b/lib/sql_builder.rb @@ -0,0 +1,25 @@ +# To change this template, choose Tools | Templates +# and open the template in the editor. + +class SqlBuilder + def initialize(books) + @books = books + end + ...
caspian311/xsem-parser
d8779369bbdb23b059e2a1538c81b4a2d91f847a
minor changes to the includes
diff --git a/lib/asv_parser.rb b/lib/asv_parser.rb index e836b7b..1294b95 100644 --- a/lib/asv_parser.rb +++ b/lib/asv_parser.rb @@ -1,16 +1,12 @@ require 'rexml/document' -require "lib/book" - -include REXML - class AsvParser attr_reader :books def initialize(file) stream_listener = AsvStrea...
caspian311/xsem-parser
0780c013925930b3e3978d01fbdb148b1f16c7fb
pulled the stream listener out from the parser
diff --git a/lib/asv_parser.rb b/lib/asv_parser.rb index 12f6761..e836b7b 100644 --- a/lib/asv_parser.rb +++ b/lib/asv_parser.rb @@ -1,68 +1,16 @@ require 'rexml/document' -require 'rexml/streamlistener' require "lib/book" -require "lib/chapter" -require "lib/verse" include REXML class AsvParser - i...
caspian311/xsem-parser
c71c6b92430df8a7fadf287225aefcb71e910f6c
changed the api on the parser a bit
diff --git a/lib/asv_parser.rb b/lib/asv_parser.rb index 512f466..12f6761 100644 --- a/lib/asv_parser.rb +++ b/lib/asv_parser.rb @@ -1,80 +1,68 @@ require 'rexml/document' require 'rexml/streamlistener' require "lib/book" require "lib/chapter" require "lib/verse" include REXML class AsvParser i...
caspian311/xsem-parser
2f00ab154c3c3f773682bab58eff2e77c115f0f6
stupid require crap
diff --git a/test/test_helper.rb b/test/test_helper.rb index c6fd3ea..6050467 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,8 +1,5 @@ -#$:.unshift File.join(File.dirname(__FILE__),'..','lib') +$:.unshift File.join(File.dirname(__FILE__),'..','lib') -require "lib/book" -require "lib/chapter" -requir...
caspian311/xsem-parser
d6e4395871a88092829829ed3da3e27322be3228
renamed test helper
diff --git a/test/asv_parser_test.rb b/test/asv_parser_test.rb index 7b6b468..4d4552b 100644 --- a/test/asv_parser_test.rb +++ b/test/asv_parser_test.rb @@ -1,32 +1,32 @@ -require File.dirname(__FILE__) + "/testhelper" +require File.dirname(__FILE__) + "/test_helper" require "rexml/document" class AsvParserTest <...
caspian311/xsem-parser
0bb75a759c8b81c4ec88361a1b870d8374340fbb
still messing with the stupid require
diff --git a/test/asv_parser_test.rb b/test/asv_parser_test.rb index 6e0d548..7b6b468 100644 --- a/test/asv_parser_test.rb +++ b/test/asv_parser_test.rb @@ -1,35 +1,32 @@ -$:.unshift File.join(File.dirname(__FILE__),'..','lib') +require File.dirname(__FILE__) + "/testhelper" require "rexml/document" -require "test/u...
caspian311/xsem-parser
c8346f25b590eba1ffd21c08bc441747ff83a0b4
still trying to fix this stupid require hack crap
diff --git a/lib/stream_parser.rb b/lib/asv_parser.rb similarity index 94% rename from lib/stream_parser.rb rename to lib/asv_parser.rb index 246d108..512f466 100644 --- a/lib/stream_parser.rb +++ b/lib/asv_parser.rb @@ -1,80 +1,80 @@ require 'rexml/document' require 'rexml/streamlistener' require "lib/book" ...
caspian311/xsem-parser
9f60345705e7d8ddd50829d68cde0504809e2df3
removed the original dom parser
diff --git a/lib/parser.rb b/lib/parser.rb deleted file mode 100644 index 1651681..0000000 --- a/lib/parser.rb +++ /dev/null @@ -1,48 +0,0 @@ -require 'rexml/document' -require 'book' -require 'chapter' -require 'verse' - -class Parser - attr_reader :books - - def initialize - @books = [] - end - - def parse_file(file...
caspian311/xsem-parser
bd4a502cd40032a0e3b20d236e25947f54f333a9
retro-fitted the app with some tests now that i know how to use test/unit
diff --git a/test/unit/book_test.rb b/test/unit/book_test.rb new file mode 100644 index 0000000..96604d2 --- /dev/null +++ b/test/unit/book_test.rb @@ -0,0 +1,26 @@ +require "test/unit" +require "app/book" +require "app/chapter" + +class BookTest < Test::Unit::TestCase + def test_book_title_is_set + b = Book....
caspian311/xsem-parser
6993b504dd1944b674186a86d9bed12f0d0e4d9e
added .project and .loadpath to the gitignore
diff --git a/.gitignore b/.gitignore index 1377554..ff2a237 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.swp +.loadpath +.project
caspian311/xsem-parser
28942dfc7c8a48b2a793ae58046e179745fded9e
added print to the run
diff --git a/run.rb b/run.rb index 97835df..b703062 100644 --- a/run.rb +++ b/run.rb @@ -1,7 +1,8 @@ require 'REXML/document' require 'app/stream_parser' include REXML parser = StreamParser.new Document.parse_stream(File.open('data/asv-xsem.xml'), parser) +parser.print \ No newline at end of file
caspian311/xsem-parser
25dc103e67895c082e5df87de3b893ef4f0db412
fixed the run guy to use the right parser and data file
diff --git a/run.rb b/run.rb index e8878ae..97835df 100644 --- a/run.rb +++ b/run.rb @@ -1,5 +1,7 @@ -require './app/parser' +require 'REXML/document' +require 'app/stream_parser' -parser = Parser.new -parser.parse_file("data/asv-xsem.xml") -parser.print_all +include REXML + +parser = StreamParser.new +Docu...
caspian311/xsem-parser
dd0c6c4fc8aaba3dda9499472a807723bb754e6a
moved the files into different directories and added a rake file
diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..a43b455 --- /dev/null +++ b/Rakefile @@ -0,0 +1,14 @@ +require 'rake' +require 'rake/testtask' +require 'rake/packagetask' +require 'find' + +desc 'Default: run unit tests.' +task :default => :test + +desc 'Test ASV Parser' +Rake::TestTask.new(:test...
caspian311/xsem-parser
4f8827e55dbde4545d1cf5a8cd735f239d42331a
using a stream parser instead of a dom parser because of the nastiness of the available formats
diff --git a/stream_parser.rb b/stream_parser.rb new file mode 100644 index 0000000..b07c890 --- /dev/null +++ b/stream_parser.rb @@ -0,0 +1,84 @@ +require 'rexml/document' +require 'rexml/streamlistener' +require 'book' +require 'chapter' +require 'verse' + +include REXML + +class StreamParser + include Strea...
caspian311/xsem-parser
b156bf38ae5ea531ac03707d94134cb2541e92ca
moved the data file to a data directory
diff --git a/asv-usfx.xml b/data/asv-usfx.xml similarity index 100% rename from asv-usfx.xml rename to data/asv-usfx.xml diff --git a/run.rb b/run.rb index 2cad029..63c3219 100644 --- a/run.rb +++ b/run.rb @@ -1,5 +1,5 @@ -require 'parse' +require 'parser' parser = Parser.new -parser.parse_file("asv-usfx.xml") ...
caspian311/xsem-parser
db145e9f47277496c77b9926d365c6daf50bfbab
created book, chapter, verse classses to hold the data
diff --git a/book.rb b/book.rb new file mode 100644 index 0000000..559a26c --- /dev/null +++ b/book.rb @@ -0,0 +1,16 @@ + + +class Book + attr_reader :title + attr_reader :chapters + + def initialize(title) + @title = title + @chapters = [] + end + + def add_chapter(chapter) + @chapters += [chapter] + e...
caspian311/xsem-parser
bf60e7d3001fc88d3051456a228bb24bab718f2e
added .gitignore file to ignore swap files left over from vi sessions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.swp
caspian311/xsem-parser
fac32f5d2d6bf8a000d8c9513469a486e9046a7b
initial import - added readme describing the project
diff --git a/README b/README new file mode 100644 index 0000000..39ffd9c --- /dev/null +++ b/README @@ -0,0 +1 @@ +this is a parser for the asb bible text available at http://ebible.org/asv
wintersa/Powershell-Exchange-CC
84a8e512bfd6efd6f8ea4df9b32933d1c7c39628
Empty directory
diff --git a/tmp/.gitignore b/tmp/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/tmp/.gitignore @@ -0,0 +1 @@ +*
wintersa/Powershell-Exchange-CC
44fcccb966015797af79f7204968faa97531c6e4
Changelog
diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29
candersonmiller/spatial-media-itp
6ed0e75062705cd0e574875ee204630710bd2ebb
adding pixel color assignment
diff --git a/pixelColor/build/openFrameworks.build/Debug/openFrameworks.build/Objects-normal/i386/main.o b/pixelColor/build/openFrameworks.build/Debug/openFrameworks.build/Objects-normal/i386/main.o new file mode 100644 index 0000000..81f01de Binary files /dev/null and b/pixelColor/build/openFrameworks.build/Debug/open...
davedash/International-Dialing-Codes
68174a2e09117752aa7791315f79767241f22ed3
Removed +39 for Vatican city as they either use +379 or fall under Italy's +39
diff --git a/codes.txt b/codes.txt index 50f884e..8bdef15 100644 --- a/codes.txt +++ b/codes.txt @@ -1,230 +1,229 @@ 93 Afghanistan 355 Albania 213 Algeria 1 American Samoa 376 Andorra 244 Angola 1 Anguilla 1 Antigua and Barbuda 54 Argentine Republic 374 Armenia 297 Aruba 247 Ascension 61 Australia 672 Au...
auduny/statpipe
b7181f9d09460782eedc8134f1c7c8febf1fda0c
Fixed some error messages
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff1a9a --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.vscode +.perlcriticrc +.vstags +*.tdy diff --git a/statpipe b/statpipe index 43d374f..9579752 100755 --- a/statpipe +++ b/statpipe @@ -1,472 +1,474 @@ #!/usr/bin/perl # Copyright Audun Ytt...
auduny/statpipe
b4f2c780dee4da003b3b33770ca0ba5a98d8b5be
Added highest numberic value
diff --git a/statpipe b/statpipe index dd31811..43d374f 100755 --- a/statpipe +++ b/statpipe @@ -1,465 +1,472 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. my $version='1.0'; use Getopt::Long; #use gnu version of options Getopt::Long::Configure('gnu_getopt')...
auduny/statpipe
33edb097d84a9245228aa09df351706e394ffb3e
Added support for groups
diff --git a/statpipe b/statpipe index 2f8aa4c..dd31811 100755 --- a/statpipe +++ b/statpipe @@ -1,428 +1,465 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. -=head1 NAME - -statpipe - swiss knife statistics - -=head1 DESCRIPTION - -statpipe is a excellent little ...
auduny/statpipe
7e442bcef9060317030a3f44ed3ffca7876142f4
Get counting of keys correct
diff --git a/examples.md b/examples.md index 63a49cd..e7d8a25 100644 --- a/examples.md +++ b/examples.md @@ -1,22 +1,22 @@ # EXAMPLES - #Show top 30 visited urls. Update it every 5 seconds for 60 seconds (default) + # Show top 30 visited urls. Update it every 5 seconds for 60 seconds (default) $ cat testf...
auduny/statpipe
84124edaa76fbf7dec00586385362b115e8eac39
Adding helpfile for title
diff --git a/statpipe b/statpipe index bbd1bdc..3dd1553 100755 --- a/statpipe +++ b/statpipe @@ -1,422 +1,427 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
6cacb6f6a4028556c2ffbf778651637ff4e89f77
Add another TODO for ranges
diff --git a/statpipe b/statpipe index 53d8133..bbd1bdc 100755 --- a/statpipe +++ b/statpipe @@ -1,421 +1,422 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
1b59a481a83b4106084b96b6f252ede85a031e9e
Added some info to TODO
diff --git a/statpipe b/statpipe index bf2ec2f..53d8133 100755 --- a/statpipe +++ b/statpipe @@ -1,421 +1,421 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
b2fb31726462629a7526ced85a45329d1bf871ce
Clean up examples and logfaker
diff --git a/README.md b/README.md index f54f8f1..b3d9fb8 100644 --- a/README.md +++ b/README.md @@ -1,79 +1,79 @@ # Statpipe # NAME statpipe - swiss knife statistics # DESCRIPTION statpipe is a excellent little tool to analyse logfiles, or any file for that matter, and produce percentage of hits, hits pe...
auduny/statpipe
ac0542d90fc5dde4b3f5b37f9ea4efb5a2a1fbbd
Added some todos
diff --git a/statpipe b/statpipe index 2511511..5272ec9 100755 --- a/statpipe +++ b/statpipe @@ -1,418 +1,420 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
a6d4ef626632e24ba3ae21f53db22cba9f7fdaea
removed seeming stray semicolon, which caused an error (on osx)
diff --git a/statpipe b/statpipe index 39892e1..2511511 100755 --- a/statpipe +++ b/statpipe @@ -1,418 +1,418 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
0b8c2dc244b1310c4ad76f0da946a511c84a4fc4
Comment clean up
diff --git a/statpipe b/statpipe index 6fe6121..39892e1 100755 --- a/statpipe +++ b/statpipe @@ -1,418 +1,418 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
0c1edaf644b27dc0baadf85121f61d56066d9161
Adding examplefile
diff --git a/examples.md b/examples.md new file mode 100644 index 0000000..9683a86 --- /dev/null +++ b/examples.md @@ -0,0 +1,22 @@ +# EXAMPLES + + #Show top 30 visited urls. Update it every 5 seconds for 60 seconds (default) + $ cat testfiles/access.log | statpipe -f 7 + + # Most active ip's that are not 10.8...
auduny/statpipe
0aaa767e04ddbb1f23c37dfef9356056d5c547aa
Fixed divide by zero and some indenting
diff --git a/statpipe b/statpipe index 4861958..6fe6121 100755 --- a/statpipe +++ b/statpipe @@ -1,418 +1,418 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
e7a917e1f6189e2d71d028a430b94e305182d5bf
Die on wrong options
diff --git a/statpipe b/statpipe index 5e9009d..4861958 100755 --- a/statpipe +++ b/statpipe @@ -1,416 +1,418 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
7afea3a113a6b24e38c830f87a12355d2ffe455e
Fixed some Docs
diff --git a/statpipe b/statpipe index be3f52b..5e9009d 100755 --- a/statpipe +++ b/statpipe @@ -1,416 +1,416 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
7faeecda87f0ce4eefe25168749f60ba1cbd8a8d
Added gnu_compat which enable -d\" and -f2
diff --git a/statpipe b/statpipe index 9b67c42..be3f52b 100755 --- a/statpipe +++ b/statpipe @@ -1,415 +1,416 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
0540cfa290ff2ff187736f2860a617d6e0e331d7
Added optional title
diff --git a/statpipe b/statpipe index 75bf102..58d1cc2 100755 --- a/statpipe +++ b/statpipe @@ -1,410 +1,414 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
ee98283c6c81a0f99132aeb12853b23c20ddae68
syntatic sugar
diff --git a/statpipe b/statpipe index 3515530..1e26e15 100755 --- a/statpipe +++ b/statpipe @@ -1,411 +1,411 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
dfa9632f561b3aa3a6b17c2e70be8ba493a63a22
Wrong hash
diff --git a/statpipe b/statpipe index ce848ce..3515530 100755 --- a/statpipe +++ b/statpipe @@ -1,411 +1,411 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
834e55dcaef6ec2e06ac1c99d999eb51ff5d7c3d
Added number of keys to total
diff --git a/statpipe b/statpipe index ddf2afe..ce848ce 100755 --- a/statpipe +++ b/statpipe @@ -1,411 +1,411 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
18377d22a8b9785ba9afb40433548dd2fc8fb438
Change timings in logfaker
diff --git a/logfaker.pl b/logfaker.pl index 7f1c24a..e841ff1 100755 --- a/logfaker.pl +++ b/logfaker.pl @@ -1,30 +1,29 @@ #!/usr/bin/perl use strict; use Getopt::Long; use Time::HiRes qw( time usleep); my $opt_bulk=1; -my $opt_wait=1; +my $opt_wait=0.0006; my $opt_unbuffered=1; # Unbuffered output $| = 1; ...
auduny/statpipe
2637cd3afaea675d5335130a9deb70e4d592d931
Remove garbage title "fisk"
diff --git a/README.md b/README.md index b0ab748..f54f8f1 100644 --- a/README.md +++ b/README.md @@ -1,82 +1,79 @@ # Statpipe -#fisk - -<some nice video here> # NAME statpipe - swiss knife statistics # DESCRIPTION statpipe is a excellent little tool to analyse logfiles, or any file for that matter, and pr...
auduny/statpipe
df67bbf0913a9a8211b70c0dd74a754a487507aa
Adding a hackis logfaker
diff --git a/logfaker.pl b/logfaker.pl new file mode 100755 index 0000000..7f1c24a --- /dev/null +++ b/logfaker.pl @@ -0,0 +1,30 @@ +#!/usr/bin/perl + +use strict; +use Getopt::Long; +use Time::HiRes qw( time usleep); + +my $opt_bulk=1; +my $opt_wait=1; +my $opt_unbuffered=1; +# Unbuffered output +$| = 1; + + +my $resu...
auduny/statpipe
c71288f148af22d426ac5e9d9d87e83782d74e29
More sane defaults
diff --git a/README.md b/README.md index 829adca..b0ab748 100644 --- a/README.md +++ b/README.md @@ -1,81 +1,82 @@ # Statpipe +#fisk <some nice video here> # NAME statpipe - swiss knife statistics # DESCRIPTION statpipe is a excellent little tool to analyse logfiles, or any file for that matter, and pr...
auduny/statpipe
d34a9531eacce44b9b3ba3b9fb6c169f7fb75ebd
Adding TODO: Reverse list
diff --git a/statpipe b/statpipe index b8443c1..7b50792 100755 --- a/statpipe +++ b/statpipe @@ -1,409 +1,410 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
7ae7bb7bbab4126182170379962d20826b92c2a9
lowercase
diff --git a/README.md b/README.md index 761e638..829adca 100644 --- a/README.md +++ b/README.md @@ -1,75 +1,81 @@ # Statpipe <some nice video here> # NAME statpipe - swiss knife statistics # DESCRIPTION statpipe is a excellent little tool to analyse logfiles, or any file for that matter, and produce p...
auduny/statpipe
eb49e001d43750f642b7817f77dce6be96d8e9e0
Fixed README again
diff --git a/README.md b/README.md index 4282e40..761e638 100644 --- a/README.md +++ b/README.md @@ -1,75 +1,75 @@ # Statpipe <some nice video here> # NAME statpipe - swiss knife statistics # DESCRIPTION statpipe is a excellent little tool to analyse logfiles, or any file for that matter, and produce p...
auduny/statpipe
7cb80f04a8d32676c27a74cef09792c4ac13e9bb
Pod yeh
diff --git a/README.md b/README.md index 6f6f643..4282e40 100644 --- a/README.md +++ b/README.md @@ -1,73 +1,75 @@ # Statpipe <some nice video here> # NAME statpipe - swiss knife statistics # DESCRIPTION statpipe is a excellent little tool to analyse logfiles, or any file for that matter, and produce p...
auduny/statpipe
502e00bc823f78b658f8a3b95bdcdabceb1781c6
Fix README
diff --git a/README.md b/README.md index beac902..6f6f643 100644 --- a/README.md +++ b/README.md @@ -1,78 +1,73 @@ -# Statpipe. The one and only cooltool - -I like my tool +# Statpipe +<some nice video here> # NAME statpipe - swiss knife statistics +# DESCRIPTION + +statpipe is a excellent little tool to anal...
auduny/statpipe
1485c3d4dc492b6ce1c2791ac3d59fdd870fadad
More documentation
diff --git a/statpipe b/statpipe index 885aede..ba16e67 100755 --- a/statpipe +++ b/statpipe @@ -1,403 +1,408 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =head1 DESCRIPTION statpipe is a excellent little ...
auduny/statpipe
73244b91f19454483e9555a081be13a656c96149
More documentation
diff --git a/README.md b/README.md index 9f251ce..beac902 100644 --- a/README.md +++ b/README.md @@ -1,74 +1,78 @@ # Statpipe. The one and only cooltool I like my tool # NAME statpipe - swiss knife statistics # SYNOPSIS tail -f some.log | statpipe \[options\] \[regex\] ... \[regex\] Options: ...
auduny/statpipe
5b4c42c8fb9e43205391671e13723aed724bf4d5
Added a prefile
diff --git a/README.md b/README.md index 41075c6..9f251ce 100644 --- a/README.md +++ b/README.md @@ -1,60 +1,74 @@ +# Statpipe. The one and only cooltool + +I like my tool + + # NAME statpipe - swiss knife statistics # SYNOPSIS tail -f some.log | statpipe \[options\] \[regex\] ... \[regex\] Options: ...
auduny/statpipe
a5ba618457a97d2eb0c9166c4db38eda391e4ca6
Adding more docs + tidying up total and rest
diff --git a/statpipe b/statpipe index a81df15..ca54efa 100755 --- a/statpipe +++ b/statpipe @@ -1,379 +1,406 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; - use...
auduny/statpipe
c158dd93f52e9aad5eab4d986a219320a2c367f1
Added support for multiline matches
diff --git a/statpipe b/statpipe index 94846c4..a81df15 100755 --- a/statpipe +++ b/statpipe @@ -1,336 +1,379 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Getopt::Long; #use...
auduny/statpipe
505f2b1e0bdd2b49ba6d1b36f45abcea3e2f8ff0
Make -f field go first so we can use regexp based on that.
diff --git a/statpipe b/statpipe index 016b99c..94846c4 100755 --- a/statpipe +++ b/statpipe @@ -1,337 +1,336 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Getopt::Long; #use...
auduny/statpipe
d1cbaa418d205d335c807dc60e5a5ba0c4152d44
Fix division by zero
diff --git a/statpipe b/statpipe index 1f5569f..016b99c 100755 --- a/statpipe +++ b/statpipe @@ -1,332 +1,337 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Getopt::Long; #use...
auduny/statpipe
27607113323613fed0685374d8c7b8ec8b10767e
More small fixes to logic
diff --git a/statpipe b/statpipe index e1c3e29..1f5569f 100755 --- a/statpipe +++ b/statpipe @@ -1,330 +1,332 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Getopt::Long; #use...
auduny/statpipe
95196d35acd5df9a9437708504c782c69ac90444
Change default keysize and fixed limited string
diff --git a/statpipe b/statpipe index 6ca07b2..e1c3e29 100755 --- a/statpipe +++ b/statpipe @@ -1,330 +1,330 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Getopt::Long; #use...
auduny/statpipe
94c41882de53400eba3b87845c5fbd344912ee45
Default for relative
diff --git a/statpipe b/statpipe index 169b441..6ca07b2 100755 --- a/statpipe +++ b/statpipe @@ -1,330 +1,330 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Getopt::Long; #use...
auduny/statpipe
81ea5b85340c242f59dc7865e1d9d1eba5785168
Added support for changing keysize and using relative percentages.
diff --git a/README.md b/README.md index 5684a46..a42eb3e 100644 --- a/README.md +++ b/README.md @@ -1,50 +1,51 @@ # NAME statpipe - swiss knife statistics # SYNOPSIS tail -f some.log | statpipe \[options\] \[regex\] ... \[regex\] Options: --timefreq|-t Frequency of output in seconds (5) ...
auduny/statpipe
9af1ad7b6c0be67e69d48dcb8e2a9e7ab87ba34b
Added # to shebang.
diff --git a/statpipe b/statpipe index 37f7141..c797a72 100755 --- a/statpipe +++ b/statpipe @@ -1,319 +1,319 @@ -!/usr/bin/perl +#!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. =head1 NAME statpipe - swiss knife statistics =cut my $version="1.0"; use Get...
auduny/statpipe
0457dad57d5f086dd6d2d6c4daf77ee29aa43c1d
Changing name to statpipe
diff --git a/README.md b/README.md index fb79533..5684a46 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,50 @@ # NAME -Pipestat - swiss knife statistics +statpipe - swiss knife statistics # SYNOPSIS -tail -f some.log | pipestat \[options\] \[regex\] ... \[regex\] +tail -f some.log | statpipe \[options\] \...
auduny/statpipe
35391f5cfb3b9d9e65d20b74f16d95806821cf43
More examples
diff --git a/README.md b/README.md index 5647c4c..44d023e 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,44 @@ # NAME Pipestat - swiss knife statistics # SYNOPSIS tail -f some.log | pipestat \[options\] \[regex\] ... \[regex\] Options: --timefreq|-t Frequency of output in seconds (5) ...
auduny/statpipe
a9e7bb8142f115ebcde57da70d13480feacefc05
I'm not really friends with markdown
diff --git a/README.md b/README.md index c325092..5647c4c 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,44 @@ # NAME Pipestat - swiss knife statistics # SYNOPSIS tail -f some.log | pipestat \[options\] \[regex\] ... \[regex\] Options: --timefreq|-t Frequency of output in seconds (5) ...
auduny/statpipe
bad2c6ae122c5fcc349e0d6138a471747d04398c
Documentation to markdown
diff --git a/README.md b/README.md index bf9ee6f..c325092 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,44 @@ # NAME Pipestat - swiss knife statistics # SYNOPSIS tail -f some.log | pipestat \[options\] \[regex\] ... \[regex\] Options: --timefreq|-t Frequency of output in seconds (5) ...
auduny/statpipe
6d44003b45d48cd963b83496eac5b9f25530b270
More documentation
diff --git a/pipestat b/pipestat index b101fc6..7c6b82e 100755 --- a/pipestat +++ b/pipestat @@ -1,311 +1,314 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. # TODO: Merge ($1) ($2) etc. # TODO: Switch to caculate percentage of hits instead of total =head1 NAME...
auduny/statpipe
90a30ea1ffa6b41f350980c670ba3f7fad02167a
Fixed README
diff --git a/README.md b/README.md index 846c763..bf9ee6f 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,41 @@ # NAME Pipestat - swiss knife statistics # SYNOPSIS tail -f some.log | pipestat \[options\] \[regex\] ... \[regex\] Options: --timefreq|-t Frequency of output in seconds (5) ...
auduny/statpipe
412a527705cd7683920beeeb878a55047da11263
CleanuCleanupp
diff --git a/pipestat b/pipestat index 311d66b..b101fc6 100755 --- a/pipestat +++ b/pipestat @@ -1,313 +1,311 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. # TODO: Merge ($1) ($2) etc. # TODO: Switch to caculate percentage of hits instead of total =head1 NAME...
auduny/statpipe
eac05d54a80f7dc08b7806aac9da2a2985a92f62
More markdown
diff --git a/pipestat b/pipestat index 99c1d1b..311d66b 100755 --- a/pipestat +++ b/pipestat @@ -1,313 +1,313 @@ #!/usr/bin/perl # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. # TODO: Merge ($1) ($2) etc. # TODO: Switch to caculate percentage of hits instead of total =head1 NAME...
auduny/statpipe
dd66c0a264b0e64a0c27310566f846262f8cae0e
more markdown
diff --git a/README.md b/README.md index c2f9e47..846c763 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,39 @@ # NAME -Pipestat - swiss knife statistics, command line splunk alternative +Pipestat - swiss knife statistics # SYNOPSIS -<datastream> | pipestat \[options\] \[regex\] ... \[regex\] +tail -f some.l...
auduny/statpipe
13251170545715b5bc0978c397fc0983a514e769
Cleanup and add markdown
diff --git a/README b/README deleted file mode 100644 index 531a3e2..0000000 --- a/README +++ /dev/null @@ -1 +0,0 @@ -Tool to be do statistics on pipes from tails of logs and stuff diff --git a/README.md b/README.md new file mode 100644 index 0000000..c2f9e47 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# NAME + +P...
auduny/statpipe
9de3a546f58cf7f1b02366aff0aea5c99ee0caac
POD Documentation
diff --git a/pipestat b/pipestat index 7fea39d..5b501ea 100755 --- a/pipestat +++ b/pipestat @@ -1,276 +1,285 @@ #!/usr/bin/perl -# Pipestat, A nice tool to get statistics from any text in a pipe # Copyright Audun Ytterdal <audun@ytterdal.net> # Licenced under GPL Version 2. - -# TODO: field 4-5 4,6 etc # TODO: Mer...