-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify generation process to keep common commands in separate Go file
- Loading branch information
1 parent
d2316b3
commit d8ecc94
Showing
3,882 changed files
with
496 additions
and
93,913 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# csvkit | ||
|
||
> Manipulation toolkit for CSV files. | ||
> See the individual commands: `csvclean`, `csvcut`, `csvformat`, `csvgrep`, `csvlook`, `csvpy`, `csvsort`, `csvstat`. | ||
> More information: <https://csvkit.readthedocs.io/en/0.9.1/cli.html>. | ||
|
||
- Run a command on a CSV file with a custom delimiter: | ||
|
||
`{{cmd}} -d {{delimiter}} {{filename.csv}}` | ||
|
||
- Run a command on a CSV file with a tab as a delimiter (overrides -d): | ||
|
||
`{{cmd}} -t {{filename.csv}}` | ||
|
||
- Run a command on a CSV file with a custom quote character: | ||
|
||
`{{cmd}} -q {{quote_char}} {{filename.csv}}` | ||
|
||
- Run a command on a CSV file with no header row: | ||
|
||
`{{cmd}} -H {{filename.csv}}` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# pprof | ||
|
||
> Command-line tool for visualization and analysis of profile data. | ||
> More information: <https://github.com/google/pprof>. | ||
|
||
- Generate a text report from a specific profiling file, on fibbo binary: | ||
|
||
`pprof -top {{./fibbo}} {{./fibbo-profile.pb.gz}}` | ||
|
||
- Generate a graph and open it on a web browser: | ||
|
||
`pprof -svg {{./fibbo}} {{./fibbo-profile.pb.gz}}` | ||
|
||
- Run pprof in interactive mode to be able to manually launch `pprof` on a file: | ||
|
||
`pprof {{./fibbo}} {{./fibbo-profile.pb.gz}}` | ||
|
||
- Run a web server that serves a web interface on top of `pprof`: | ||
|
||
`pprof -http={{localhost:8080}} {{./fibbo}} {{./fibbo-profile.pb.gz}}` | ||
|
||
- Fetch a profile from an HTTP server and generate a report: | ||
|
||
`pprof {{http://localhost:8080/debug/pprof}}` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.