Skip to content

Instantly share code, notes, and snippets.

View supermarket_upload.log
INFO: Using configuration from /Users/isuftin/.chef/knife-chefio.rb
TRACE: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
TRACE: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
TRACE: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
TRACE: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
TRACE: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
TRACE: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
TRACE: Initiating GET to https://supermarket.chef.io/api/v1/cookbooks/stig
TRACE: ---- HTTP Request Header Data: ----
TRACE: Accept: application/json
View rundeck example config
Problem: ERROR StorageController: Error creating resource keys/sdfsdfs/fsdfsdfsd: Converter Plugin jasypt-encryption threw exception during CREATE: org/rundeck/plugin/encryption/JasyptEncryptionConverterPlugin$EncryptStream
Config:
rundeck.config.storage.converter.1.config.encryptorType=basic
rundeck.config.storage.converter.1.config.password=<pass>
rundeck.config.storage.converter.1.path=projects
rundeck.config.storage.converter.1.type=jasypt-encryption
rundeck.projectsStorageType=db
rundeck.storage.converter.1.config.encryptorType=basic
rundeck.storage.converter.1.config.password=<pass>
@isuftin
isuftin / README.md
Last active Dec 11, 2017
Write Testable BackboneJS Applications using RequireJS
View README.md

In a previous write-up I described how I was able to bring together RequireJS with Jasmine to create modular, testable applications. Now I'd like to describe taking it a step further and bringing BackboneJS into the mix.

Our dev shop has been slowly proliferating BackboneJS applications over the last year or two. Personally, I like the structure BackboneJS provides without being overbearing and over-prescriptive in how your applications should be built. It gives just enough skeleton and event and routing to be useful without you having to constantly battle writing your app the way BackboneJS's authors want you to.

Let's see how we can get BackboneJS running inside of a RequireJS modular framework and then test the result using Jasmine and SinonJS.

The goals for this write-up are:

  1. [Descr
@isuftin
isuftin / README.md
Last active Dec 19, 2017
Combining RequireJS, Jasmine, Webjars and the maven-jasmine plugin to create clean, testable and maintainable javascript