Skip to content

Instantly share code, notes, and snippets.

Uploading Boxes to Atlas via Curl

First, you'll need to get an access token.

Then, prepare the upload:

curl 'https://atlas.hashicorp.com/api/v1/box/USERNAME/BOX_NAME/version/VERSION/provider/PROVIDER_NAME/upload?access_token=ACCESS_TOKEN'
@pearkes
pearkes / email.md
Last active January 15, 2016 16:10
An email template to send to your boss following the MongoHQ incident. Use 1Password (preferred), iCloud Keychain or LastPass.

[BOSSES NAME],

Recently, a rather large database provider named MongoHQ had a security incident allowing the attackers to gain access to all of their customer databases.

Although we are not directly affected by this, it does raise a possible question:

  • Are we fully prepared for a similar intrusion?
  • Does our admin/support system have similar vulnerabilities?

Here is an excerpt from their security posting (bold is mine):

@Wolfr
Wolfr / dear-intern.md
Last active December 21, 2015 12:18
Dear intern

Dear student,

when I was 18 I was given an incredible chance. I got to intern 2 months at a company called Netlash in Ghent.

This company was booming at that time and I was just a guy interested in web design with no degree whatsoever.

I worked there for 2 months and learned more than I could imagine. I had 2 bosses: Dirk and Bart. Dirk taught me everything about visual design. Bart taught me about business. I learned the designer's side of web development from the developers.

After I left the internship, Bart called me with an offer to work full time for them. I was happy and did so for 4,5 years.

@jgeurts
jgeurts / install-graphite-ubuntu-12.04.sh
Created July 14, 2012 16:36 — forked from tkoeppen/install-graphite-ubuntu-10.04.sh
Install Graphite 0.9.10 on Ubuntu 12.04
####################################
# BASIC REQUIREMENTS
# http://graphite.wikidot.com/installation
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/
# Last tested & updated 10/13/2011
####################################
cd
sudo apt-get update
sudo apt-get upgrade
@dnagir
dnagir / rspec-syntax-cheat-sheet.rb
Created November 5, 2010 09:29
RSpec 2 syntax cheat sheet by example
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below)
module Player
describe MovieList, "with optional description" do
it "is pending example, so that you can write ones quickly"
it "is already working example that we want to suspend from failing temporarily" do
pending("working on another feature that temporarily breaks this one")