This file contains 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
# Parameters | |
#$publishSettingFilePath = "C:\Users\tconte\Downloads\Hermes-Recette-11-21-2013-credentials.publishsettings" | |
$publishSettingFilePath = "C:\Users\tconte\Downloads\Windows Azure BizSpark 1111-JeromeSAS-4-19-2013-credentials.publishsettings" | |
#$subscriptionName = "Hermes-Recette" | |
$subscriptionName = "Windows Azure BizSpark 1111" | |
$outfiledisks="C:\dev\result_disks.txt" | |
$outfilefiles="C:\dev\results_files.txt" | |
$outfilenetworks="C:\dev\results_network.txt" | |
$outfileendpoints="C:\dev\results_endpoints.txt" | |
$outfilevms="C:\dev\results_vms.txt" |
This file contains 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
$wc=New-Object System.Net.WebClient | |
foreach ($i in 0..23) { | |
$n = "{0:D2}" -f $i | |
echo $n | |
$url = "http://dumps.wikimedia.org/other/pagecounts-raw/2013/2013-04/pagecounts-20130401-" + $n + "0000.gz" | |
$wc.DownloadFile($url, $url.SubString($url.LastIndexOf("/")+1)) | |
} |
This file contains 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
/* | |
** Read various sensor values and print them to serial port. | |
** | |
** Thomas Conté @tomconte | |
*/ | |
#include <Esplora.h> | |
int lightMin = 1023; // minimum sensor value | |
int lightMax = 0; // maximum sensor value |
This file contains 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
/* | |
** This sample Arduino sketch uploads telemetry data to Azure Mobile Services on an Arduino Yun | |
** The Bridge library is used to run cURL to send the data securely using SSL. | |
** See the full article here: http://hypernephelist.com/2014/08/19/https_on_arduino_yun.html | |
** | |
** Thomas Conté @tomconte | |
*/ | |
#include <Process.h> |
This file contains 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/python | |
import sys | |
import commands | |
import re | |
import uuid | |
import serial | |
from proton import * | |
# Device ID |
This file contains 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 | |
import os | |
import sys | |
import mimetypes | |
from azure.storage import BlobService | |
BLOB_ACCOUNT = "foo" | |
BLOB_KEY = "bar" | |
DEST_CONTAINER = "test" |
This file contains 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 | |
""" | |
wp2tumblr.py | |
Python script for migrating your Wordpress blog to Tumblr | |
Karteek Edamadaka | |
Modified by Thomas Conte for his own needs | |
""" | |
import os | |
import sys |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net; | |
using Microsoft.WindowsAzure; | |
using System.IO; | |
using System.Xml.Linq; | |
using NDesk.Options; |
This file contains 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
curl https://www.windowsazurestatus.com/windowsazure/support/status/servicedashboardcontent.aspx | grep RSSFeedCode | perl -ne '/href=\"(.+)\" target=/; print "https://www.windowsazurestatus.com/windowsazure/support/status/", $1, "\n";' | sort -u |
OlderNewer