repo string | commit string | message string | diff string |
|---|---|---|---|
padhi/golf | 528b75bfbd612afccdc0952ca7ac73a717e35014 | Added bt Ayuta | diff --git a/README b/README
index 93efe29..0c35780 100644
--- a/README
+++ b/README
@@ -1,259 +1,261 @@
+This is added by ayuta
+
== Welcome to Rails
Rails is a web-application framework that includes everything needed to create
database-backed web applications according to the Model-View-Control pattern.
Th... |
padhi/golf | a30e553c28212a806f03e9833d4ab22643dfffcc | added Hani as collaborator | diff --git a/README b/README
index 2af0fb1..93efe29 100644
--- a/README
+++ b/README
@@ -1,256 +1,259 @@
== Welcome to Rails
Rails is a web-application framework that includes everything needed to create
database-backed web applications according to the Model-View-Control pattern.
This pattern splits the view... |
padhi/golf | a7424295e5a0af95fb2bf513209ab63a014a286b | started db and removed index.html | diff --git a/db/development.sqlite3 b/db/development.sqlite3
new file mode 100644
index 0000000..8fc7137
Binary files /dev/null and b/db/development.sqlite3 differ
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 0000000..62e21f5
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,21 @@
+# This file is auto-... |
padhi/golf | 3737bba903c99c97f6dd1131d05931b42d5f8d3f | script/generate rspec_scaffold golfer... | diff --git a/app/controllers/golfers_controller.rb b/app/controllers/golfers_controller.rb
new file mode 100644
index 0000000..3d00a1a
--- /dev/null
+++ b/app/controllers/golfers_controller.rb
@@ -0,0 +1,85 @@
+class GolfersController < ApplicationController
+ # GET /golfers
+ # GET /golfers.xml
+ def index
+ @go... |
padhi/golf | fdae070101788390c97cbdbba6ec0187decf84bb | added haml | diff --git a/vendor/plugins/haml/init.rb b/vendor/plugins/haml/init.rb
new file mode 100644
index 0000000..c704100
--- /dev/null
+++ b/vendor/plugins/haml/init.rb
@@ -0,0 +1,8 @@
+require 'rubygems'
+begin
+ require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
+rescue LoadError
+ require 'haml' # From... |
hariseldon78/hariseldon78.github.com | 4e6ee600f32ee37dbac3ff34ddc4192fe136d3be | added index | diff --git a/index.html b/index.html
new file mode 100644
index 0000000..6b5db06
--- /dev/null
+++ b/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>hariseldon78_github_page</title>
+<meta name="generator" content="Bluefish ... |
unlight/DtCss | bcd03121897df97b4bc3b1f0f3e38a1a4962e3b2 | emptycache script | diff --git a/.gitignore b/.gitignore
index e08ea61..6d73517 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
http://github.com/search?q=DtCss&type=Repositories
-emptycache.php
cmd.lnk
__*
\ No newline at end of file
diff --git a/emptycache.php b/emptycache.php
new file mode 100644
index 0000000..067c35c
-... |
unlight/DtCss | 57f616ea372a5ee713f03f926b1295980aff5d95 | Disabled auto clean cache, icon, .gitignore updated | diff --git a/.gitignore b/.gitignore
index 04bbaf4..e08ea61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-log.php
http://github.com/search?q=DtCss&type=Repositories
emptycache.php
-cmd.lnk
\ No newline at end of file
+cmd.lnk
+__*
\ No newline at end of file
diff --git a/dtcss.plugin.php b/dtcss.plugi... |
unlight/DtCss | 2f4352067524b86e0c0737732b703df79cb56077 | Now result css file starting with dot, added some demo | diff --git a/css/demo.dt.css b/css/demo.dt.css
index 0e88e36..dceed26 100644
--- a/css/demo.dt.css
+++ b/css/demo.dt.css
@@ -1,39 +1,57 @@
#define TEXT_COLOR red
#define LINK_COLOR blue
+#define BodyWidth 97
+#define PanelWidth 20
+
+#PanelB { width: <# PanelWidth #>%; }
+#ContentB { width: <# (BodyWidth - PanelWid... |
unlight/DtCss | 86be676d4d2114f05768362718a202c9b0d1dc51 | Changed clear cache to 20 days interval | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index 50bfc0f..e907cd7 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,126 +1,126 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
- 'Version' => '1.2.3'... |
unlight/DtCss | 87a747bba9e0798613edab83124090d2f4fd29f1 | Added cron job: remove cached files | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index 7c85358..50bfc0f 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,133 +1,126 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.2.3'... |
unlight/DtCss | f10923fc1e3914e378b02cc5daa2903b367ea268 | Removed SaveLog() Dashboard_Handler() method. Now cached files removes only when enabled/disabling plugin. | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index a5d0ae1..7c85358 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,164 +1,133 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.2.3'... |
unlight/DtCss | 224a9213230f2f40e677580ee6e11f3c31c015d8 | Fixed removing cached files for plugins | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index e181f30..a5d0ae1 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,165 +1,164 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.2.3'... |
unlight/DtCss | a457d5ee62a95eb08ddb9fcc1bf7dffc141b9865 | Fixed incorrect function name | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index d80702b..596ff95 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,165 +1,165 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.2.2'... |
unlight/DtCss | 094e92ebddea85eb89116b47de43567c693d3460 | Fixed _EmptyCache() | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..04bbaf4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+log.php
+http://github.com/search?q=DtCss&type=Repositories
+emptycache.php
+cmd.lnk
\ No newline at end of file
diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index 36a094f..3a2ea8f 100... |
unlight/DtCss | f0c43e2fa6ee0fc86ff2e11f6a80534d64520923 | v. 1.2.1 | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index 515eb2f..36a094f 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,164 +1,164 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
- 'Version' => '1.2',
... |
unlight/DtCss | 928490e398be15b9aec74f2aa05cdf0800be6b40 | zero-padding for string length < 6 | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index eed1d75..515eb2f 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,164 +1,164 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.2',
... |
unlight/DtCss | 55316b8c0f45264b4e72014c2659e0acbfd25e6c | New Version. Delete all cached files when enabling/disabling plugin. | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index 6a71e80..eed1d75 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,142 +1,164 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
- 'Version' => '1.1',
... |
unlight/DtCss | 72951c14dadc602d5abf4da8cad4ff79ae351ba7 | Auto cleanup cached files | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index bbf3bfa..6a71e80 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,136 +1,142 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.1',
... |
unlight/DtCss | e7392db94817b60b533569d92524b55db4b74cc8 | Log for future empty cache. | diff --git a/dtcss.plugin.php b/dtcss.plugin.php
index 5079ac8..bbf3bfa 100644
--- a/dtcss.plugin.php
+++ b/dtcss.plugin.php
@@ -1,109 +1,136 @@
<?php if (!defined('APPLICATION')) die();
$PluginInfo['DtCss'] = array(
'Name' => 'DtCss',
'Description' => 'Adapts DtCSS to work with Garden.',
'Version' => '1.1',
... |
unlight/DtCss | e55b7f0ea58095e43a15ea2b3cb6931c8a650ff5 | Real first commit | diff --git a/DtCSS-R27f/DtCSS__colorlist.txt b/DtCSS-R27f/DtCSS__colorlist.txt
new file mode 100644
index 0000000..f51e6ae
--- /dev/null
+++ b/DtCSS-R27f/DtCSS__colorlist.txt
@@ -0,0 +1,142 @@
+# The data above is from http://en.wikipedia.org/wiki/X11_color_names
+AliceBlue 240 248 255
+AntiqueWhite 250 235 215
+Aq... |
signup-disabled/small | 880fd34d55e993e5923cde787e69388c1abb5557 | THE TURKS DID IT (take 3) | diff --git a/README.mkdn b/README.mkdn
index b246747..ff28e37 100644
--- a/README.mkdn
+++ b/README.mkdn
@@ -1,10 +1,10 @@
THE TURKS DID IT!
=================
No, really. They did. I lie not!
Anyway, this is bugged. You can probably reach the ACTUAL signup page here:
-<http://github.com/signup/free/tree>
+<ht... |
signup-disabled/small | 19cae62b6c7e060b17f22e339deedcfd6c762612 | OMG TURKS (take 2) | diff --git a/README.mkdn b/README.mkdn
index 7cefea3..b246747 100644
--- a/README.mkdn
+++ b/README.mkdn
@@ -1,4 +1,10 @@
THE TURKS DID IT!
=================
-No, really. They did. I lie not!
\ No newline at end of file
+No, really. They did. I lie not!
+
+Anyway, this is bugged. You can probably reach the ACTUAL s... |
signup-disabled/small | 22793117b4ddf510393e3f722e8f226504b0fc65 | OMG TURKS | diff --git a/README.mkdn b/README.mkdn
new file mode 100644
index 0000000..7cefea3
--- /dev/null
+++ b/README.mkdn
@@ -0,0 +1,4 @@
+THE TURKS DID IT!
+=================
+
+No, really. They did. I lie not!
\ No newline at end of file
|
abchernin/Scribd_net-Practice | cf5ff6c58a152a715432e8bcbf436cc5621d1bf5 | Basic README added. | diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..afb9774
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,3 @@
+This is a simple program I design while learning to work with Scribd API through Scribd.Net library by, well, poking it with a stick.
+
+Scribd.Net library reference is required in order f... |
robn/MooseX-ProtectedAttribute | 73409ff5fb458c741418b1961a4d161da4019651 | use isa to avoid wrapped methods when finding the caller | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 33d2852..e5025ea 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,99 +1,99 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | 3b50f88b601a005531a277d33f7b9bb419839d1c | use blessed instead of ref | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 778833c..33d2852 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,99 +1,99 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | d9a25a642c2072e2c32b5c92fab4e2d275e76242 | use Moose::Util::meta_attribute_alias to register the trait | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 20b9b04..778833c 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,100 +1,99 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose... |
robn/MooseX-ProtectedAttribute | 353f7bd79f5bfd55bd851485fd46ccefd51a4fe6 | documentation stubs | diff --git a/lib/MooseX/ProtectedAttribute.pm b/lib/MooseX/ProtectedAttribute.pm
index 527d1c6..c054b75 100644
--- a/lib/MooseX/ProtectedAttribute.pm
+++ b/lib/MooseX/ProtectedAttribute.pm
@@ -1,38 +1,101 @@
package MooseX::ProtectedAttribute;
use strict;
use warnings;
use Moose ();
use Moose::Exporter ();
... |
robn/MooseX-ProtectedAttribute | ee3ee90a9e4e9a49cbdb8b6b5c9e41fcc1327bd4 | try to walk up the caller tree to figure out if access is allowed, probably wrong | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index efa38a6..20b9b04 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,92 +1,100 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose... |
robn/MooseX-ProtectedAttribute | 4824eabb42e19ba110c36e014c25580d111156fb | seperate protection settings for each method | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 50c5c1b..efa38a6 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,74 +1,92 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | d7a259178bb7ed37a252ff58aa35cb6040919d88 | remove debug | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 09051f9..50c5c1b 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,77 +1,74 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | 3f25b7370cac7ceb022b4ab19ffa4f5fab664f8a | first implementation, works for privates at least! | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 6773d42..09051f9 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,46 +1,77 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | 9cb4846f77031d47b82a4f31d2f12505258cf13f | _process_accessors wrapper from the prototype | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index dba8a18..6773d42 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,18 +1,46 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | 0ee1b218db1d435f28e40dd279f402b5ad463ee5 | remove pirates | diff --git a/lib/MooseX/ProtectedAttribute.pm b/lib/MooseX/ProtectedAttribute.pm
index ebcc367..527d1c6 100644
--- a/lib/MooseX/ProtectedAttribute.pm
+++ b/lib/MooseX/ProtectedAttribute.pm
@@ -1,38 +1,38 @@
package MooseX::ProtectedAttribute;
use strict;
use warnings;
use Moose ();
use Moose::Exporter ();
u... |
robn/MooseX-ProtectedAttribute | b86cd731d3bf4073d3e3d6576af4c529f3ea846f | trait registration | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 355b9b3..dba8a18 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,11 +1,18 @@
package MooseX::Meta::Attribute::Trait::Protected;
use Moose:... |
robn/MooseX-ProtectedAttribute | f6f29b08b3804fb4a6867ac1f26267f7605a08b8 | code stubs | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
index 5b0e656..355b9b3 100644
--- a/lib/MooseX/Meta/Attribute/Trait/Protected.pm
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -1,3 +1,11 @@
package MooseX::Meta::Attribute::Trait::Protected;
+use Moose::... |
robn/MooseX-ProtectedAttribute | efc634076992df3ffcae091895e707ba4e959838 | module stub | diff --git a/lib/MooseX/Meta/Attribute/Trait/Protected.pm b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
new file mode 100644
index 0000000..5b0e656
--- /dev/null
+++ b/lib/MooseX/Meta/Attribute/Trait/Protected.pm
@@ -0,0 +1,3 @@
+package MooseX::Meta::Attribute::Trait::Protected;
+
+1;
diff --git a/lib/MooseX/Protecte... |
robn/MooseX-ProtectedAttribute | 78d6bcb2c5b4b8f89b3f22a0d99186be0dc07cf6 | bootstrapped by module-starter | diff --git a/Changes b/Changes
new file mode 100644
index 0000000..0b66214
--- /dev/null
+++ b/Changes
@@ -0,0 +1,5 @@
+Revision history for MooseX-ProtectedAttribute
+
+0.01 Date/time
+ First version, released on an unsuspecting world.
+
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..b1... |
dap/App-FoxyProxy-Control | a682dcdf3a2721efa5b6682951c75235f8eea522 | Convert to Perl module layout | diff --git a/Build.PL b/Build.PL
new file mode 100644
index 0000000..c185587
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,14 @@
+use Module::Build;
+my $build = Module::Build->new(
+ module_name => 'App::FoxyProxy::Control',
+ dist_version_from => 'bin/fpc.pl',
+ license => 'perl',
+ requires => {
+ 'perl' ... |
dap/App-FoxyProxy-Control | 4a5d07835a0203d5351cef3a7d594e86e1514a95 | Modern::Perl instead of strict/warnings/Perl6::Say | diff --git a/bin/fpc.pl b/bin/fpc.pl
index 4b47d35..a2c5c4c 100755
--- a/bin/fpc.pl
+++ b/bin/fpc.pl
@@ -1,283 +1,281 @@
#!/usr/bin/perl
=head1 NAME
fpc.pl - Utility to start/stop tunnels parsed from FoxyProxy config
=head1 SYNOPSIS
# List available proxies
$ fpc.pl list
# Start a given proxy
... |
dap/App-FoxyProxy-Control | 4aabe182a3ac25c9172f102214930aa08eadb5a8 | Major refactoring; added POD for private methods and command invocation | diff --git a/bin/fpc.pl b/bin/fpc.pl
index acbf4e5..4b47d35 100755
--- a/bin/fpc.pl
+++ b/bin/fpc.pl
@@ -1,203 +1,283 @@
#!/usr/bin/perl
+=head1 NAME
+
+fpc.pl - Utility to start/stop tunnels parsed from FoxyProxy config
+
+=head1 SYNOPSIS
+
+ # List available proxies
+ $ fpc.pl list
+
+ # Start a given proxy
+ ... |
dap/App-FoxyProxy-Control | 6614c857b38ef20e523c8587999f64d0401fe48f | Added existing fpc.pl | diff --git a/bin/fpc.pl b/bin/fpc.pl
new file mode 100755
index 0000000..acbf4e5
--- /dev/null
+++ b/bin/fpc.pl
@@ -0,0 +1,203 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use XML::Simple;
+use Perl6::Say;
+use Proc::ProcessTable;
+
+my $conf_path
+ = $ENV{'FP_CONF_PATH'};
+my $command_re
+ = qr/^(ssh.*)/;
+
+m... |
mleung/Sex | c3b741325d9fbfb3a973e0ff5f356999d27b420c | Used gsub! in strip_markup! instead of gsub | diff --git a/lib/sex/string_pattern_extensions.rb b/lib/sex/string_pattern_extensions.rb
index fd0b54d..f5021ae 100644
--- a/lib/sex/string_pattern_extensions.rb
+++ b/lib/sex/string_pattern_extensions.rb
@@ -1,38 +1,38 @@
module Sex
module StringPatternExtensions
String.class_eval do
include Sex::Expres... |
mleung/Sex | 9ffd3efa61bf4917a9e31c12c722ffbbc0458e8f | Changed remove_markup to strip_markup! | diff --git a/lib/sex/string_pattern_extensions.rb b/lib/sex/string_pattern_extensions.rb
index d9e781b..fd0b54d 100644
--- a/lib/sex/string_pattern_extensions.rb
+++ b/lib/sex/string_pattern_extensions.rb
@@ -1,38 +1,38 @@
module Sex
module StringPatternExtensions
String.class_eval do
include Sex::Expres... |
mleung/Sex | 8ae84bc5937a11b1100fbd1a53d00ed454067193 | Put in the remove_markup method to gsub out any html or xml tags from a string instance | diff --git a/lib/sex/string_pattern_extensions.rb b/lib/sex/string_pattern_extensions.rb
index 2b2947f..d9e781b 100644
--- a/lib/sex/string_pattern_extensions.rb
+++ b/lib/sex/string_pattern_extensions.rb
@@ -1,34 +1,38 @@
module Sex
module StringPatternExtensions
String.class_eval do
include Sex::Expres... |
mleung/Sex | e2aca633c9154d71d74266d6d04ec3ab24e11851 | Quick rename of test name | diff --git a/test/sex/expressions_test.rb b/test/sex/expressions_test.rb
index 25006ea..3d642d9 100644
--- a/test/sex/expressions_test.rb
+++ b/test/sex/expressions_test.rb
@@ -1,13 +1,13 @@
require File.dirname(__FILE__) + '/../test_helper'
class ExpressionsTest < Test::Unit::TestCase
context "Starts with Exp... |
mleung/Sex | f837d05f8162602394250842b809dd236d804be1 | Starting to convert rspecs to shoulda | diff --git a/Rakefile b/Rakefile
index 5404dd6..398c2f4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,20 +1,20 @@
spec = Gem::Specification.new do |s|
s.name = "Sex"
s.version = "0.0.1"
s.author = "Michael Leung"
s.email = "blamemike@gmail.com"
s.homepage = ""
s.platform = Gem::Platform::RUBY
s.summ... |
kernow/javascript_auto_include | 51fc7b187fd9986349c08a1890a0a4c035b6fb16 | removed out of date svn link | diff --git a/README b/README
index f645fa1..0b77996 100644
--- a/README
+++ b/README
@@ -1,57 +1,54 @@
JavascriptAutoInclude
=====================
== Resources
Install
- * Run the following command:
- script/plugin install http://kernowsoul.com/svn/plugins/javascript_auto_include
-
- * On rails 2.1 and above yo... |
kernow/javascript_auto_include | ab4191fbcb1080ce2daa2ddcef42cef284b4161e | Allow use of namespaced controllers - e.g. javascripts/views/admin/items/index.js | diff --git a/lib/javascript_auto_include.rb b/lib/javascript_auto_include.rb
index 1c6d0a0..bd79505 100644
--- a/lib/javascript_auto_include.rb
+++ b/lib/javascript_auto_include.rb
@@ -1,52 +1,52 @@
module ActionView
module Helpers
module AssetTagHelper
# Checks for the existence of view related javaScr... |
kernow/javascript_auto_include | d4f0418efffb698539c4ec46921ae39408290c83 | Added splat operator for rails 2.x compatibility, submitted by davidsch | diff --git a/lib/javascript_auto_include.rb b/lib/javascript_auto_include.rb
index ea29a21..1c6d0a0 100644
--- a/lib/javascript_auto_include.rb
+++ b/lib/javascript_auto_include.rb
@@ -1,52 +1,52 @@
module ActionView
module Helpers
module AssetTagHelper
# Checks for the existence of view related javaScr... |
kernow/javascript_auto_include | d8ab2275687d29343be42e0180d6261a5221fad7 | Changed plugin to work better with different namespaces | diff --git a/lib/javascript_auto_include.rb b/lib/javascript_auto_include.rb
index ea29a21..5c9fe92 100644
--- a/lib/javascript_auto_include.rb
+++ b/lib/javascript_auto_include.rb
@@ -1,52 +1,52 @@
module ActionView
module Helpers
module AssetTagHelper
# Checks for the existence of view related javaScr... |
kernow/javascript_auto_include | 7da57f4542ee1e9d04f950e6463dd136d12fe090 | re-factored code | diff --git a/lib/javascript_auto_include.rb b/lib/javascript_auto_include.rb
index 0d4c256..ea29a21 100644
--- a/lib/javascript_auto_include.rb
+++ b/lib/javascript_auto_include.rb
@@ -1,53 +1,52 @@
module ActionView
module Helpers
module AssetTagHelper
# Checks for the existence of view related javaScr... |
kernow/javascript_auto_include | 3f1f8ad3df87f0759375d1ee7cadf8b87481c27c | changed variables to avoid naming conflicts | diff --git a/lib/javascript_auto_include.rb b/lib/javascript_auto_include.rb
index cc4f1a8..0d4c256 100644
--- a/lib/javascript_auto_include.rb
+++ b/lib/javascript_auto_include.rb
@@ -1,53 +1,53 @@
module ActionView
module Helpers
module AssetTagHelper
# Checks for the existence of view related javaScr... |
kernow/javascript_auto_include | efd069f7e2f71512ec269f813974eb95d15516a6 | added functionality to include js files in multiple views | diff --git a/lib/javascript_auto_include.rb b/lib/javascript_auto_include.rb
index 9dfa770..cc4f1a8 100644
--- a/lib/javascript_auto_include.rb
+++ b/lib/javascript_auto_include.rb
@@ -1,13 +1,53 @@
module ActionView
module Helpers
module AssetTagHelper
+ # Checks for the existence of view related javaScr... |
kernow/javascript_auto_include | ace1b59b2ec4da9137bdd548f48c4acc0813244e | Changed README to include git install | diff --git a/README b/README
index f3670a3..9aebef3 100644
--- a/README
+++ b/README
@@ -1,41 +1,44 @@
JavascriptAutoInclude
=====================
== Resources
Install
* Run the following command:
script/plugin install http://kernowsoul.com/svn/plugins/javascript_auto_include
+
+ * On EDGE rails you can run... |
kernow/javascript_auto_include | 666c3846548722b6ee20dd5b1e9c9299689d7840 | put file back | diff --git a/tasks/javascript_auto_include_tasks.rake b/tasks/javascript_auto_include_tasks.rake
new file mode 100644
index 0000000..a19a38b
--- /dev/null
+++ b/tasks/javascript_auto_include_tasks.rake
@@ -0,0 +1,4 @@
+# desc "Explaining what the task does"
+# task :javascript_auto_include do
+# # Task goes here
+# e... |
kernow/javascript_auto_include | 1821253b503d2276eb71775fc62edc7411ea1781 | fixed javascript file path in install.rb | diff --git a/install.rb b/install.rb
index d9234c8..4c67228 100644
--- a/install.rb
+++ b/install.rb
@@ -1,3 +1,3 @@
require 'fileutils'
-FileUtils.mkdir File.dirname(__FILE__) + '/../../../public/views'
\ No newline at end of file
+FileUtils.mkdir File.dirname(__FILE__) + '/../../../public/javascripts/views'
\ No n... |
kernow/javascript_auto_include | d121504a8689331cb1bb0290177f47831840c41d | git-svn-id: http://kernowsoul.com/svn/plugins/javascript_auto_include@1 581f9dff-63f6-4202-9a23-85763b9ce6d8 | diff --git a/README b/README
new file mode 100644
index 0000000..f3670a3
--- /dev/null
+++ b/README
@@ -0,0 +1,41 @@
+JavascriptAutoInclude
+=====================
+
+== Resources
+
+Install
+ * Run the following command:
+ script/plugin install http://kernowsoul.com/svn/plugins/javascript_auto_include
+
+== Usage
+
+ ... |
mminer/silverscreen | 8efe8a82db6d75843a3b06a26e29440257370c54 | Add note about other options in the Asset Store. | diff --git a/README.md b/README.md
index f5c40ec..bc2448c 100644
--- a/README.md
+++ b/README.md
@@ -1,38 +1,42 @@
Silver Screen
=============
Editor tools for creating cinematics using the Unity game engine.
+I haven't updated this in ages. If you're looking for a cutscene editor, there
+are numerous good optio... |
mminer/silverscreen | dd82ea6a2ff9b3c7fae0476e73af75328dc4cd6e | Remove hotkey for opening editor window. | diff --git a/Cutscene Ed/Editor/CutsceneEditor.cs b/Cutscene Ed/Editor/CutsceneEditor.cs
index 1692f88..78985a3 100755
--- a/Cutscene Ed/Editor/CutsceneEditor.cs
+++ b/Cutscene Ed/Editor/CutsceneEditor.cs
@@ -1,537 +1,537 @@
/**
* Copyright (c) 2010 Matthew Miner
- *
+ *
* Permission is hereby granted, free... |
mminer/silverscreen | 09a2f05a1da3051423dbc17da277619b99611937 | Add ancient uncommitted changes. | diff --git a/Cutscene Ed/Editor/CutsceneAddAudio.cs b/Cutscene Ed/Editor/CutsceneAddAudio.cs
index ca5284c..ad4a39e 100755
--- a/Cutscene Ed/Editor/CutsceneAddAudio.cs
+++ b/Cutscene Ed/Editor/CutsceneAddAudio.cs
@@ -1,115 +1,115 @@
/**
* Copyright (c) 2010 Matthew Miner
- *
+ *
* Permission is hereby gr... |
mminer/silverscreen | cbcc182c7627ebfd809fe78ab5f2fed6b10b9f0d | Replace obsolete property with new function call. | diff --git a/Cutscene Ed/Scripts/Cutscene.cs b/Cutscene Ed/Scripts/Cutscene.cs
index a6c26e2..4380498 100755
--- a/Cutscene Ed/Scripts/Cutscene.cs
+++ b/Cutscene Ed/Scripts/Cutscene.cs
@@ -1,462 +1,462 @@
/**
* Copyright (c) 2010 Matthew Miner
- *
+ *
* Permission is hereby granted, free of charge, to any p... |
mminer/silverscreen | e313c24c8e272f2b49575e2315c9b5abfaf2f558 | Moved braces after classes / methods to new line. | diff --git a/Cutscene Ed/Editor/BugReporter.cs b/Cutscene Ed/Editor/BugReporter.cs
index ef3b461..a7ca636 100755
--- a/Cutscene Ed/Editor/BugReporter.cs
+++ b/Cutscene Ed/Editor/BugReporter.cs
@@ -1,64 +1,67 @@
/**
* Copyright (c) 2010 Matthew Miner
*
* Permission is hereby granted, free of charge, to a... |
mminer/silverscreen | 5276d3b40751b22b4fca958ea7a110c6afa3ad1a | Added license notice to top of scripts. | diff --git a/Cutscene Ed/Editor/BugReporter.cs b/Cutscene Ed/Editor/BugReporter.cs
index 8a04202..ef3b461 100755
--- a/Cutscene Ed/Editor/BugReporter.cs
+++ b/Cutscene Ed/Editor/BugReporter.cs
@@ -1,42 +1,64 @@
-using UnityEditor;
+/**
+ * Copyright (c) 2010 Matthew Miner
+ *
+ * Permission is hereby grant... |
mminer/silverscreen | 05a93ea3f9c3b8bdb5430c299498d2841cbabaf1 | Tweaked readme for better readability. | diff --git a/README.markdown b/README.markdown
index acb5def..ca9915c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1,31 +1,39 @@
-## Release History
+Silver Screen
+=============
-### 0.1
+A suite of editor tools for the creation of cinematics using the Unity game
+engine.
-* Initial release
-* Compatible... |
mminer/silverscreen | ea6b3390b6a6a1fb6e67a2200d5a477a45561459 | Added release history and license info to readme. | diff --git a/README.markdown b/README.markdown
index 50816a5..acb5def 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1 +1,31 @@
-Silver Screen has been tested to work in Unity 2.6.
\ No newline at end of file
+## Release History
+
+### 0.1
+
+* Initial release
+* Compatible with Unity 2.6
+
+
+## License
+
+All... |
mminer/silverscreen | de5d7bf61aead7fb73fdd67c4b6ff4ec2d8fdfd9 | Commented out line that was erronously uncommented last commit. | diff --git a/Cutscene Ed/Editor/CutsceneEditor.cs b/Cutscene Ed/Editor/CutsceneEditor.cs
index bb80853..6990fd8 100755
--- a/Cutscene Ed/Editor/CutsceneEditor.cs
+++ b/Cutscene Ed/Editor/CutsceneEditor.cs
@@ -1,491 +1,491 @@
using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collectio... |
mminer/silverscreen | 4c08d1083d8341c4caa6653fbeb9f8667a40e658 | Minor whitespace alignment changes in code. | diff --git a/Cutscene Ed/Editor/BugReporter.cs b/Cutscene Ed/Editor/BugReporter.cs
index 77c9cde..8a04202 100755
--- a/Cutscene Ed/Editor/BugReporter.cs
+++ b/Cutscene Ed/Editor/BugReporter.cs
@@ -1,42 +1,42 @@
using UnityEditor;
using UnityEngine;
public class BugReporter : EditorWindow {
- string email ... |
mminer/silverscreen | 77ea3cf358e2190c3e3e948e17bdfb920b5e6ece | Fixed issue #15 where actors on timeline are all named "Actors". | diff --git a/Cutscene Ed/Scripts/Cutscene.cs b/Cutscene Ed/Scripts/Cutscene.cs
index 4345754..0c8cac5 100755
--- a/Cutscene Ed/Scripts/Cutscene.cs
+++ b/Cutscene Ed/Scripts/Cutscene.cs
@@ -1,411 +1,412 @@
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// Functions to be run w... |
mminer/silverscreen | 8dc54017f2dfa58b97a8a71664655c0d9db02f6c | Simplified code, taking advantage of some C# 3.0 features | diff --git a/Cutscene Ed/Editor/BugReporter.cs b/Cutscene Ed/Editor/BugReporter.cs
index 2c790cd..77c9cde 100755
--- a/Cutscene Ed/Editor/BugReporter.cs
+++ b/Cutscene Ed/Editor/BugReporter.cs
@@ -1,45 +1,42 @@
using UnityEditor;
using UnityEngine;
public class BugReporter : EditorWindow {
string email ... |
mminer/silverscreen | 221b3b659633ea9ceef320e0cf8232080940bb0b | Switched getters/setters to C# 3.0 automatic properties | diff --git a/Cutscene Ed/Editor/CutsceneAddActor.cs b/Cutscene Ed/Editor/CutsceneAddActor.cs
index 85fe67a..5deca1f 100755
--- a/Cutscene Ed/Editor/CutsceneAddActor.cs
+++ b/Cutscene Ed/Editor/CutsceneAddActor.cs
@@ -1,92 +1,92 @@
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.... |
nex3/mdb | 9187f8b30bb607106a75802ef163528979dfada1 | Add readme. | diff --git a/README.mkdn b/README.mkdn
new file mode 100644
index 0000000..a8df6a6
--- /dev/null
+++ b/README.mkdn
@@ -0,0 +1,53 @@
+MDB is a little program to read media files into a CouchDB database
+and keep that database up-to-date.
+It uses the [Mutagen](code.google.com/p/quodlibet/wiki/Mutagen) tagging library,
+... |
nex3/mdb | 1ef76be4aad90523c9d1dbe8b9e23d9a349d8fe2 | Add GPL. | diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..d60c31a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone i... |
nex3/mdb | 6251317b22f11db5b4c7db731946149c1aefb5e0 | Clean up slurp.py a bit. | diff --git a/mdb/slurp.py b/mdb/slurp.py
index 84f8d85..10bb275 100644
--- a/mdb/slurp.py
+++ b/mdb/slurp.py
@@ -1,59 +1,55 @@
import os
import sys
import traceback
from progressbar import Percentage, Bar
from mdb.progress import ProgressBar, Fraction
from mdb import Database
class Slurp:
def __init__(sel... |
nex3/mdb | b570044bd0c3c762d3a8f940aa0cab4f2ef2af76 | Add a utility for checking for updated files. | diff --git a/data/views/update.json b/data/views/update.json
index 9c26fbd..b32efb8 100644
--- a/data/views/update.json
+++ b/data/views/update.json
@@ -1,10 +1,19 @@
{"language": "javascript",
"views": {
- "all": {
+ "mtime": {
"map": "
function(doc) {
- emit(doc._id, {mtime: doc['~#mtime'], _re... |
nex3/mdb | e5f7e23b8704c6af77ba00338e63d880b9796779 | URL-quote pathnames, since we've got to preserve bad encodings. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index 226483e..f7bb382 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,105 +1,110 @@
import os
import urllib
import glob
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS ... |
nex3/mdb | 4b6f65341053154bef23c4464a2df30ddaa15142 | Properly handle directories moved out of the watched dir. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index 35c2729..226483e 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,96 +1,105 @@
import os
import urllib
import glob
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS =... |
nex3/mdb | cb2e8f62e425ea2ca788cd62e4924292f32c0b3d | Load views from a directory. | diff --git a/data/views/tree.json b/data/views/tree.json
new file mode 100644
index 0000000..497130c
--- /dev/null
+++ b/data/views/tree.json
@@ -0,0 +1,7 @@
+{"language": "javascript",
+ "views": {
+ "by-path": {
+ "map": "function(doc) {emit(doc['~path'], doc);}"
+ }
+ }
+}
diff --git a/data/views/upd... |
nex3/mdb | 0291ea0e18ad504def8e2418181662d8e720b9a1 | Keep a field with an arrayed path to the file. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index 9ee0d4d..1c84f67 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,97 +1,98 @@
import os
import urllib
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS = [
"~file... |
nex3/mdb | 76decf13f91189e7a79e8793ae1a722c3b0d1974 | Deal with moved files. | diff --git a/mdb/watch.py b/mdb/watch.py
index 51f460f..e8b91b4 100644
--- a/mdb/watch.py
+++ b/mdb/watch.py
@@ -1,69 +1,76 @@
import traceback
import time
import os
import pyinotify as pyi
from mdb import Database
from mdb.slurp import Slurp
class Process(pyi.ProcessEvent):
def __init__(self, server,... |
nex3/mdb | 0950ef5d98de0d8a4dbf53bc0861607beb93bbba | Cope with moved files and deleted dirs. | diff --git a/mdb/watch.py b/mdb/watch.py
index 5353bd4..51f460f 100644
--- a/mdb/watch.py
+++ b/mdb/watch.py
@@ -1,63 +1,69 @@
import traceback
import time
import os
import pyinotify as pyi
from mdb import Database
from mdb.slurp import Slurp
class Process(pyi.ProcessEvent):
def __init__(self, server,... |
nex3/mdb | e32fc2e11b530b6a7e61dac15d3ea6770cbee924 | Slurp moved-in directories. | diff --git a/mdb/watch.py b/mdb/watch.py
index 80b7b0e..5353bd4 100644
--- a/mdb/watch.py
+++ b/mdb/watch.py
@@ -1,54 +1,63 @@
import traceback
import time
import os
import pyinotify as pyi
from mdb import Database
+from mdb.slurp import Slurp
class Process(pyi.ProcessEvent):
def __init__(self, server,... |
nex3/mdb | ffee899220e909e7fa5c871b234c5d56fd0c53c3 | Fix a bug in updating. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index a7d1455..9ee0d4d 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,97 +1,97 @@
import os
import urllib
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS = [
"~file... |
nex3/mdb | 5ef895f42d6afdcdd75faab1b5718f19b344c530 | Process file deletion in the watcher. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index ab453c0..a7d1455 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,94 +1,97 @@
import os
import urllib
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS = [
"~file... |
nex3/mdb | 408062bf31366cfebc213629d95e8fa1be671fb7 | Use proper private-method conventions. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index e19ac96..ab453c0 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,94 +1,94 @@
import os
import urllib
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS = [
"~file... |
nex3/mdb | 811699f8d66ed569b8b894217b712d347e711950 | Handle subdirectory creation in watched directories properly. | diff --git a/mdb/watch.py b/mdb/watch.py
index 5010aff..71a0306 100644
--- a/mdb/watch.py
+++ b/mdb/watch.py
@@ -1,47 +1,49 @@
import traceback
import time
import os
import pyinotify as pyi
from mdb import Database
class Process(pyi.ProcessEvent):
def __init__(self, server, name):
self.db = Da... |
nex3/mdb | e2389adba04bedf6df6d14f892be3cc24cbf556a | Notice when watched songs are modified as well. | diff --git a/mdb/watch.py b/mdb/watch.py
index 01b9e32..5010aff 100644
--- a/mdb/watch.py
+++ b/mdb/watch.py
@@ -1,47 +1,47 @@
import traceback
import time
import os
import pyinotify as pyi
from mdb import Database
class Process(pyi.ProcessEvent):
def __init__(self, server, name):
self.db = Da... |
nex3/mdb | abd232fe883978f9e8154bd81cb44c224497a243 | Make sure we don't read the file faster than it's being written. | diff --git a/mdb/watch.py b/mdb/watch.py
index 5db6539..01b9e32 100644
--- a/mdb/watch.py
+++ b/mdb/watch.py
@@ -1,38 +1,47 @@
import traceback
import time
import os
import pyinotify as pyi
from mdb import Database
class Process(pyi.ProcessEvent):
def __init__(self, server, name):
self.db = Da... |
nex3/mdb | aa65840e25e9a0fa5d021e7be31a367263902fe7 | Add directory-watching functionality. | diff --git a/mdb-watch b/mdb-watch
new file mode 100755
index 0000000..356c174
--- /dev/null
+++ b/mdb-watch
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+import sys
+from optparse import OptionParser
+
+from mdb.watch import Watcher
+
+parser = OptionParser()
+parser.add_option("-s", "--server", dest="server",
+ ... |
nex3/mdb | bc5af201686b78d5a803be099f9205d3ccef23bc | Make mdb.Database.add respect existing docs. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index 12067c4..e19ac96 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,85 +1,94 @@
import os
import urllib
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS = [
"~file... |
nex3/mdb | 47c973e4102d3ef6169c07e1b634317b45255bf1 | Automatically add the necessary view when creating a new DB. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index 8e9f6d0..12067c4 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,71 +1,85 @@
import os
import urllib
from datetime import datetime
from couchdb.client import Server
import mdb.util
from mdb.formats import MusicFile
SAVED_METATAGS = [
"~file... |
nex3/mdb | be98c118d6b8fe74de6381e3471ed676aff7956f | Add command-line options to the slurp tool. | diff --git a/mdb-slurp b/mdb-slurp
index 7d16281..3a50683 100755
--- a/mdb-slurp
+++ b/mdb-slurp
@@ -1,8 +1,17 @@
#!/usr/bin/env python
-import sys
+from optparse import OptionParser
+
from mdb.slurp import Slurp
-server = 'http://localhost:5984/'
-name = 'mdb'
+parser = OptionParser()
+parser.add_option("-s", "--s... |
nex3/mdb | d40eb153bfce2cade901d07332e12fbbf8bb8e76 | Add mtime checking. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index 09c5dd9..8e9f6d0 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,45 +1,71 @@
+import os
+import urllib
from datetime import datetime
-from mdb.formats import MusicFile
from couchdb.client import Server
+import mdb.util
+from mdb.formats import MusicFil... |
nex3/mdb | 92b0eebc3b62661d56a0cb6dc367eec9f004f589 | Make progress reporting optional. | diff --git a/mdb/slurp.py b/mdb/slurp.py
index 4442ab9..83aa051 100644
--- a/mdb/slurp.py
+++ b/mdb/slurp.py
@@ -1,50 +1,59 @@
import os
import sys
import traceback
from progressbar import Percentage, Bar
from mdb.progress import ProgressBar, Fraction
from mdb import Database
class Slurp:
- def __init__(sel... |
nex3/mdb | 2f321cad143b538ab4a3edec4c2c3274dc335663 | Add a progress indicator for file-counting. | diff --git a/mdb/slurp.py b/mdb/slurp.py
index e0b28bc..4442ab9 100644
--- a/mdb/slurp.py
+++ b/mdb/slurp.py
@@ -1,43 +1,50 @@
import os
+import sys
import traceback
from progressbar import Percentage, Bar
from mdb.progress import ProgressBar, Fraction
from mdb import Database
class Slurp:
def __init__(sel... |
nex3/mdb | cfdef973f13417acc8d736523a75c5ce784a46a4 | Customize the progress bar a little. | diff --git a/mdb/progress.py b/mdb/progress.py
new file mode 100644
index 0000000..314e60c
--- /dev/null
+++ b/mdb/progress.py
@@ -0,0 +1,9 @@
+import progressbar
+from progressbar import ProgressBarWidget
+
+class Fraction(ProgressBarWidget):
+ def update(self, pbar):
+ return "%d/%d" % (pbar.currval, pbar.m... |
nex3/mdb | 1c56e3766820bc9ec5ce249e56fe59943cd9a271 | Better organization. | diff --git a/mdb-slurp b/mdb-slurp
index 09e2305..7d16281 100755
--- a/mdb-slurp
+++ b/mdb-slurp
@@ -1,23 +1,8 @@
#!/usr/bin/env python
import sys
-import os
-import traceback
-
-from mdb import Database
+from mdb.slurp import Slurp
server = 'http://localhost:5984/'
name = 'mdb'
-def mywalk(paths):
- for pat... |
nex3/mdb | 088b60de3f1341d77fddede5a73ce7c3dedc060d | Factor out some tree-walking logic. | diff --git a/mdb-slurp b/mdb-slurp
index beab0a0..09e2305 100755
--- a/mdb-slurp
+++ b/mdb-slurp
@@ -1,19 +1,23 @@
#!/usr/bin/env python
import sys
import os
import traceback
+
from mdb import Database
server = 'http://localhost:5984/'
name = 'mdb'
-for path in sys.argv[1:]:
- db = Database(server, name)
... |
nex3/mdb | 1dac01c05dfbf21bc24184a52fbc4ff7d2d3b759 | Fix a couple bugs. | diff --git a/mdb/__init__.py b/mdb/__init__.py
index cbed66d..09c5dd9 100644
--- a/mdb/__init__.py
+++ b/mdb/__init__.py
@@ -1,45 +1,45 @@
from datetime import datetime
from mdb.formats import MusicFile
from couchdb.client import Server
SAVED_METATAGS = [
"~filename", "~format", "~mountpoint", "~performers... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.