Skip to content

Instantly share code, notes, and snippets.

@lnxchk
lnxchk / apology101.markdown
Created March 22, 2012 19:28 — forked from avdi/apology101.markdown
How to apologize

Chances are your head's spinning right now. That accusation of bias caught you off guard, you got kind of defensive, and now all hell has broken loose. You're feeling attacked on all sides. You're a good person at heart, and having all these people treat you like the antichrist is pretty upsetting.

You need to say something, but you're probably not in the best headspace to write copy right now. So to help you along, here's my 100% guaranteed-or-you-money-back scandal defusement apology template:

powershell_script "Install IIS" do
code "CMD /C START /w PKGMGR.EXE /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;WAS-WindowsActivationService;WAS-ProcessModel;IIS-FTPServer;IIS-FTPSvc;IIS-FTPExtensibility;IIS-WebDAV;IIS-ASPNET;IIS-N
Username: chef
Password: chef
52.212.21.119
52.208.194.239
52.211.53.201
52.212.162.220
52.212.74.208
52.210.27.225
-----------------------------------
| User: chef |
| Pass: chef |
-----------------------------------
| Name | IP |
===================================
| Toralf B | 52.213.3.177 |
-----------------------------------
| Stefan C | 52.50.236.74 |
-----------------------------------
@lnxchk
lnxchk / Habitat Java Workshop plan.sh
Last active October 17, 2017 12:32
Files for Habitat Java Workshop
pkg_name=national-parks
pkg_description="A sample JavaEE Web app deployed in the Tomcat8 package"
pkg_origin=manditest
pkg_version=0.1.3
pkg_maintainer="Mandi <mandi@chef.io>"
pkg_license=('Apache-2.0')
pkg_source=https://github.com/billmeyer/national-parks
pkg_deps=(core/tomcat8 billmeyer/mongodb)
pkg_build_deps=(core/git core/maven)
pkg_expose=(8080)
workstation1
54.246.221.219
Public IP address of workstation 1
workstation2
176.34.155.40
Public IP address of workstation 2
workstation3
54.194.74.0
workstation1
54.246.221.219
Public IP address of workstation 1
workstation2
176.34.155.40
Public IP address of workstation 2
workstation3
54.194.74.0

Keybase proof

I hereby claim:

  • I am lnxchk on github.
  • I am lnxchk (https://keybase.io/lnxchk) on keybase.
  • I have a public key ASAXnrGOhV-FVZWAQT1RhOlrpbcY6wTLEN2nPXmJOgPJEAo

To claim this, I am signing this object: