currently 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/*
data/COPYING ADDED
@@ -0,0 +1,26 @@
1
+ Copyright (c) 2011, Mike Stipicevic and contributors. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this
7
+ list of conditions and the following disclaimer.
8
+
9
+ * Redistributions in binary form must reproduce the above copyright notice, this
10
+ list of conditions and the following disclaimer in the documentation and/or
11
+ other materials provided with the distribution.
12
+
13
+ * Neither the name of Mike Stipicevic nor the names of the software's
14
+ contributors may be used to endorse or promote products derived from this
15
+ software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in currently.gemspec
4
+ gemspec
data/README.markdown ADDED
@@ -0,0 +1,40 @@
1
+ currently
2
+ =========
3
+
4
+ the work/thought log for distractable people.
5
+ ---------------------------------------------
6
+
7
+ Distractions can be very detrimental to programming because you often lose "where you were" while coding and have to rebuild the thought in your head. This is compounded by the frequent, lightweight distractions offered by Twitter. The `currently` solution: frequent, lightweight context saves. `currently` aims to be a small personal 'concentration log' that you update with whatever you're currently, directly working on. The emphasis is on short specific things; the kind of information you'd want to come back to after an hour break to get your mind in the right frame. This was borne out of a desire to capture thoughts at the end of the week in order to step right into coding Monday morning.
8
+
9
+ `currently` aims to be simple and tries to stay out of your way. Just pop open a terminal and run:
10
+
11
+ currently [what you are doing]
12
+
13
+ For example:
14
+
15
+ currently figuring out markdown syntax for the currently docs
16
+
17
+ or
18
+
19
+ currently checking why async I/O functions don't work when n is 5
20
+
21
+ `currently` will save this, along with a timestamp, to either a file (by default, `~/.currentlog`) or to [catch.com](https://catch.com), depending on the settings in your `~/.currentlyrc`. If you were distracted (say, an unexpected phone call came in), just type `currently` by itself to load up the last thing you wrote down. If you use a customizable window manager (such as *[awesome](http://awesome.naquadah.org/)*), you could also poll the output of `currently` and display this in a widget.
22
+
23
+ You can add multiple tags (contexts) to `currently` by using the `-c` flag; you might want a tag for each project or a tag for work/home. To view the last entry in a certain context, just type `currently -c [context]`
24
+
25
+ `currently` entries are meant to be an extension of your *short-term* memory; things you might need for an hour but then want to forget the next day. This differs from note-taking applications and to-do lists; the former focus on long-term recall of facts while the latter focus on "the future." `currently` fills the gap by helping you think in *the present*, because we all sometimes feel like the [Memento](http://www.imdb.com/title/tt0209144/) guy.
26
+
27
+ Of course, there are some fun uses for the data (plotting what times of the day you're most active, etc) so your old entries are stored. You can view the last *n* entries with the `-n` option: `currently -n 5`
28
+
29
+
30
+ Todo
31
+ ----
32
+ * read/write configs from `~/.currentlyrc`
33
+ * write to `~/.currentlog`
34
+ * catch.com integration
35
+ * show awesomeWM wibox example
36
+ * auto-infer location tags from geolocation API
37
+ * color output
38
+ * sync-friendly file format
39
+ * [punchcard](http://gitready.com/images/punchcard.png)-style visualization
40
+ * 'fire up an editor' in case people want to enter funky characters the shell hates
data/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ # -*- ruby -*-
2
+ require "bundler/gem_tasks"
3
+ require 'rake/clean'
4
+
5
+ CLOBBER.include('pkg/*.gem')
6
+
7
+ task :default do
8
+ puts
9
+ puts " ----------------------------------------"
10
+ puts " to build, run `rake build`"
11
+ puts " to install, run `rake build`"
12
+ puts " to run after installing, run `currently`"
13
+ puts " to clean packages, run `rake clobber`"
14
+ puts
15
+ puts " for more tasks run `rake -T`"
16
+ puts
17
+ end
18
+
19
+ # vim: syntax=ruby
data/bin/currently ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'currently'
5
+ rescue LoadError
6
+ require 'rubygems'
7
+ require 'currently'
8
+ end
9
+
10
+ Currently.application.run
data/currently.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "currently/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "currently"
7
+ s.version = Currently::VERSION
8
+ s.authors = ["Mike Stipicevic"]
9
+ s.email = ["mike@stipicevic.com"]
10
+ s.homepage = "https://github.com/wickedchicken/i_am_currently"
11
+ s.summary = "the 'currently' concentration log application"
12
+ s.description = <<-EOS
13
+ 'currently' is a console application designed to keep a running 'concentration log'
14
+ of what you are currently doing in the moment. It is ideal for capturing your thoughts
15
+ at work before the weekend so you're ready to go on Monday, or keeping you focused
16
+ if you work in a distracting environment. 'currently' can save to a local file or
17
+ connect to catch.com via its API
18
+ EOS
19
+
20
+ s.rubyforge_project = "currently"
21
+
22
+ s.files = `git ls-files`.split("\n")
23
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
24
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
+ s.require_paths = ["lib"]
26
+
27
+ # specify any dependencies here; for example:
28
+ # s.add_development_dependency "rspec"
29
+ # s.add_runtime_dependency "rest-client"
30
+ end
@@ -0,0 +1,3 @@
1
+ module Currently
2
+ VERSION = "0.0.1"
3
+ end
data/lib/currently.rb ADDED
@@ -0,0 +1,15 @@
1
+ require "currently/version"
2
+
3
+ module Currently
4
+ class << self
5
+ def application
6
+ @application ||= Currently::Application.new
7
+ end
8
+ end
9
+
10
+ class Application
11
+ def run
12
+ puts "currently hasn't been written yet!"
13
+ end
14
+ end
15
+ end
data/pkg/.gitignore ADDED
@@ -0,0 +1 @@
1
+ ./*
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: currently
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mike Stipicevic
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-08-20 00:00:00.000000000 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+ description: ! " 'currently' is a console application designed to keep a running
16
+ 'concentration log'\n of what you are currently doing in the moment. It is ideal
17
+ for capturing your thoughts\n at work before the weekend so you're ready to go
18
+ on Monday, or keeping you focused\n if you work in a distracting environment.
19
+ 'currently' can save to a local file or\n connect to catch.com via its API\n"
20
+ email:
21
+ - mike@stipicevic.com
22
+ executables:
23
+ - currently
24
+ extensions: []
25
+ extra_rdoc_files: []
26
+ files:
27
+ - .gitignore
28
+ - COPYING
29
+ - Gemfile
30
+ - README.markdown
31
+ - Rakefile
32
+ - bin/currently
33
+ - currently.gemspec
34
+ - lib/currently.rb
35
+ - lib/currently/version.rb
36
+ - pkg/.gitignore
37
+ has_rdoc: true
38
+ homepage: https://github.com/wickedchicken/i_am_currently
39
+ licenses: []
40
+ post_install_message:
41
+ rdoc_options: []
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ requirements: []
57
+ rubyforge_project: currently
58
+ rubygems_version: 1.6.2
59
+ signing_key:
60
+ specification_version: 3
61
+ summary: the 'currently' concentration log application
62
+ test_files: []