Skip to content

Instantly share code, notes, and snippets.

@dseravalli
dseravalli / keybase.md
Created September 11, 2020 18:54
Keybase Proof

Keybase proof

I hereby claim:

  • I am dseravalli on github.
  • I am dseravalli (https://keybase.io/dseravalli) on keybase.
  • I have a public key ASA7L0XcBgNLaWosT_YvP_VKVZWR0TmkKZ2-If53uj1wKwo

To claim this, I am signing this object:

❯ TF_LOG=trace terraform init
2020/05/18 17:36:11 [INFO] Terraform version: 0.12.25
2020/05/18 17:36:11 [INFO] Go runtime version: go1.12.13
2020/05/18 17:36:11 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"}
2020/05/18 17:36:11 [DEBUG] Attempting to open CLI config file: /Users/dseravalli/.terraformrc
2020/05/18 17:36:11 Loading CLI configuration from /Users/dseravalli/.terraformrc
2020/05/18 17:36:11 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2020/05/18 17:36:11 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
@dseravalli
dseravalli / gist:7602895
Last active December 29, 2015 02:49
Guzzle Example
<?php
require_once(APP.'vendors/guzzle.phar');
use Guzzle\Http\Client;
//connect to server
$client = new Client();
$client->setDefaultOption('auth', array('username', 'password'));
// Send a PUT request
$request = $client->put('https://destination.com/path/to/file.jpg',
@dseravalli
dseravalli / gist:7297685
Last active December 27, 2015 08:39
.vimrc
runtime! autoload/pathogen.vim
if exists('g:loaded_pathogen')
execute pathogen#infect('~/.vimbundles/{}')
endif
filetype on
filetype plugin indent on
set t_Co=256
colorscheme jellybeans
@dseravalli
dseravalli / gist:7297528
Last active December 27, 2015 08:39
.tmux.conf
setw -g mode-keys vi
set -g status-bg '#666666'
set -g status-fg '#aaaaaa'
set -g default-terminal "screen-256color"
bind z send-keys C-z
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U