Skip to content

Instantly share code, notes, and snippets.

View gvalkov's full-sized avatar

Georgi Valkov gvalkov

  • Eindhoven, the Netherlands
View GitHub Profile
@gvalkov
gvalkov / cli-optgroups
Created December 9, 2012 22:16
pip help look and feel [wip]
------------- pip help -------------
Usage: pip COMMAND [OPTIONS]
Commands:
bundle Create pybundles (archives containing multiple packages)
freeze Output all currently installed packages (exact versions) to stdout
help Show available commands
install Install packages
search Search PyPI
@gvalkov
gvalkov / gem.txt
Created November 10, 2012 04:52
cli
$ gem
RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.
Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
Examples:
$ /usr/bin/time --verbose python test.py py uint32
9.54168200493
Command being timed: "python test.py py uint32"
User time (seconds): 11.04
System time (seconds): 1.46
Percent of CPU this job got: 98%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:12.73
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Extracting 5 frames from source.gif
Creating extra frame 'frame-0005.gif' from 'frame-0000.gif'
Blending frame-0001.gif with frame-0000.gif:
frame-0001.gif + 0000% + frame-0000.gif -> frame-0001-0000.gif
frame-0001.gif + 0010% + frame-0000.gif -> frame-0001-0010.gif
frame-0001.gif + 0030% + frame-0000.gif -> frame-0001-0030.gif
frame-0001.gif + 0051% + frame-0000.gif -> frame-0001-0051.gif
frame-0001.gif + 0068% + frame-0000.gif -> frame-0001-0068.gif
frame-0001.gif + 0080% + frame-0000.gif -> frame-0001-0080.gif
@gvalkov
gvalkov / cabal
Created May 15, 2012 13:11
Attachment to request #532
------ cabal --help ------
This program is the command line interface to the Haskell Cabal infrastructure.
See http://www.haskell.org/cabal/ for more information.
Usage: cabal COMMAND [FLAGS]
or: cabal [GLOBAL FLAGS]
Global flags:
-h --help Show this help text
@gvalkov
gvalkov / pip help
Created January 3, 2012 20:19
pip help proposal
Usage: pip <command> [options]
Commands:
bundle create pybundle
freeze list installed packages
help show available commands
install install packages
search search pypi
uninstall uninstall packages
unzip unzip individual packages
@gvalkov
gvalkov / New Output
Created August 23, 2011 17:52
`youtube-dl --help` comparison
$ ./youtube-dl --help
Usage: Usage : youtube-dl [options] url...
Options:
General Options:
-h, --help print this help text and exit
-v, --version print program version and exit
-U, --update update this program to latest stable version
-i, --ignore-errors continue on download errors
-r, --rate-limit LIMIT download rate limit (e.g. 50k or 44.6m)