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
Import-Module WebAdministration | |
$port = 80 | |
$ssl = $false | |
#App Start | |
SetupOptionalVariables | |
SetupAppPools | |
SetupWebSite | |
SetupWebApplication |
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
/* usbreset -- send a USB port reset to a USB device | |
* | |
* Compile using: gcc -o usbreset usbreset.c | |
* | |
* | |
* */ | |
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
// Code based on | |
// https://github.com/adafruit/DHT-sensor-library/blob/master/examples/DHTtester/DHTtester.ino | |
// https://gist.github.com/igrr/7f7e7973366fc01d6393 | |
// https://github.com/iot-playground/Arduino/blob/master/ESP8266ArduinoIDE/DS18B20_temperature_sensor/DS18B20_temperature_sensor.ino | |
// esp8266 + dht22 + mqtt | |
#include "DHT.h" | |
#include <PubSubClient.h> | |
#include <ESP8266WiFi.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
################################################################# | |
## Main and component setup | |
################################################################# | |
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Home | |
# Location required to calculate the time the sun rises and sets | |
latitude: [REDACTED] | |
longitude: [REDACTED] | |
# C for Celcius, F for Fahrenheit |
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
homeassistant: | |
name: Home | |
latitude: <LATITUDE> | |
longitude: <LONGITUDE> | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: Europe/Copenhagen | |
customize: | |
device_tracker.mads_desktop: |
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
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Home | |
# Location required to calculate the time the sun rises and sets | |
latitude: ****** | |
longitude: ****** | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: America/Sao_Paulo |
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
param( | |
[string] $Major = "8", | |
[string] $Minor = "1", | |
[string] $Update = "0", | |
[string] $Date = "151003", | |
[string] $nugetPath = ".\tools\nuget.exe", | |
[string] $downloadsPath = ".\downloads", | |
[string] $nuspecTemplate = ".\tools\package.nuspec.xml", | |
[string] $apiKey, | |
[string] $nugetFeed = "http://use-your.own/nuget/Sitecore-Libs" |
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
## ======================================================== ## | |
## PDF files auto downloader. V0.1.4 | |
## date: 16/10/2016 | |
## MIT license (Free to use, just tell them I say hi) | |
## Build by Nix Siow | |
## Visit http://nixsiow.com | |
## Email: nixsiow@hotmail.com | |
## or @nixsiow on Github or Twitter | |
## ======================================================== ## |
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://stackoverflow.com/questions/28022432/receiving-rtp-packets-after-rtsp-setup | |
A demo python code that .. | |
1) Connects to an IP cam with RTSP | |
2) Draws RTP/NAL/H264 packets from the camera | |
3) Writes them to a file that can be read with any stock video player (say, mplayer, vlc & other ffmpeg based video-players) | |
Done for educative/demonstrative purposes, not for efficiency..! |
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
clear-host; | |
#Remove-Variable * -ErrorAction SilentlyContinue | |
#get-item Variable:* | |
#Get-Variable | Select-Object -ExpandProperty Name | |
. C:\Users\linda_l\Desktop\PowerShell\GoogleOauth.ps1 | |
Add-Type -Path "C:\Users\linda_l\Documents\visual studio 2015\Projects\TestingLibrary\packages\AE.Net.Mail.1.7.10.0\lib\net45\AE.Net.Mail.dll" | |
Add-Type -AssemblyName System.IO | |
Add-Type -AssemblyName System.Text.Encoding |
OlderNewer