oblique_notify 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.markdown +33 -0
  2. data/bin/oblique_notify +206 -0
  3. metadata +79 -0
data/README.markdown ADDED
@@ -0,0 +1,33 @@
1
+ Oblique Notify
2
+ ==============
3
+
4
+ Oblique Strategies displayed via libnotify. This is a modified copy
5
+ of [oblique_strategies](https://github.com/hgillane/oblique_strategies). Check
6
+ that project out if you prefer Growl notifications.
7
+
8
+ [More about Oblique Strategies](http://www.rtqe.net/ObliqueStrategies/)
9
+
10
+ Dependencies
11
+ ------------
12
+
13
+ You'll need to install `libnotify-dev` via apt and `libnotify` via gems:
14
+
15
+ sudo apt-get install libnotify-dev
16
+ gem install libnotify
17
+
18
+ You'll clearly need a ruby installation.
19
+
20
+ Usage
21
+ -----
22
+
23
+ As of the current release, either run the script from the command line
24
+ `ruby oblique_notify.rb` or move it to `~/bin`, make it executable, and run
25
+ it via synapse or gnome-do. I hope to have a swanky interface built for it
26
+ in the future.
27
+
28
+ Laundry List
29
+ ------------
30
+
31
+ - Package as a gem
32
+ - Verify that all strategies are included
33
+ - Add a nice interface or create applet
@@ -0,0 +1,206 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # oblique_notify - send oblique strategies to lib-notify
4
+ # https://github.com/hooobs/oblique_notify
5
+
6
+ require 'libnotify'
7
+
8
+ strategies = [
9
+ "(Organic) machinery",
10
+ "A line has two sides",
11
+ "A very small object -Its centre",
12
+ "Abandon desire",
13
+ "Abandon normal instructions",
14
+ "Accept advice",
15
+ "Accretion",
16
+ "Adding on",
17
+ "Allow an easement (an easement is the abandonment of a stricture)",
18
+ "Always first steps",
19
+ "Always give yourself credit for having more than personality",
20
+ "Always the first steps",
21
+ "Are there sections? Consider transitions",
22
+ "Ask people to work against their better judgement",
23
+ "Ask your body",
24
+ "Assemble some of the elements in a group and treat the group",
25
+ "Back up a few steps. What else could you have done?",
26
+ "Balance the consistency principle with the inconsistency principle",
27
+ "Be dirty",
28
+ "Be extravagant",
29
+ "Be less critical more often",
30
+ "Breathe more deeply",
31
+ "Bridges -build -burn",
32
+ "Call your mother and ask her what to do.",
33
+ "Cascades",
34
+ "Change ambiguities to specifics",
35
+ "Change instrument roles",
36
+ "Change nothing and continue with immaculate consistency",
37
+ "Change specifics to ambiguities",
38
+ "Children\'s voices -speaking -singing",
39
+ "Cluster analysis",
40
+ "Consider different fading systems",
41
+ "Consider transitions",
42
+ "Consult other sources -promising -unpromising",
43
+ "Convert a melodic element into a rhythmic element",
44
+ "Courage!",
45
+ "Cut a vital connection",
46
+ "Decorate, decorate",
47
+ "Define an area as \'safe\' and use it as an anchor",
48
+ "Describe the landscape in which this belongs. (9 August)",
49
+ "Destroy nothing; Destroy the most important thing",
50
+ "Discard an axiom",
51
+ "Disciplined self-indulgence",
52
+ "Disconnect from desire",
53
+ "Discover the recipes you are using and abandon them",
54
+ "Discover your formulas and abandon them",
55
+ "Display your talent",
56
+ "Distorting time",
57
+ "Do nothing for as long as possible",
58
+ "Do something boring",
59
+ "Do something sudden, destructive and unpredictable",
60
+ "Do the last thing first",
61
+ "Do the washing up",
62
+ "Do the words need changing?",
63
+ "Do we need holes?",
64
+ "Don\'t avoid what is easy",
65
+ "Don\'t be afraid of things because they\'re easy to do",
66
+ "Don\'t be frightened of cliches",
67
+ "Don\'t be frightened to display your talents",
68
+ "Don\'t break the silence",
69
+ "Don\'t stress one thing more than another",
70
+ "Emphasize differences",
71
+ "Emphasize repetitions",
72
+ "Emphasize the flaws",
73
+ "Faced with a choice, do both",
74
+ "Feed the recording back out of the medium",
75
+ "Feedback recordings into an acoustic situation",
76
+ "Fill every beat with something",
77
+ "Find a safe part and use it as an anchor",
78
+ "First work alone, then work in unusual pairs.",
79
+ "From nothing to more than nothing",
80
+ "Get your neck massaged",
81
+ "Ghost echoes",
82
+ "Give the game away",
83
+ "Give way to your worst impulse",
84
+ "Go outside. Shut the door.",
85
+ "Go slowly all the way round the outside",
86
+ "Go to an extreme, move back to a more comfortable place",
87
+ "How would someone else do it?",
88
+ "How would you explain this to your parents?",
89
+ "How would you have done it?",
90
+ "Humanize something that is free of error.",
91
+ "Idiot glee (?)",
92
+ "Imagine the music as a moving chain or caterpillar",
93
+ "Imagine the music as a series of disconnected events",
94
+ "In total darkness, or in a very large room, very quietly",
95
+ "Infinitesimal gradations",
96
+ "Instead of changing the thing, change the world around it.",
97
+ "Intentions -credibility of -nobility of -humility of",
98
+ "Into the impossible",
99
+ "Is it finished?",
100
+ "Is something missing?",
101
+ "Is the intonation correct?",
102
+ "Is the style right?",
103
+ "Is the tuning appropriate?",
104
+ "Is the tuning intonation correct?",
105
+ "Is there something missing?",
106
+ "It is quite possible (after all)",
107
+ "It is simply a matter or work",
108
+ "Just carry on",
109
+ "Left channel, right channel, centre channel",
110
+ "List the qualities it has. List those you\'d like.",
111
+ "Listen in total darkness, or in a very large room, very quietly",
112
+ "Listen to the quiet voice",
113
+ "Look at a very small object, look at its centre",
114
+ "Look at the order in which you do things",
115
+ "Look closely at the most embarrassing details and amplify.",
116
+ "Lost in useless territory",
117
+ "Lowest common denominator check -single beat -single note -single riff",
118
+ "Magnify the most difficult details",
119
+ "Make a blank valuable by putting it in an excquisite frame",
120
+ "Make a sudden, destructive unpredictable action; incorporate",
121
+ "Make an exhaustive list of everything you might do and do the last thing on the list",
122
+ "Make it more sensual",
123
+ "Make what\'s perfect more human",
124
+ "Mechanize something idiosyncratic",
125
+ "Move towards the unimportant",
126
+ "Mute and continue",
127
+ "Not building a wall but making a brick",
128
+ "Once the search has begun, something will be found",
129
+ "Only a part, not the whole",
130
+ "Only one element of each kind",
131
+ "Overtly resist change",
132
+ "Pae White\'s non-blank graphic metacard",
133
+ "Pay attention to distractions",
134
+ "Picture of a man spotlighted",
135
+ "Put in earplugs",
136
+ "Question the heroic approach",
137
+ "Remember those quiet evenings",
138
+ "Remove a restriction",
139
+ "Remove ambiguities and convert to specifics",
140
+ "Remove specifics and convert to ambiguities",
141
+ "Remove the middle, extend the edges",
142
+ "Repetition is a form of change",
143
+ "Retrace your steps",
144
+ "Revaluation (a warm feeling)",
145
+ "Reverse",
146
+ "Short circuit (example; a man eating peas with the idea that they will improve his virility shovels them straight into his lap)",
147
+ "Shut the door and listen from outside",
148
+ "Simple subtraction",
149
+ "Simply a matter of work",
150
+ "Slow preparation, fast execution",
151
+ "Spectrum analysis",
152
+ "State the problem in words as simply as possible",
153
+ "Steal a solution.",
154
+ "Take a break",
155
+ "Take away as much mystery as possible. What is left?",
156
+ "Take away the elements in order of apparent non-importance",
157
+ "Take away the important parts",
158
+ "Tape your mouth",
159
+ "The inconsistency principle",
160
+ "The most important thing is the thing most easily forgotten",
161
+ "The tape is now the music",
162
+ "Think - inside the work -outside the work",
163
+ "Think of the radio",
164
+ "Tidy up",
165
+ "Towards the insignificant",
166
+ "Trust in the you of now",
167
+ "Try faking it",
168
+ "Turn it upside down",
169
+ "Twist the spine",
170
+ "Use \"unqualified\" people.",
171
+ "Use an old idea",
172
+ "Use an unacceptable color",
173
+ "Use cliches",
174
+ "Use fewer notes",
175
+ "Use filters",
176
+ "Use something nearby as a model",
177
+ "Use your own ideas",
178
+ "Voice your suspicions",
179
+ "Water",
180
+ "What are the sections sections of? Imagine a caterpillar moving",
181
+ "What context would look right?",
182
+ "What do you do? Now, what do you do best?",
183
+ "What else is this like?",
184
+ "What is the reality of the situation?",
185
+ "What is the simplest solution?",
186
+ "What mistakes did you make last time?",
187
+ "What most recently impressed you? How is it similar? What can you learn from it? What could you take from it?",
188
+ "What to increase? What to reduce? What to maintain?",
189
+ "What were the branch points in the evolution of this entity",
190
+ "What were you really thinking about just now? Incorporate",
191
+ "What would make this really successful?",
192
+ "What would your closest friend do?",
193
+ "What wouldn\'t you do?",
194
+ "When is it for? Who is it for?",
195
+ "Where is the edge?",
196
+ "Which parts can be grouped?",
197
+ "Who would make this really successful?",
198
+ "Work at a different speed",
199
+ "Would anyone want it?",
200
+ "You are an engineer",
201
+ "You can only make one dot at a time",
202
+ "You don\'t have to be ashamed of using your own ideas",
203
+ ]
204
+
205
+ # send our notification
206
+ Libnotify.show :summary => "Oblique Strategy:", :body => strategies[rand(strategies.size)]
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: oblique_notify
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Christopher M. Hobbs (nilmethod, hooobs)
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-02-16 00:00:00 -06:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: libnotify
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ type: :development
32
+ version_requirements: *id001
33
+ description: oblique_notify sends oblique strategy strings to ubuntu notifications via libnotify
34
+ email: chris@altbit.org
35
+ executables:
36
+ - oblique_notify
37
+ extensions: []
38
+
39
+ extra_rdoc_files: []
40
+
41
+ files:
42
+ - README.markdown
43
+ - bin/oblique_notify
44
+ has_rdoc: true
45
+ homepage: http://www.5dollarwhitebox.org/
46
+ licenses: []
47
+
48
+ post_install_message:
49
+ rdoc_options: []
50
+
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ segments:
67
+ - 1
68
+ - 3
69
+ - 6
70
+ version: 1.3.6
71
+ requirements: []
72
+
73
+ rubyforge_project:
74
+ rubygems_version: 1.3.7
75
+ signing_key:
76
+ specification_version: 3
77
+ summary: send oblique strategies to ubuntu notification
78
+ test_files: []
79
+