Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| library(shiny) | |
| shinyServer(function(input, output, session) { | |
| output$summary <- renderText({ | |
| ls(env=session$request) | |
| }) | |
| output$headers <- renderUI({ | |
| selectInput("header", "Header:", ls(env=session$request)) |
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
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |
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
| import sys, select | |
| print "You have ten seconds to answer!" | |
| i, o, e = select.select( [sys.stdin], [], [], 10 ) | |
| if (i): | |
| print "You said", sys.stdin.readline().strip() | |
| else: | |
| print "You said nothing!" |
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
| #!/bin/sh | |
| TMP=~/open-talk.wav | |
| touch $TMP | |
| cd /usr/share/hts-voice/nitech-jp-atr503-m001 | |
| #cd /usr/share/hts-voice/mei_happy | |
| echo "$1" | open_jtalk \ | |
| -td tree-dur.inf \ | |
| -tf tree-lf0.inf \ | |
| -tm tree-mgc.inf \ | |
| -md dur.pdf \ |
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
| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
NewerOlder