Skip to content

Instantly share code, notes, and snippets.

@maop
maop / soyoustart.py
Created December 10, 2015 02:11
Python Script for watching SoYouStart.com server availability, it can watch many servers at many datacenters and notify by email
#!/usr/bin/env python
# I was in a hurry for a SYS server so i make this quick script,
# notice that you have to use codes from the "us" version, since server's id
# are different in the Europe versions of ovh sites
# You'll receive notification mails like this:
#
# 141cabk1 | BK-8T: Intel i3 2130 2c/4t 3.4 GHz+ 8 GB 2x4 TB SATA
# AVAILABLE (1H-low) in gra
# AVAILABLE (1H-low) in sbg
@lbrenman
lbrenman / README.md
Last active June 3, 2020 01:26
Appcelerator Titanium PDF Viewer Demo 1 - If not already loaded, then retrieve PDF from web site and store in file system and view

#PDF Viewer demo - from web site URL

  1. check if PDF has been downloaded from web site and stored in file system
  2. if not, then retrieve from web site and store in file system and open
  • use docviewer on ios and exernal app (via intent) on android
  1. if so, then open pdf
  • use docviewer on ios and exernal app (via intent) on android

Note that Android, the file is stored in the externalStorageDirectory (SDCard) so deleting the application will not remove the pdf form the SDCard. Use a File Manager app (pn Android) to delete the file