Skip to content

Instantly share code, notes, and snippets.

<div data-role="page" id="qrcode">
<div data-role="header" data-theme="b" data-position="fixed">
<a href="#home" data-icon="home" data-iconpos="notext">Home</a>
<h1>QR Code</h1>
<a href="#home" data-icon="arrow-l" data-rel="back">Back</a>
</div>
<div data-role="content">
</div>
<div data-role="footer" class="ui-bar" data-theme="b" data-position="fixed" data-id="footer">
<a href="#about" data-icon="info">About</a>
<div data-role="content">
<ul data-role="listview">
<li><a href="#qrcode">ctoinsights.wordpress.com</a></li>
<li><a href="#qrcode">www.book-current.com</a></li>
</ul>
</div>
<div data-role="page" id="about">
<div data-role="header" data-theme="b" data-position="fixed">
<a href="#home" data-icon="home" data-iconpos="notext">Home</a>
<h1>About</h1>
<a href="#home" data-icon="arrow-l" data-rel="back">Back</a>
</div>
<div data-role="content">
<p>Share your favorite URLs with other mobile phone users through QR codes.</p>
</div>
<div data-role="footer" class="ui-bar" data-theme="b" data-position="fixed" data-id="footer">
<!DOCTYPE html>
<html>
<head>
<title>Share QR</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<!DOCTYPE html>
<html>
<head>
<title>Share QR</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<!DOCTYPE html>
<html>
<head>
<title>Share QR</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
@rtekie
rtekie / CronsentryNotifyApp.java
Created August 26, 2012 03:31
Java example of using API to notify CronSentry upon a job completion
// Java example of using API to notify CronSentry upon a job completion
// For API documentation please go to http://www.cronsentry.com/help#api
// The example uses Apache HttpComponents http://hc.apache.org/
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
@rtekie
rtekie / CronsentryNotifyApp.cs
Created August 26, 2012 03:30
C# example of using API to notify CronSentry upon a job completion
// C# example of using API to notify CronSentry upon a job completion
// For API documentation please go to http://www.cronsentry.com/help#api
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RestSharp;
class CronsentryNotifyApp
@rtekie
rtekie / cronsentry_notify.rb
Created August 26, 2012 03:29
Ruby example of using API to notify CronSentry upon a job completion
# Ruby example of using API to notify CronSentry upon a job completion
# For API documentation please go to http://www.cronsentry.com/help#api
require 'open-uri'
require 'rest_client'
# set POST variables
url = 'http://api.cronsentry.com/api/v1/notifications'
api_key = 'YOUR_API_KEY'
job_name = URI::encode('Your job name')
@rtekie
rtekie / cronsentry_notify.py
Created August 26, 2012 03:29
Python example of using API to notify CronSentry upon a job completion
# Python example of using API to notify CronSentry upon a job completion
# For API documentation please go to http://www.cronsentry.com/help#api
import urllib
import requests
# set POST variables
url = 'http://api.cronsentry.com/api/v1/notifications'
parameters = {
'api_key' : 'YOUR_API_KEY',