Skip to content

Commit

Permalink
doc: use HTTPS for all links
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceadams authored and BurntSushi committed Sep 6, 2019
1 parent c0d2666 commit 3de6c04
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion BENCHMARKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ These are some very basic and unscientific benchmarks of various commands
provided by `xsv`. Please see below for more information.

These benchmarks were run with
[worldcitiespop_mil.csv](http://burntsushi.net/stuff/worldcitiespop_mil.csv),
[worldcitiespop_mil.csv](https://burntsushi.net/stuff/worldcitiespop_mil.csv),
which is a random 1,000,000 row subset of the world city population dataset
from the [Data Science Toolkit](https://github.com/petewarden/dstkdata).

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "xsv"
version = "0.13.0" #:version
authors = ["Andrew Gallant <jamslam@gmail.com>"]
description = "A high performance CSV command line toolkit."
documentation = "http://burntsushi.net/rustdoc/xsv/"
documentation = "https://burntsushi.net/rustdoc/xsv/"
homepage = "https://github.com/BurntSushi/xsv"
repository = "https://github.com/BurntSushi/xsv"
readme = "README.md"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ a quick tour of several commands.

[![Linux build status](https://api.travis-ci.org/BurntSushi/xsv.svg)](https://travis-ci.org/BurntSushi/xsv)
[![Windows build status](https://ci.appveyor.com/api/projects/status/github/BurntSushi/xsv?svg=true)](https://ci.appveyor.com/project/BurntSushi/xsv)
[![](http://meritbadge.herokuapp.com/xsv)](https://crates.io/crates/xsv)
[![](https://meritbadge.herokuapp.com/xsv)](https://crates.io/crates/xsv)

Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
Dual-licensed under MIT or the [UNLICENSE](https://unlicense.org).


### Available commands
Expand Down Expand Up @@ -61,7 +61,7 @@ several CSV files. Maybe you're interested in the population counts of each
city in the world. So grab the data and start examining it:

```bash
$ curl -LO http://burntsushi.net/stuff/worldcitiespop.csv
$ curl -LO https://burntsushi.net/stuff/worldcitiespop.csv
$ xsv headers worldcitiespop.csv
1 Country
2 City
Expand Down Expand Up @@ -323,7 +323,7 @@ $ nix-env -i xsv
Alternatively, you can compile from source by
[installing Cargo](https://crates.io/install)
([Rust's](http://www.rust-lang.org/) package manager)
([Rust's](https://www.rust-lang.org/) package manager)
and installing `xsv` using Cargo:
```bash
Expand Down Expand Up @@ -382,4 +382,4 @@ hope of dealing with data that large.
### Naming collision
This project is unrelated to another similar project with the same name:
http://mj.ucw.cz/sw/xsv/
https://mj.ucw.cz/sw/xsv/
2 changes: 1 addition & 1 deletion UNLICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>
For more information, please refer to <https://unlicense.org/>
2 changes: 1 addition & 1 deletion scripts/benchmark-basic
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pat="$1"
data=/tmp/worldcitiespop_mil.csv
data_idx=/tmp/worldcitiespop_mil.csv.idx
if [ ! -r "$data" ]; then
curl -sS http://burntsushi.net/stuff/worldcitiespop_mil.csv > "$data"
curl -sS https://burntsushi.net/stuff/worldcitiespop_mil.csv > "$data"
fi
data_size=$(stat --format '%s' "$data")

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn sample_reservoir<R: io::Read>(
seed: Option<usize>
) -> CliResult<Vec<csv::ByteRecord>> {
// The following algorithm has been adapted from:
// http://en.wikipedia.org/wiki/Reservoir_sampling
// https://en.wikipedia.org/wiki/Reservoir_sampling
let mut reservoir = Vec::with_capacity(sample_size as usize);
let mut records = rdr.byte_records().enumerate();
for (_, row) in records.by_ref().take(reservoir.capacity()) {
Expand Down

0 comments on commit 3de6c04

Please sign in to comment.