Skip to content

Instantly share code, notes, and snippets.

View tevert's full-sized avatar

Tyler Evert tevert

View GitHub Profile
@tevert
tevert / config.rb
Last active July 26, 2016 20:38
A generic knife config file so I don't have to remember this every time, can be overriden/reused for multiple environments. Hopefully cross platform, but I haven't tested that.
org=ENV["CHEF_ORG"] || "Your Org Here"
user=ENV["CHEF_USER"] || "Your Chef Username"
# Try to use environment variables, otherwise assume this file is in ~/.chef
homedir=ENV["HOME"] || ENV["USERPROFILE"] || "#{File.dirname(__FILE__)}/.."
chef_server_url "https://manage.chef.io/organizations/#{org}"
client_key "#{homedir}/.chef/#{user}.pem"
node_name user
cookbook_path [ ".", "#{homedir}/.berkshelf/cookbooks" ]
cookbook_copyright org
@tevert
tevert / basics.bat
Last active June 15, 2017 13:53
A series of git operations to walk newcomers through the ropes (Windows-oriented)
REM <-- this is how you make a comment in .bat (batch) files
REM cd or chdir to change directories
cd Desktop
chdir C:\
REM use "." or ".." to refer to the current or parent directory, respectively
cd ..
cd .\Desktop
<html>
<head>
<!-- JQuery -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<!-- Latest bootstrap, because I'm too lazy to implement simple columns on my own -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<style>
img.favicon {
@tevert
tevert / keybase.md
Created March 30, 2018 00:12
keybase.md

Keybase proof

I hereby claim:

  • I am tevert on github.
  • I am tevert (https://keybase.io/tevert) on keybase.
  • I have a public key ASAowMzKPaNnGow1najyAyOCVRaTa4RCq8qWtiATepYZQwo

To claim this, I am signing this object: