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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="iisnode" path="index.js" verb="*" modules="iisnode" /> | |
</handlers> | |
<rewrite> | |
<rules> | |
<rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true"> | |
<match url="iisnode" /> |
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
<script type="text/x-red" data-template-name="azure table"> | |
<div class="form-row"> | |
<label for="node-input-tablename"><i class="icon-tasks"></i> Table</label> | |
<input type="text" id="node-input-tablename" placeholder="Table name"> | |
</div> | |
<div class="form-row"> | |
<label for="node-input-storageaccount"><i class="icon-tag"></i> Account</label> | |
<input type="text" id="node-input-storageaccount" placeholder="storage account"> | |
</div> | |
<div class="form-row"> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
This configuration file is required if iisnode is used to run node processes behind | |
IIS or IIS Express. For more information, visit: | |
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config | |
--> | |
<configuration> | |
<system.webServer> |
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
add file wasb:///HiveUDF.exe; | |
SELECT TRANSFORM (clientid, devicemake, devicemodel) | |
USING 'HiveUDF.exe' AS | |
(clientid string, phoneLabel string, phoneHash string) | |
FROM hivesampletable | |
ORDER BY clientid LIMIT 50; |
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
/*http://i-skool.co.uk/mobile-development/web-design-for-mobiles-and-tablets-viewport-sizes/*/ | |
/*At least requires the meta viewport tag with content 'width=device-width'*/ | |
@media only screen and (max-width: 1080px) and (orientation : portrait) { | |
/* PORTRAIT: | |
Windows Surface Pro*/ | |
} | |
@media only screen and (max-width: 800px) and (orientation : portrait) { | |
/* PORTRAIT: | |
Acer Iconia Tab A100 |
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 example assumes you are using an HDInsight cluster. | |
# It was tested with HDInsight 3.5, but probably works on anything around/after that. | |
# the name of the HDInsight login account. Usually admin | |
LOGINNAME='admin' | |
PASSWORD='password for the login account' | |
# Just the name, not the FQDN | |
CLUSTERNAME='the name of your HDInsight cluster' |
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
#!/bin/bash -x | |
sudo cp -f /usr/hdp/current/hadoop-client/*.jar /usr/hdp/current/storm-client/extlib | |
sudo cp -f /usr/hdp/current/hadoop-client/lib/*.jar /usr/hdp/current/storm-client/extlib | |
sudo cp -f /usr/hdp/current/hadoop-hdfs-client/*.jar /usr/hdp/current/storm-client/extlib | |
sudo cp -f /usr/hdp/current/hadoop-hdfs-client/lib/*.jar /usr/hdp/current/storm-client/extlib | |
sudo cp -f /usr/hdp/current/storm-client/contrib/storm-hbase/storm-hbase*.jar /usr/hdp/current/storm-client/extlib | |
sudo cp -f /usr/hdp/current/phoenix-client/lib/phoenix*.jar /usr/hdp/current/storm-client/extlib | |
sudo cp -f /usr/hdp/current/hbase-client/lib/hbase*.jar /usr/hdp/current/storm-client/extlib |
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
echo "updating VPN gateway with client IP pool and root cert" | |
az network vnet-gateway update -g $RG \ | |
-n $GATEWAY \ | |
--address-prefixes $VPN_CLIENT_ADDR \ | |
-o none | |
# Upload the cert | |
az network vnet-gateway root-cert create -g $RG \ | |
--gateway-name $GATEWAY \ | |
-n 'rootcert' \ | |
--public-cert-data rootcert.cer \ |
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
#!/bin/sh | |
# | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object | |
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
fi |
OlderNewer