Instantly share code, notes, and snippets.

View credit-card-holder.html
<html>
<body>
<input id="number-1" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-2" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-3" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-4" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-5" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-6" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<script>
function goToNext(sender, event) {
View GitLab.cls
Private pGitLabClient As WebClient
Private pToken As String
Private Property Get Token() As String
If pToken = "" Then
If Credentials.Loaded Then
pToken = Credentials.Values("GitLab")("token")
Else
pToken = InputBox("GitLab Token?")
End If
View proxy.sh
#!/bin/bash
interface="Wi-Fi"
autoProxyURL="http://proxyserver:8080/accelerated_pac_base.pac"
proxyURL="http://proxyuser:proxypass@proxyserver:8080"
SSID=$(networksetup -getairportnetwork en0 | awk -F": " '{print $2}')
echo "WIFI SSID: $SSID"
if [ "$SSID" = "PROXY_NEEDED_WIFI" ]
then