This file contains hidden or 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
C:\src\chef\infra-repo [master ≡ +1 ~4 -1 !]> $env:DEBUG="true" | |
C:\src\chef\infra-repo [master ≡ +1 ~4 -1 !]> be sfn list | |
I, [2016-07-15T09:37:50.311312 #54452] INFO -- : Lock aquired for stack update. Requesting stacks from upstream. (#<Thread:0x2464248>) | |
I, [2016-07-15T09:37:53.843429 #54452] INFO -- : Stack list has been updated from upstream and cached locally | |
Name Created Updated Status Template Description | |
... | |
C:\src\chef\infra-repo [master ≡ +1 ~4 -1 !]> be batali resolve |
This file contains hidden or 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
// -*- mode: javascript -*- | |
/// SETTINGS | |
url_remoting_fn = load_url_in_new_buffer; | |
url_completion_use_history = true; | |
var click_in_new_buffer_target = OPEN_NEW_BUFFER_BACKGROUND; | |
// let xkcd-mode put the funny alt text into the page. | |
xkcd_add_title = true; | |
// user prefs |
This file contains hidden or 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
import os,sys | |
sys.path.append("/opt/graphite/webapp/graphite") | |
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' | |
from django.contrib.auth.models import User | |
username = 'root' | |
password = 'change_me' | |
def get_user(username): | |
u = User.objects.get(username__exact=username) |
This file contains hidden or 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
#compdef kitchen | |
#autoload | |
# kitchen zsh completion | |
local -a _1st_arguments | |
_1st_arguments=( | |
'console:Kitchen console!' | |
'converge:[(all|<REGEX>)] [opts] Converge one or more instances' | |
'create:[(all|<REGEX>)] [opts] Create one or more instances' |
This file contains hidden or 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
C:\src\chef\infra-repo [sfn-w2012 ≡ +0 ~2 -1 !]> be sfn parameters show jbtest.json | |
[Sfn]: Running parameters action show | |
ERROR: ArgumentError: Multiple matches detected for item `jbtest.json`. (Matches: stacks/jbtest.json, stacks/jbtest.json) | |
C:\src\chef\infra-repo [sfn-w2012 ≡ +0 ~2 -1 !]> ls .\stacks\ | |
Directory: C:\src\chef\infra-repo\stacks | |
Mode LastWriteTime Length Name |
This file contains hidden or 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
function Initialize-Direnv { | |
if($env:DIRENV_AUTH_FILE){ | |
if(-not (test-path $env:DIRENV_AUTH_FILE)) { return "Auth file unreadable: $env:DIRENV_AUTH_FILE" } | |
# stole this stuff from https://github.com/lzybkr/PSReadLine/blob/master/PSReadLine/SamplePSReadlineProfile.ps1 | |
$global:DIRENV = [System.Collections.ArrayList]@( | |
$last = '' | |
$lines = '' | |
foreach ($line in [System.IO.File]::ReadLines($env:DIRENV_AUTH_FILE)) | |
{ | |
if ($lines) |
This file contains hidden or 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
# Single compute node in a basic network. | |
# lots of hardcoded stuff so a bad example, but functional | |
SparkleFormation.new(:azure_compute, :provider => :azure) do | |
set!('$schema', 'https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#') | |
content_version '1.0.0.0' | |
parameters do | |
sparkle_image_id do | |
type 'string' | |
default_value '14.04.2-LTS' | |
end |
This file contains hidden or 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
; bug.n - tiling window management | |
; @version 9.0.0 | |
Monitor_#1_aView_#2=3 | |
Monitor_#2_aView_#2=3 | |
View_#2_#1_layoutAxis_#1=2.000000 | |
View_#2_#1_layoutMFact=0.650000 | |
View_#2_#3_layoutAxis_#1=2.000000 | |
;;; Layout |
This file contains hidden or 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
####trying to run kitchen setup | |
####.kitchen.yml contents | |
--- | |
driver_plugin: vagrant | |
provisioner: | |
name: chef_zero | |
platforms: |
This file contains hidden or 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
"os": "windows", | |
"os_version": "6.1.7601", | |
"platform": "windows", | |
"platform_version": "6.1.7601", | |
"platform_family": "windows", |