This file contains hidden or 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
find . -name '*.sh' | xargs git update-index --chmod=+x |
This file contains hidden or 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
# docker build -t bblanchon/domoticz . | |
# docker run --device /dev/ttyACM0 -p 80:8080 bblanchon/domoticz | |
FROM ubuntu:14.04 | |
MAINTAINER bblanchon | |
# install dependencies | |
RUN apt-get update && \ | |
apt-get install -y \ | |
build-essential \ |
This file contains hidden or 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
/* | |
* | |
* Demonstrates crash using chuncked print and large Json | |
* Requires | |
* https://github.com/me-no-dev/ESPAsyncWebServer | |
* https://github.com/me-no-dev/ESPAsyncTCP | |
* https://github.com/bblanchon/ArduinoJson | |
* | |
* use curl to make request... | |
* http://ip/json -> Will make request and send results async... causes crash. Works if lines are removed from json.. see addJson function |
This file contains hidden or 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 Quasardb; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.IO; | |
using System; | |
namespace QuasardbDemoWithBinaryFormatter | |
{ | |
class Program | |
{ | |
[Serializable] |
This file contains hidden or 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 Quasardb; | |
using System.IO; | |
using System; | |
using System.Runtime.Serialization; | |
namespace QuasardbDemoWithDataContractSerializer | |
{ | |
class Program | |
{ | |
[Serializable] |
This file contains hidden or 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 Quasardb; | |
using System.IO; | |
using System; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Bson; | |
namespace QuasardbDemoWithNewtonSoftJson | |
{ | |
class Program | |
{ |
This file contains hidden or 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
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" } |
This file contains hidden or 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
Get-AzureRmResourceProvider | | |
Select ProviderNamespace -Expand ResourceTypes | | |
Sort-Object ProviderNamespace,ResourceTypeName | | |
Format-Table ProviderNamespace,ResourceTypeName,@{Name="LatestApiVersion";Expression={$_.ApiVersions[0]}} |
This file contains hidden or 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
Get-AzureVMImage | where {$_.Category -eq "User"} | Select ImageName |
This file contains hidden or 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
Get-AzureVMImage | where {$_.Category -eq "User"} | Remove-AzureVMImage |