Skip to content

Instantly share code, notes, and snippets.

# Create-App-With-Imported-App-Credentials.ps1
function Create-App-With-Imported-App-Credentials {
<#
.SYNOPSIS
Imports a key+secret (a credential) into Apigee Edge.
.DESCRIPTION
Imports a key+secret (a credential) into Apigee Edge. This will be stored in
a newly-created developer app, which will be associated to an existing developer.
@P4
P4 / default.reg
Last active April 13, 2024 05:23
Color schemes for Windows Command Prompt
Windows Registry Editor Version 5.00
; Default color scheme
; for Windows command prompt.
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:00000000
"ColorTable08"=dword:00808080
; BLUE LBLUE
@jaytaylor
jaytaylor / camel_case_to_snake_case.py
Created September 6, 2012 21:41
Convert camel-case to snake-case in python.
#!/usr/bin/env python
"""
Convert camel-case to snake-case in python.
e.g.: CamelCase -> snake_case
Relevant StackOverflow question: http://stackoverflow.com/a/1176023/293064
"""
@zacharyvoase
zacharyvoase / caseless_dict.py
Created August 14, 2011 23:20
Fast, case-ignoring and preserving dictionaries in Python.
"""A caseless dictionary implementation."""
from collections import MutableMapping
class CaselessDictionary(MutableMapping):
"""
A dictionary-like object which ignores but preserves the case of strings.