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
''' | |
A Dynamic Recurrent Neural Network (LSTM) implementation example using | |
TensorFlow library. This example is using a toy dataset to classify linear | |
sequences. The generated sequences have variable length. | |
Long Short Term Memory paper: http://deeplearning.cs.cmu.edu/pdfs/Hochreiter97_lstm.pdf | |
Author: Aymeric Damien | |
Project: https://github.com/aymericdamien/TensorFlow-Examples/ | |
''' |
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
-- written by Florian Bender, 2015 | |
-- based on work by Michael Wyszomierski <https://wysz.com/wyszdom/2009/06/simple-sleep-timer-with-applescript/> | |
-- license: Public Domain / CC0 <http://creativecommons.org/publicdomain/zero/1.0/> | |
tell application "System Events" | |
set volumeSettings to get volume settings | |
set volumeValue to (output volume of volumeSettings) | |
set fadeTime to 10 -- time in seconds for fade change | |
set fadeChange to (volumeValue div fadeTime) | |
-- display alert "Volume: " & volumeValue & ", Delta: " & fadeChange | |
display dialog "Sleep time (min):" default answer "25" |