usefuldb 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -3
- data/README.md +1 -1
- data/resources/db.yaml +650 -40
- metadata +3 -2
data/CHANGELOG
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
usefuldb gem CHANGELOG
|
2
2
|
|
3
|
-
## Version 0.0.11
|
4
|
-
- Updated UsefulDB::Version
|
5
|
-
|
6
3
|
## Version 0.0.10
|
7
4
|
- Updated gemspec to latest date
|
5
|
+
- Updated README
|
6
|
+
- Updated lib/usefuldb/version.rb
|
8
7
|
|
9
8
|
## Version 0.0.9
|
10
9
|
- Added require statements for rubygems to ensure the system will work on ruby 1.8.7
|
data/README.md
CHANGED
data/resources/db.yaml
CHANGED
@@ -1,42 +1,652 @@
|
|
1
1
|
---
|
2
|
-
version: 0.0.
|
2
|
+
version: 0.0.9
|
3
3
|
db:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
4
|
+
- tag:
|
5
|
+
- install
|
6
|
+
- rubygems
|
7
|
+
- website
|
8
|
+
- usefuldb
|
9
|
+
value: http://rubygems.org/usefuldb
|
10
|
+
description: Website URL for the usefuldb gem
|
11
|
+
- tag:
|
12
|
+
- search
|
13
|
+
- find
|
14
|
+
- website
|
15
|
+
- google
|
16
|
+
value: http://www.google.com
|
17
|
+
description: Google a major search engine
|
18
|
+
- tag:
|
19
|
+
- git
|
20
|
+
- add
|
21
|
+
value: git add <path>
|
22
|
+
description: Requesting git add files to the current git branch
|
23
|
+
- tag:
|
24
|
+
- git
|
25
|
+
- commit
|
26
|
+
value: git commit -m 'commit message'
|
27
|
+
description: Committing the files along with a commit message to the current git
|
28
|
+
branch
|
29
|
+
- tag:
|
30
|
+
- git
|
31
|
+
- push
|
32
|
+
value: git push origin <branch>
|
33
|
+
description: Requesting git upload the commited changes to the remote branch
|
34
|
+
- tag:
|
35
|
+
- git
|
36
|
+
- merge
|
37
|
+
value: git merge --no-ff <branch>
|
38
|
+
description: Command to merge the specified branch into the current branch
|
39
|
+
- tag:
|
40
|
+
- git
|
41
|
+
- checkout
|
42
|
+
value: git checkout <branch>
|
43
|
+
description: Checkout the specified branch
|
44
|
+
- tag:
|
45
|
+
- git
|
46
|
+
- tag
|
47
|
+
- tagging
|
48
|
+
value: git tag -a v0.0.0 -m 'Version 0.0.0'
|
49
|
+
description: Creating a git tag for a specific commit point in the branch
|
50
|
+
- tag:
|
51
|
+
- process
|
52
|
+
- network
|
53
|
+
- netstat
|
54
|
+
value: netstat --lepunt
|
55
|
+
description: Show the TCP and UDP ports being listened on and if you run this command
|
56
|
+
as root you get the process/user associated
|
57
|
+
- tag:
|
58
|
+
- github
|
59
|
+
- git
|
60
|
+
- repository
|
61
|
+
value: https://github.com/davidkirwan
|
62
|
+
description: My github URL
|
63
|
+
- tag:
|
64
|
+
- git
|
65
|
+
- rm
|
66
|
+
- cache
|
67
|
+
value: git rm -r --cached
|
68
|
+
description: Delete all files in the directory not currently managed by git
|
69
|
+
- tag:
|
70
|
+
- find
|
71
|
+
- delete
|
72
|
+
- log
|
73
|
+
- turnover
|
74
|
+
value: find <logpath> -mtime + 7 -exec rm {} \;
|
75
|
+
description: Delete files older than a week in logpath
|
76
|
+
- tag:
|
77
|
+
- find
|
78
|
+
- delete
|
79
|
+
- mp3
|
80
|
+
- turnover
|
81
|
+
value: find music -name '*.mp3' -mtime +365 -a -size +10M -ls
|
82
|
+
description: Find all mp3 files in the music directory which are over 10 MB in size
|
83
|
+
and at least a year old
|
84
|
+
- tag:
|
85
|
+
- ruboto
|
86
|
+
- ruby
|
87
|
+
- jruby
|
88
|
+
- android
|
89
|
+
value: http://ruboto.org/
|
90
|
+
description: Ruby on Android devices through JRuby
|
91
|
+
- tag:
|
92
|
+
- cd
|
93
|
+
- change
|
94
|
+
- directory
|
95
|
+
- previous
|
96
|
+
value: cd -
|
97
|
+
description: Returns to the previous directory you were in
|
98
|
+
- tag:
|
99
|
+
- timesquare
|
100
|
+
- cam
|
101
|
+
- 4chan
|
102
|
+
value: http://www.earthcam.com/usa/newyork/timessquare/
|
103
|
+
description: The webcam pointing at the postcard stand in Timessquare in NY 4chan
|
104
|
+
is always knocking down
|
105
|
+
- tag:
|
106
|
+
- irssi
|
107
|
+
- irc
|
108
|
+
- client
|
109
|
+
- chat
|
110
|
+
value: irssi
|
111
|
+
description: irssi is a console IRC client
|
112
|
+
- tag:
|
113
|
+
- irssi
|
114
|
+
- new
|
115
|
+
- window
|
116
|
+
value: /window new split
|
117
|
+
description: Creates a new window in split screen mode. Switch between them then
|
118
|
+
like /window <num>
|
119
|
+
- tag:
|
120
|
+
- mount
|
121
|
+
- web-dav
|
122
|
+
- davfs
|
123
|
+
value: sudo mount.davfs -o uid=user,gid=group https://path.to.web/dav/ /path/to/local/mount/
|
124
|
+
description: How to localy mount a web-dav file system
|
125
|
+
- tag:
|
126
|
+
- irssi
|
127
|
+
- stick
|
128
|
+
- window
|
129
|
+
- splitscreen
|
130
|
+
value: ! '/window stick #'
|
131
|
+
description: Sticks a hidden window to the newly created split screen
|
132
|
+
- tag:
|
133
|
+
- sshfs
|
134
|
+
- ssh
|
135
|
+
- mount
|
136
|
+
- remote
|
137
|
+
value: sshfs user@remotehost:/remotedir localdir/
|
138
|
+
description: Mount a remote folder locally using sshfs
|
139
|
+
- tag:
|
140
|
+
- date
|
141
|
+
- convert
|
142
|
+
- epoch
|
143
|
+
- human
|
144
|
+
value: date -d @728737200
|
145
|
+
description: Turn a Unix epoch time back into a human readable date
|
146
|
+
- tag:
|
147
|
+
- git
|
148
|
+
- log
|
149
|
+
- pretty
|
150
|
+
- output
|
151
|
+
value: git log --pretty='%cn|%cd|%s'
|
152
|
+
description: Print out the git log in a pretty formatted version
|
153
|
+
- tag:
|
154
|
+
- espeak
|
155
|
+
- speak
|
156
|
+
- ip
|
157
|
+
- address
|
158
|
+
value: hostname -i |cut -d' ' -f1 | sed 's/\./ dot /g' | espeak
|
159
|
+
description: Have the device speak its IP Address, perhaps handy for the Raspberry
|
160
|
+
Pi or the Ardtweeno
|
161
|
+
- tag:
|
162
|
+
- ruby
|
163
|
+
- date
|
164
|
+
- hours
|
165
|
+
value: DateTime.now + (22/24.0)
|
166
|
+
description: Adding 22 hours to the current date using Ruby's date library
|
167
|
+
- tag:
|
168
|
+
- ruby
|
169
|
+
- date
|
170
|
+
- minutes
|
171
|
+
value: DateTime.now + (22/1440.0)
|
172
|
+
description: Adding 22 minutes to the current date using Ruby's date library
|
173
|
+
- tag:
|
174
|
+
- ruby
|
175
|
+
- date
|
176
|
+
- seconds
|
177
|
+
value: DateTime.now + (22/86400.0)
|
178
|
+
description: Add 22 seconds to the current date using Ruby's date library
|
179
|
+
- tag:
|
180
|
+
- ubuntu
|
181
|
+
- hardware
|
182
|
+
- interface
|
183
|
+
- mapping
|
184
|
+
value: /etc/udev/rules.d/70-persistent-net.rules
|
185
|
+
description: On Debian?/Ubuntu systems this file contains the hardware to interface
|
186
|
+
mapping
|
187
|
+
- tag:
|
188
|
+
- environment
|
189
|
+
- variables
|
190
|
+
- path
|
191
|
+
value: export PATH=/usr/for/example-1.0/bin:$PATH
|
192
|
+
description: Sample means to setup a directory on your PATH environment variable
|
193
|
+
in *NIX
|
194
|
+
- tag:
|
195
|
+
- sudo
|
196
|
+
- previous
|
197
|
+
- command
|
198
|
+
value: sudo !!
|
199
|
+
description: Sudo !! repeats the previous command but preceeds it with sudo
|
200
|
+
- tag:
|
201
|
+
- mount
|
202
|
+
- network
|
203
|
+
- share
|
204
|
+
value: sudo mount -t cifs -o username=uname,password=pass,uid=uname,gid=uname //shares/Backups
|
205
|
+
/local/path
|
206
|
+
description: Mount a network share to a local path
|
207
|
+
- tag:
|
208
|
+
- R
|
209
|
+
- load
|
210
|
+
- script
|
211
|
+
value: source("commands.R")
|
212
|
+
description: Imports another R script
|
213
|
+
- tag:
|
214
|
+
- scp
|
215
|
+
- remote
|
216
|
+
- copy
|
217
|
+
value: scp user@host:~/path/to/source/file /path/to/destination/file
|
218
|
+
description: Copy a remote file to the local destination
|
219
|
+
- tag:
|
220
|
+
- scp
|
221
|
+
- remote
|
222
|
+
- copy
|
223
|
+
value: scp *.txt user@remote.server.com:/home/user/
|
224
|
+
description: Copy a local file to the remote server
|
225
|
+
- tag:
|
226
|
+
- tr
|
227
|
+
- remove
|
228
|
+
- 'null'
|
229
|
+
value: tr -d '\000' < file1 > file2
|
230
|
+
description: Remove all null characters from a file as its copied from file1 to
|
231
|
+
file2
|
232
|
+
- tag:
|
233
|
+
- tar
|
234
|
+
- create
|
235
|
+
- archive
|
236
|
+
value: tar -zcf archivename.tar.gz /path/to/directory/to/archive/
|
237
|
+
description: Create a tar file from the contents of directory, then zip the results
|
238
|
+
- tag:
|
239
|
+
- tar
|
240
|
+
- unzip
|
241
|
+
- uncompress
|
242
|
+
- archive
|
243
|
+
value: tar -zxf archivename.tar.gz
|
244
|
+
description: Uncompresses and untars the target gzipped tarball
|
245
|
+
- tag:
|
246
|
+
- java
|
247
|
+
- code
|
248
|
+
- coverage
|
249
|
+
- emma
|
250
|
+
value: http://emma.sourceforge.net
|
251
|
+
description: Emma is a code coverage tool, which produces statistics which give
|
252
|
+
an indication how well your code is covered by unit tests
|
253
|
+
- tag:
|
254
|
+
- java
|
255
|
+
- code
|
256
|
+
- coverage
|
257
|
+
- cobertura
|
258
|
+
value: http://cobertura.sourceforge.net/
|
259
|
+
description: Cobertura is a code coverage tool, which produces statistics which
|
260
|
+
give an indication how well your code is covered by unit tests
|
261
|
+
- tag:
|
262
|
+
- asciidoc
|
263
|
+
- a2x
|
264
|
+
- website
|
265
|
+
value: http://www.methods.co.nz/asciidoc/
|
266
|
+
description: The asciidoc website
|
267
|
+
- tag:
|
268
|
+
- cron
|
269
|
+
- usage
|
270
|
+
- tutorial
|
271
|
+
- website
|
272
|
+
value: http://adminschoice.com/crontab-quick-reference
|
273
|
+
description: Quick reference website for the cron system
|
274
|
+
- tag:
|
275
|
+
- css
|
276
|
+
- tutorial
|
277
|
+
- quick
|
278
|
+
- reference
|
279
|
+
- website
|
280
|
+
value: http://www.webmasterworld.com/css/3169395.htm
|
281
|
+
description: CSS tutorial and quick reference website
|
282
|
+
- tag:
|
283
|
+
- sort
|
284
|
+
- unique
|
285
|
+
- strings
|
286
|
+
value: sort <file> | uniq
|
287
|
+
description: Sort the unique entries in a file
|
288
|
+
- tag:
|
289
|
+
- sort
|
290
|
+
- unique
|
291
|
+
- strings
|
292
|
+
- git
|
293
|
+
- log
|
294
|
+
value: git log --pretty='%cn' | sort | uniq
|
295
|
+
description: Find all the users who have commited data to a git repository, and
|
296
|
+
print a sorted unique list
|
297
|
+
- tag:
|
298
|
+
- git
|
299
|
+
- remote
|
300
|
+
- origin
|
301
|
+
- change
|
302
|
+
- set-url
|
303
|
+
value: git remote set-url origin git@git.whatever.com:derp.git
|
304
|
+
description: Change the remote origin url for a git repository
|
305
|
+
- tag:
|
306
|
+
- ditaa
|
307
|
+
- convert
|
308
|
+
- ascii
|
309
|
+
- image
|
310
|
+
value: http://ditaa.sorceforge.net/
|
311
|
+
description: Ditaa is a small commandline java utility for converting diagrams drawn
|
312
|
+
in asciiart to bitmap images
|
313
|
+
- tag:
|
314
|
+
- asciiflow
|
315
|
+
- ascii
|
316
|
+
- art
|
317
|
+
- editor
|
318
|
+
value: http://www.asciiflow.com/
|
319
|
+
description: Website with an editor you can draw asciiart in.
|
320
|
+
- tag:
|
321
|
+
- requestb.in
|
322
|
+
- webhooks
|
323
|
+
- inspect
|
324
|
+
value: http://requestb.in
|
325
|
+
description: RequestBin lets you create a URL that will collect requests made to
|
326
|
+
it, then let you inspet them in a human friendly way.
|
327
|
+
- tag:
|
328
|
+
- git
|
329
|
+
- delete
|
330
|
+
- remote
|
331
|
+
- branch
|
332
|
+
value: git push origin :branch-name
|
333
|
+
description: Delete a remote branch on origin
|
334
|
+
- tag:
|
335
|
+
- git
|
336
|
+
- delete
|
337
|
+
- remote
|
338
|
+
- branch
|
339
|
+
value: git push origin --delete branch-name
|
340
|
+
description: Delete a remote branch on origin
|
341
|
+
- tag:
|
342
|
+
- git
|
343
|
+
- remote
|
344
|
+
- prune
|
345
|
+
- origin
|
346
|
+
value: git remote prune origin
|
347
|
+
description: Removes tracking branches whose remote branches have been removed already.
|
348
|
+
- tag:
|
349
|
+
- git
|
350
|
+
- website
|
351
|
+
- reference
|
352
|
+
value: http://www.gitguys.com/topics/
|
353
|
+
description: Good reference website for git
|
354
|
+
- tag:
|
355
|
+
- git
|
356
|
+
- set
|
357
|
+
- upstream
|
358
|
+
value: git branch --set-upstream branch-name origin/branch-name
|
359
|
+
description: Configures git to automatically pull/fetch from the origin/branch-name
|
360
|
+
rather than having to type the full thing out
|
361
|
+
- tag:
|
362
|
+
- rails
|
363
|
+
- ruby
|
364
|
+
- mongodb
|
365
|
+
- orm
|
366
|
+
value: --orm=mongo_mapper
|
367
|
+
description: When working with ruby on rails and mongodb, you can set the database
|
368
|
+
orm using this command
|
369
|
+
- tag:
|
370
|
+
- ruby
|
371
|
+
- setter
|
372
|
+
- getter
|
373
|
+
- attr_accessor
|
374
|
+
value: attr_accessor
|
375
|
+
description: The automatic setter getter system built into Ruby
|
376
|
+
- tag:
|
377
|
+
- apache
|
378
|
+
- http
|
379
|
+
- path
|
380
|
+
value: /srv/http/
|
381
|
+
description: Default location of the apache public HTTP folder on Archlinux
|
382
|
+
- tag:
|
383
|
+
- prolog
|
384
|
+
- load
|
385
|
+
- file
|
386
|
+
value: reconsult('/path/to/file')
|
387
|
+
description: To load a file in the SWIPL commandline prolog interpreter, we can
|
388
|
+
use the reconsult() method
|
389
|
+
- tag:
|
390
|
+
- apache
|
391
|
+
- webbapps
|
392
|
+
- directory
|
393
|
+
value: /usr/share/webapps/
|
394
|
+
description: Path to the Apache HTTPD's webapp directory
|
395
|
+
- tag:
|
396
|
+
- word
|
397
|
+
- count
|
398
|
+
- terminal
|
399
|
+
- useful
|
400
|
+
value: wc -w <file>
|
401
|
+
description: To count the number of words in a file we can use this command
|
402
|
+
- tag:
|
403
|
+
- commandline
|
404
|
+
- arduino
|
405
|
+
- ide
|
406
|
+
- firmware
|
407
|
+
value: http://inotool.org
|
408
|
+
description: Commandline toolkit for working with Arduino hardware.
|
409
|
+
- tag:
|
410
|
+
- zip
|
411
|
+
- folder
|
412
|
+
- linux
|
413
|
+
value: zip -9 -r <zip file> <folder name>
|
414
|
+
description: Use -9 for best compression, works fine with Windows compression tool
|
415
|
+
- tag:
|
416
|
+
- zip
|
417
|
+
- folder
|
418
|
+
- linux
|
419
|
+
value: zip archivefile1 *
|
420
|
+
description: Creates an archive file named archivefile1.zip from the contents of
|
421
|
+
the current directory, ignoring files beginning with .
|
422
|
+
- tag:
|
423
|
+
- vim
|
424
|
+
- find
|
425
|
+
- replace
|
426
|
+
- all
|
427
|
+
value: ':%s/find/replace/g'
|
428
|
+
description: Find all occurances of 'find' and replace with 'replace' in currently
|
429
|
+
opened file
|
430
|
+
- tag:
|
431
|
+
- ls
|
432
|
+
- sort
|
433
|
+
- date
|
434
|
+
- reverse
|
435
|
+
value: ls -ltr
|
436
|
+
description: Sort directory listing by modified date
|
437
|
+
- tag:
|
438
|
+
- gnome
|
439
|
+
- image
|
440
|
+
- viewer
|
441
|
+
value: eog <filename>
|
442
|
+
description: Open the Gnome Image Viewer utility
|
443
|
+
- tag:
|
444
|
+
- ubuntu
|
445
|
+
- resolv.conf
|
446
|
+
- dns
|
447
|
+
- file
|
448
|
+
value: sudo vim /etc/resolv.conf
|
449
|
+
description: Add nameserver 192.168.0.1 to add your router to this list of DNS servers
|
450
|
+
- tag:
|
451
|
+
- ruby
|
452
|
+
- constructor
|
453
|
+
- initialize
|
454
|
+
value: def initialize
|
455
|
+
description: The ruby constructor
|
456
|
+
- tag:
|
457
|
+
- git
|
458
|
+
- push
|
459
|
+
- tags
|
460
|
+
- remote
|
461
|
+
value: git push --tags
|
462
|
+
description: Pushes the locally stored tags to the remote repository
|
463
|
+
- tag:
|
464
|
+
- git
|
465
|
+
- log
|
466
|
+
- tag
|
467
|
+
value: git log v0.0.10
|
468
|
+
description: Will return the git log information and therefore the commit hash etc
|
469
|
+
for a particular git tag
|
470
|
+
- tag:
|
471
|
+
- git
|
472
|
+
- list
|
473
|
+
- tag
|
474
|
+
- tags
|
475
|
+
value: git tag
|
476
|
+
description: List the tags currently in this git repository
|
477
|
+
- tag:
|
478
|
+
- git
|
479
|
+
- log
|
480
|
+
- tag
|
481
|
+
value: git log <commithash>..<commithash>
|
482
|
+
description: Print the commits between the first and second
|
483
|
+
- tag:
|
484
|
+
- mount
|
485
|
+
- nexus
|
486
|
+
- nexus7
|
487
|
+
- linux
|
488
|
+
value: sudo mtpfs -o allow_other /media/Nexus7
|
489
|
+
description: Mount the Nexus 7 Tablet in Linux
|
490
|
+
- tag:
|
491
|
+
- bash
|
492
|
+
- append
|
493
|
+
- variable
|
494
|
+
value: VARIABLENAME+=shittoappend
|
495
|
+
description: Append a string to a variable in bash
|
496
|
+
- tag:
|
497
|
+
- archlinux
|
498
|
+
- arch
|
499
|
+
- linux
|
500
|
+
- pacman
|
501
|
+
- list
|
502
|
+
- packages
|
503
|
+
- package
|
504
|
+
value: pacman -Q
|
505
|
+
description: Pacman lists the currently installed packages
|
506
|
+
- tag:
|
507
|
+
- archlinux
|
508
|
+
- arch
|
509
|
+
- linux
|
510
|
+
- pacman
|
511
|
+
- upgrade
|
512
|
+
- package
|
513
|
+
- packages
|
514
|
+
value: pacman -U <packagename>
|
515
|
+
description: Upgrade a package to the version specified by parameter
|
516
|
+
- tag:
|
517
|
+
- archlinux
|
518
|
+
- arch
|
519
|
+
- linux
|
520
|
+
- pacman
|
521
|
+
- uninstall
|
522
|
+
- remove
|
523
|
+
- packages
|
524
|
+
- package
|
525
|
+
value: pacman -R <packagename>
|
526
|
+
description: Remove an installed package using pacman
|
527
|
+
- tag:
|
528
|
+
- archlinux
|
529
|
+
- arch
|
530
|
+
- linux
|
531
|
+
- pacman
|
532
|
+
- system
|
533
|
+
- upgrade
|
534
|
+
value: pacman -Syu
|
535
|
+
description: Upgrade the packages installed on the system
|
536
|
+
- tag:
|
537
|
+
- linux
|
538
|
+
- screen
|
539
|
+
- command
|
540
|
+
- window
|
541
|
+
- manager
|
542
|
+
- detach
|
543
|
+
value: ctrl-a d
|
544
|
+
description: Inside a screen process ctrl-a to access the screen, and d to detach
|
545
|
+
- tag:
|
546
|
+
- linux
|
547
|
+
- screen
|
548
|
+
- command
|
549
|
+
- window
|
550
|
+
- manager
|
551
|
+
- list
|
552
|
+
- detached
|
553
|
+
- screens
|
554
|
+
- detach
|
555
|
+
value: screen -ls
|
556
|
+
description: Lists all detached screens on the system
|
557
|
+
- tag:
|
558
|
+
- linux
|
559
|
+
- screen
|
560
|
+
- command
|
561
|
+
- window
|
562
|
+
- manager
|
563
|
+
- reattach
|
564
|
+
- detach
|
565
|
+
- detached
|
566
|
+
- screens
|
567
|
+
value: screen -r <detachedsession>
|
568
|
+
description: Reattach a detached session to the current window
|
569
|
+
- tag:
|
570
|
+
- git
|
571
|
+
- push
|
572
|
+
- tags
|
573
|
+
- tag
|
574
|
+
- remote
|
575
|
+
value: git push --tags
|
576
|
+
description: Push local tags to the remote origin
|
577
|
+
- tag:
|
578
|
+
- git
|
579
|
+
- rename
|
580
|
+
- branch
|
581
|
+
value: git branch -m <oldname> <newname>
|
582
|
+
description: Rename a local branch from <oldname> to <newname>
|
583
|
+
- tag:
|
584
|
+
- virtualenv
|
585
|
+
- venv
|
586
|
+
- virtual
|
587
|
+
- environment
|
588
|
+
value: virtualenv venv --distribute
|
589
|
+
description: Install a virtualenv environment at the current path
|
590
|
+
- tag:
|
591
|
+
- count
|
592
|
+
- code
|
593
|
+
- lines
|
594
|
+
- loc
|
595
|
+
value: find . -name '*.rb' | xargs wc -l
|
596
|
+
description: Count all the lines of code recursivly in the specified directory for
|
597
|
+
a specific file type
|
598
|
+
- tag:
|
599
|
+
- sed
|
600
|
+
- find
|
601
|
+
- replace
|
602
|
+
- file
|
603
|
+
value: sed -i 's/ugly/beautiful/g' /path/to/file.txt
|
604
|
+
description: Find and replace all instances of ugly with beautiful in file.txt using
|
605
|
+
the sed Linux tool
|
606
|
+
- tag:
|
607
|
+
- pacman
|
608
|
+
- archlinux
|
609
|
+
- package
|
610
|
+
- search
|
611
|
+
value: pacman -Ss <string> <string2> .. <stringN>
|
612
|
+
description: Search for packages in the Archlinux repository
|
613
|
+
- tag:
|
614
|
+
- ruby
|
615
|
+
- iOS
|
616
|
+
- mac
|
617
|
+
- rubymotion
|
618
|
+
value: www.rubymotion.com
|
619
|
+
description: Ruby on iOS devices - 100% compatible with the app store best practices
|
620
|
+
- tag:
|
621
|
+
- tcpdump
|
622
|
+
- listen
|
623
|
+
- interface
|
624
|
+
- networking
|
625
|
+
value: tcpdump -XX -n -i wlan0
|
626
|
+
description: Listen to all data being recieved on a specified interface
|
627
|
+
- tag:
|
628
|
+
- linux
|
629
|
+
- screen
|
630
|
+
- command
|
631
|
+
- window
|
632
|
+
- add
|
633
|
+
value: ctrl-a c
|
634
|
+
description: Create a new window inside the screen process
|
635
|
+
- tag:
|
636
|
+
- archlinux
|
637
|
+
- pacman
|
638
|
+
- clear
|
639
|
+
- cache
|
640
|
+
- empty
|
641
|
+
value: sudo pacman -Sc
|
642
|
+
description: Deletes all old packages in the pacman cache while keeping a copy of
|
643
|
+
all locally installed packages
|
644
|
+
- tag:
|
645
|
+
- git
|
646
|
+
- show
|
647
|
+
- remote
|
648
|
+
- url
|
649
|
+
- info
|
650
|
+
value: git remote show origin
|
651
|
+
description: Prints status about the current git repository including the remote
|
652
|
+
URL
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: usefuldb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -109,3 +109,4 @@ signing_key:
|
|
109
109
|
specification_version: 3
|
110
110
|
summary: usefuldb - simple database for storage of useful commands and or urls.
|
111
111
|
test_files: []
|
112
|
+
has_rdoc:
|