Skip to content

Instantly share code, notes, and snippets.

# OSX for Hackers (Mavericks/Yosemite)
# Source:
# Some things taken from here
# Ask for the administrator password upfront

OS X Preferences

most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
git remote set-url origin git://
yekki / gitproxy-socat
Last active August 29, 2015 14:25 — forked from sit/gitproxy-socat
A simple wrapper around socat to use as a git proxy command
# Use socat to proxy git through an HTTP CONNECT firewall.
# Useful if you are trying to clone git:// from inside a company.
# Requires that the proxy allows CONNECT to port 9418.
# Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run
# chmod +x gitproxy
# git config --global core.gitproxy gitproxy
# More details at
yekki / pom.xml
Last active August 10, 2018 06:27
WebLogic Server 12.2.1 Maven POM Sample
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi=""
yekki /
Created December 21, 2018 03:52 — forked from tamas-molnar/
aliases and shortcuts for kubectl
alias kc='kubectl'
alias kclf='kubectl logs --tail=200 -f'
alias kcgs='kubectl get service -o wide'
alias kcgd='kubectl get deployment -o wide'
alias kcgp='kubectl get pod -o wide'
alias kcgn='kubectl get node -o wide'
alias kcdp='kubectl describe pod'
alias kcds='kubectl describe service'
alias kcdd='kubectl describe deployment'
alias kcdf='kubectl delete -f'
yekki / gist:d247e309f40af098afa1223138cd02b3
Created February 11, 2017 01:57
2-way SSL for WebLogic
Initialize environment variables via
1. Use CertGen to Generate Server Private Key and Certificate
java utils.CertGen -selfsigned -certfile MyOwnSelfCA.cer -keyfile MyOwnSelfKey.key -keyfilepass mykeypass -cn "My Own Self CA"
2. Create the Identity Keystore
java utils.ImportPrivateKey -keystore MyOwnIdentityStore.jks -storepass identitypass -keypass keypassword -alias trustself -certfile MyOwnSelfCA.cer.pem -keyfile MyOwnSelfKey.key.pem -keyfilepass mykeypass