Skip to content

Instantly share code, notes, and snippets.

Adam Esterle AdamEsterle

Block or report user

Report or block AdamEsterle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AdamEsterle
AdamEsterle / Sylvania Smart Motion Temperature Sensor
Created Feb 22, 2018
Sylvania Smart Motion/Temperature Sensor code for SmartThings hub
View Sylvania Smart Motion Temperature Sensor
import physicalgraph.zigbee.clusters.iaszone.ZoneStatus
metadata {
definition (name: "SYLVANIA Smart Motion/Temperature Sensor", namespace: "ledvanceDH", author: "Ledvance") {
capability "Configuration"
capability "Motion Sensor"
capability "Temperature Measurement"
capability "Battery"
capability "Refresh"
capability "Health Check"
View gist:5d86ca169bfa42c07fef
<?php
$urls = Repo::all();
$correctKeys = \DB::connection()->getSchemaBuilder()->getColumnListing("packages");
unset($correctKeys[0], $correctKeys[1]);
foreach ($urls as $repo) {
$text_filename = $repo->id . '.txt';
if (!Storage::exists($text_filename)) {
View gist:3bf42dc6ce1d6e110953
var ATTExcel = function() {
var usage = {};
var dollars = {};
var rollOverData = '';
var totalBill = '';
this.begin = function() {
if (getCache()) {
getUsage();
getBill();
View gist:4a7beeeb58f970548262
var ATTExcel = function() {
var usage = {};
var dollars = {};
var rollOverData = '';
var totalBill = '';
this.begin = function() {
if (getCache()) {
getUsage();
getBill();
View gist:e008c1ddaf374ee70be0
var ATTExcel = function() {
usage = {};
dollars = {};
rollOverData = '';
totalBill = '';
this.begin = function() {
if (this.getCache()) {
this.getUsage();
this.getBill();
View gist:7cbbd15213ca27e60117
var ATTExcel = function() {
usage = {};
dollars = {};
rollOverData = '';
totalBill = '';
this.begin = function() {
if (this.getCache()) {
console.log("1");
this.getUsage();
View gist:bd914830d82fc1f6ae8d
var data = {};
var dollars = {};
jQuery.get( "https://www.att.com/olam/billUsageTiles.myworld", function( mbData ) {
var names = [];
jQuery(mbData).find('p.font14.botMar0 > strong').each(function(i) {
names.push(jQuery(this).text().trim());
});
jQuery(mbData).find('a[title="Web Usage"]').each(function(i) {
View gist:9b60ae2204412133de04
var data = {};
var dollars = {};
jQuery.get( "https://www.att.com/olam/billUsageTiles.myworld", function( mbData ) {
var names = [];
jQuery('a.font14.linkColor.float-left').each(function(i) {
var name = jQuery(this).text().trim();
names.push(name.substring(0, name.length - 12).trim());
});
View gist:2f18beccf0b6ad1aba47
var data = [];
var dollars = [];
jQuery.get( "https://www.att.com/olam/billUsageTiles.myworld", function( mbData ) {
jQuery(mbData).find('a[title="Web Usage"]').each(function(i) {
data.push(parseFloat(jQuery(this).find('span > strong').text().trim()) * 1024);
});
jQuery.get( "https://www.att.com/olam/billOverviewTiles.myworld", function( dollarData ) {
jQuery(dollarData).find('span.flipper.float-right.font14.top10px.padRight20.colorBlack').not('.ie7Top7').each(function(i) {
dollars.push(jQuery(this).text().trim());
You can’t perform that action at this time.