This file contains hidden or 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
import json | |
import sqlalchemy | |
from sqlalchemy import UnicodeText | |
from sqlalchemy.ext.mutable import Mutable | |
from datetime import datetime | |
from collections import OrderedDict | |
__all__ = ('JSON', 'JsonRaw') |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Check we've got command line arguments | |
if [ -z "$*" ] ; then | |
echo "Need to specify ssh options" | |
exit 1 | |
fi | |
# Start trying and retrying | |
((count = 100)) |
This file contains hidden or 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
#!/bin/sh | |
osascript <<EOF | |
tell application "Terminal" | |
activate | |
set _tab to do script "telnet 127.0.0.1 2001 ; exit" | |
delay 1 | |
repeat while _tab exists | |
delay 1 | |
end repeat |
NewerOlder