This file contains 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
- name: update-user-email | |
title: Update User's Email | |
description: Update a user's email address. | |
db: | |
connection: users | |
sql: update users set email = :email where id = :id | |
schema: | |
properties: | |
id: | |
type: integer |
This file contains 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
kubectl get pods -o json | | |
jq '.items[] | .metadata.name + " " + (.status.containerStatuses[].restartCount | tostring)' -r | | |
awk '$2 > 0 { print $1 " " $2 }' |
This file contains 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 dedent(callSite, ...args) { | |
function format(str) { | |
let size = -1; | |
return str.replace(/\n(\s+)/g, (m, m1) => { | |
if (size < 0) | |
size = m1.replace(/\t/g, " ").length; |
This file contains 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
< | |
%3C | |
< | |
< | |
< | |
< | |
< | |
< | |
< | |
< |
Instructions taken from Amazon's docs and modified as necessary.
- Download from stunnel's download page
- Run installer w/ default options, create self signed cert by answering questions
- Open the
c:\program files (x86)\stunnel\stunnel.conf
file in notepad - Clear all the server configs (under
Example SSL server mode services
section, won't have aclient = yes
line) - Create a new client config:
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Irony.Parsing; | |
namespace IronyHours | |
{ | |
public class HoursGrammar : Grammar | |
{ |
This file contains 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
#all local branches that are merged into HEAD | |
git branch -d `git branch --merged | grep -v '^*' | tr -d '\n'` | |
#Delete all remote branches that are merged into HEAD | |
#jump back to master | |
git co master | |
#get rid of all local branches not on origin |
- Install folder should be
c:\Ruby22
- Check Add Ruby executables to your PATH
- Install the appropriate DevKit
- Install folder should be
c:\RubyDevKit
- Run Git Shell
- Go to the DevKit folder
cd \RubyDevKit