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
- id: '1511485012754' | |
alias: Update Lawn Wetness Rain | |
trigger: | |
- platform: state | |
entity_id: sensor.openweathermap_rain | |
- platform: state | |
entity_id: sensor.openweathermap_forecast_precipitation | |
condition: [] | |
action: | |
- data_template: |
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 meow="say 'meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwwwmeowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwwwmeowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowwww meow meowwwwwwww meoww meowwww meowwww meowwwwwww meowww meow meowww |
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
We go eastward to realize history and study the works of art and literature, retracing the steps of the race; we go westward as into the future, with a spirit of enterprise and adventure. The Atlantic is a Lethean stream, in our passage over which we have had an opportunity to forget the Old World and its institutions. If we do not succeed this time, there is perhaps one more chance for the race left before it arrives on the banks of the Styx; and that is in the Lethe of the Pacific, which is three times as wide. | |
I know not how significant it is, or how far it is an evidence of singularity, that an individual should thus consent in his pettiest walk with the general movement of the race; but I know that something akin to the migratory instinct in birds and quadrupeds--which, in some instances, is known to have affected the squirrel tribe, impelling them to a general and mysterious movement, in which they were seen, say some, crossing the broadest rivers, each on its particular chip, with its tail raised for |
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
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
var appendages = ["right foot", "left foot", "right hand", "left hand", | |
"right foot", "left foot", "right hand", "left hand", | |
"right foot", "left foot", "right hand", "left hand", | |
"right foot", "left foot", "right hand", "left hand", | |
"right foot", "left foot", "right hand", "left hand", |
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
object coins { | |
val usa = Seq(.01, .05, .10, .25) | |
val euro = Seq(.01, .02, .05, .10, .20, .50, 1, 2) | |
} | |
def cents(coin: Double) = (coin * 100).toInt | |
def makeChange(algorithm: (Double, Seq[Double]) => Map[Double, Int], | |
denominations: Seq[Double], | |
amount: Double) = algorithm(amount, denominations).values.sum |
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
A man is walking along and he sees a little girl looking over the edge of a cliff, crying. | |
"Why are you crying?" asked the man | |
"My parents were in that car" sobbed the little girl, pointing down at a fiery wreck at the bottom of the cliff. | |
"What sort of car is that?" asked the man who unfortunately suffered from Asperger's syndrome and didn't understand the emotional impact of the situation. |
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
def index = Action.async { implicit request => | |
ChanneledPresenter(context) flatMap { presenter => | |
// alternatives for resource fetching, which may or may not be available | |
val getAccountFavorites = ??? | |
val createAccountFavorites = ??? | |
val getSessionFavorites = ??? | |
val createSessionFavorites = ??? | |
Seq(getAccountFavorites, |
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 objsets | |
abstract class IntSet { | |
def incl(x:Int): IntSet | |
def contains(x:Int): Boolean | |
} | |
class Empty extends IntSet { | |
def contains(x: Int): Boolean = false |
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 bash | |
rails new $1 -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb |
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
<!-- Very fast way to puts something both evaluated and unevaluated without repetition --> | |
<snippet> | |
<content><![CDATA[ | |
puts 'debug $1: '+$1.to_s | |
]]></content> | |
<tabTrigger>debug</tabTrigger> | |
</snippet> |
NewerOlder