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 python | |
################################################################################################### | |
# ChronosTool.py | |
# Tool for programming TI eZ430-Chronos watches | |
# (C) 2011, Christiane Ruetten, [email protected] | |
# | |
# Released under GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html | |
# | |
# The included ram_based_updater.txt binary blob rfbsl code is | |
# (C) 2010 Texas Instruments Inc., released under the following license: |
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 python | |
################################################################################################### | |
# ChronosTool.py | |
# Tool for programming TI eZ430-Chronos watches | |
# (C) 2011, Christiane Ruetten, [email protected] | |
# | |
# Released under GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html | |
# | |
# The included ram_based_updater.txt binary blob rfbsl code is | |
# (C) 2010 Texas Instruments Inc., released under the following license: |
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
@8000 | |
12 00 24 00 47 00 8F 00 1E 01 3B 02 76 04 9A EF | |
00 00 74 8A 00 00 04 B3 00 00 0C F4 00 00 20 80 | |
4A E0 00 00 16 B2 00 00 5A C6 00 00 96 DE 00 00 | |
32 80 90 F6 00 00 82 B6 00 00 36 BE 00 00 8A DE | |
00 00 44 80 AC EF 00 00 D6 AB 00 00 B6 93 00 00 | |
0C F4 00 00 56 80 0A E9 00 00 90 F6 00 00 BA A4 | |
00 00 70 DE 00 00 0E 80 3C E6 00 00 B6 94 00 00 | |
F6 AC 00 00 9E DE 00 00 7A 80 32 EB 00 00 6A E8 | |
00 00 C2 9D 00 00 F4 F3 00 00 8C 80 C4 EB 00 00 |
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 urllib | |
import urllib2 | |
import socket | |
from google.appengine.api import urlfetch | |
from google.appengine.api.urlfetch import DownloadError | |
from google.appengine.ext import db | |
from models import Status, Service, Event | |
from datetime import datetime, timedelta, date |
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 requests | |
import json | |
zone = ['at01', 'at02', 'ch01', 'ch02', 'cn01', 'cn02', 'cn03', 'cn04', 'us01', 'us02', 'us03', 'google1', 'google2', 'he', 'opendns1', 'opendns2'] | |
for i in zone: | |
r = requests.get('http://www.dns-lg.com/' + i + '/123pay.vn/ns') | |
print 'location: %s, data: %s' % (i, json.dumps(r.json(), indent=3)) |
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 socket | |
import time | |
s = socket.socket() | |
address = 'hostname.com' | |
port = 443 | |
try: | |
s.connect((address, port)) | |
print(time.asctime() + " OK") | |
except Exception as e: |
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
#Steps taken to install Big Blue Button in CentOS 6 | |
# we'll work mostly from the /tmp/ directory: | |
cd /tmp | |
#Install freeswitch | |
rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-0.noarch.rpm | |
yum install freeswitch-config-vanilla | |
yum install sox freeswitch-sounds* |
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
''' | |
Copyright (c) 2011, Richard Nienaber | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | |
The name of 'Richard Nienaber' may not be used to endorse or promote products derived from this software without specific prior written permission. |
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
https://developers.google.com/chart/interactive/docs/gallery/orgchart |
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
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArcAAAE1CAIAAAByb19uAAAACXBIWXMAAAxOAAAMTgF/d4wjAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByA |
OlderNewer