Skip to content

Instantly share code, notes, and snippets.

View RobbieMcKinstry's full-sized avatar

Robbie McKinstry RobbieMcKinstry

View GitHub Profile
@RobbieMcKinstry
RobbieMcKinstry / Cargo.toml
Last active August 30, 2019 21:02
Rust Futures Weirdness
[package]
name = "futures-demo"
version = "0.1.0"
authors = ["Robbie"]
edition = "2018"
[dependencies]
futures-preview = "0.3.0-alpha.17"
tokio = "=0.2.0-alpha.1"

Keybase proof

I hereby claim:

  • I am robbiemckinstry on github.
  • I am thesnowmancometh (https://keybase.io/thesnowmancometh) on keybase.
  • I have a public key whose fingerprint is 089A 6BF6 613B 5735 BC2D 777D 4975 9DE8 0A2E 4066

To claim this, I am signing this object:

@RobbieMcKinstry
RobbieMcKinstry / shell.bash
Created September 15, 2018 05:24
Common commands for working with Rust
# Type and borrow check your code without generating the binary.
# This will dramatically speed up compilation since it doesn't
# produce a binary
cargo check
# Run your tests
cargo test

Keybase proof

I hereby claim:

To claim this, I am signing this object:

# How to: Polymer
##Installation Instructions: Alternative Method:
-------
### On a Linux distro who's default package manager is `apt-get` (Debian, Ubuntu...)
1. Open up the terminal, and execute all of the below commands one by one.
- `sudo apt-get install -yq npm` --> This will install the Node package manager. You might already have this. You can check with `which npm`; if you get a result back, then it's already installed.
- `npm install -g bower` --> This installs bower, a package manager for JavaScript. You probably don't have it, but you can check with the command `which bower`; if you get a result back, then it's already installed.
- `bower init` --> fill out all the information. The defaults are perfectly acceptable.