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
alias: Run Fans Based on Indoor AQI | |
description: "" | |
trigger: | |
- platform: numeric_state | |
entity_id: sensor.indoor_aqi | |
below: 50 | |
id: aqi_1 | |
- platform: numeric_state | |
entity_id: sensor.indoor_aqi | |
above: 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
/* ==UserStyle== | |
@name Mastodon dark text box | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description A new userstyle | |
@author Me | |
==/UserStyle== */ | |
@-moz-document domain("mastodon.social") { | |
.theme-default .autosuggest-textarea__textarea { | |
background-color: #323542 !important; |
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: | |
# Read in DTE Insight via MQTT. You can add an MQTT integration in Home Assistant with the DTE Insight's IP address on port 2883 | |
- platform: mqtt # this is my DTE Insight, if you have multiple MQTT servers this might be different | |
name: Instant Energy Usage | |
state_topic: "event/metering/instantaneous_demand" | |
unit_of_measurement: W | |
value_template: "{{ value_json.demand }}" | |
state_class: measurement | |
device_class: energy |
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
/** | |
* Usage: node server.js foo.csv | |
* | |
* Test with: curl -d "{\"Foo\":1,\"Bar\":\"baz\"}" -X POST http://localhost:8000/ | |
* | |
*/ | |
const http = require('http'); | |
const fs = require('fs'); | |
const fsPromises = require('fs/promises'); |
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
/** | |
* External dependencies | |
*/ | |
import { times, property, omit } from 'lodash'; | |
import classnames from 'classnames'; | |
import memoize from 'memize'; | |
/** | |
* WordPress dependencies | |
*/ |
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
Name | Sale Price | Original Price | Discount | |
---|---|---|---|---|
5 Second Rule | $13.50 | $24.99 | 45.98% | |
7 Wonders | $28.00 | $49.99 | 43.99% | |
7 Wonders: Duel | $18.49 | $29.99 | 38.35% | |
A Column of Fire: The Game | $26.17 | $49.95 | 47.61% | |
Adventure Time Card Wars Doubles Tournament Card Game | $18.70 | $35.00 | 46.57% | |
Arcadia Quest Board Game | $52.99 | $99.99 | 47.00% | |
Arcadia Quest Frost Dragon Board Game | $19.99 | $29.99 | 33.34% | |
Arcadia Quest: Chaos Dragon Board Game | $21.66 | $29.99 | 27.78% | |
Arcadia Quest: Fire DRAGON Board Game | $22.10 | $29.99 | 26.31% |
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/local/Python-2.4/bin/python | |
import feedparser, html2text, os, sys | |
from textwrap import fill | |
feed = feedparser.parse("http://george.hotelling.net/index.xml") | |
filepath = "~/public_html/gopher" | |
i = 0 | |
for entry in feed['entries']: |
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
Show hidden characters
{ | |
"presets": [ | |
"es2015" | |
], | |
"plugins": [ | |
"transform-runtime", | |
"transform-es3-property-literals", | |
"transform-es3-member-expression-literals" | |
] | |
} |
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
angular.module('module') | |
.factory('myService', function($scope, $http, otherService) { | |
// ... | |
}); | |
// is the same as | |
angular.module('module') | |
.factory('myService', ['$scope', '$http', 'otherService', function(scopy, ಠ_ಠ, $scope) { | |
// scopy == Angular's $scope | |
// ಠ_ಠ == Angular's $http |
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
graph values { | |
"''" -- "0" | |
"''" -- "0.0" | |
"''" -- "false" | |
"''" -- "null" | |
"'0'" -- "'0.0'" | |
"'0'" -- "0" | |
"'0'" -- "0.0" | |
"'0'" -- "false" | |
"'0.0'" -- "0" |
NewerOlder