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
sensor: | |
- platform: sems | |
username: 'XXXX' | |
password: 'XXXX' |
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 python3 | |
import voluptuous as vol | |
import json | |
import logging | |
# import urllib.request | |
import requests | |
from bs4 import BeautifulSoup | |
from homeassistant.const import TEMP_CELSIUS |
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 python3 | |
import sys | |
import datetime | |
import time as t | |
import os | |
import subprocess | |
import json | |
import re | |
import base64 | |
import ssl |
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
tell application "iTerm" | |
activate | |
delay 1 | |
do shell script "screencapture /tmp/slide0.png" | |
tell current session of first window | |
repeat with n from 1 to 60 | |
write text "n" | |
delay 0.5 | |
do shell script "screencapture /tmp/slide" & n & ".png" | |
write text "r" |
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
package nl.timmybankers.implicits | |
object ScopingTest extends App { | |
def resolve(implicit caseClass : CaseClass) = println(caseClass) | |
def implicitlyCaseClass() = { | |
resolve | |
} |
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 | |
set -x | |
#input sharelink here. Example: https://drive.google.com/folderview?id=0B1g-MbiD2F6vdtOT92b3MoerO&usp=sharing | |
# SHARELINK="https://drive.google.com/folderview?id=idU&usp=sharing" | |
SHARELINK="https://drive.google.com/folderview?id=0B8HjeRxyzNm7RjZIdDFVWHkxeXM&usp=sharing" | |
DESTINATION="/mnt/onboard/gdrive" | |
# Change following to false when you don't want to delete files when they are missing from google drive. This can |
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
tell application "Evernote" | |
set noteList to selection | |
repeat with oneNote in noteList | |
move oneNote to notebook "Completed" | |
end repeat | |
end tell |