Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
//Look for other responsivevoice instances | |
/*if (window.parent != null) { | |
var iframes = window.parent.document.getElementsByTagName('iframe'); | |
for (var i = 0; i < iframes.length; i++) { | |
//iframes[i].style.width = "300px" | |
} | |
}*/ | |
if (typeof responsiveVoice != 'undefined') { | |
console.log('ResponsiveVoice already loaded'); |
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
new tag.HTML { | |
contents += new tag.Head | |
contents += new tag.Body { | |
contents += new tag.Div { | |
contents += "Hello World" | |
} | |
} | |
} |
package NeuralNetwork; | |
import org.apache.commons.lang3.*; | |
import org.apache.commons.math3.linear.*; | |
import org.apache.commons.math3.stat.StatUtils; | |
import javax.swing.*; | |
import java.util.*; | |
/** |
// temp fix for iOS8 beta 1 (fixed in beta 2), add it after the reference to cordova.js | |
if (navigator.userAgent === undefined) { | |
navigator.__defineGetter__('userAgent', function() { | |
return("Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit"); | |
}); | |
} |
/** | |
* Chunkify | |
* Google Chrome Speech Synthesis Chunking Pattern | |
* Fixes inconsistencies with speaking long texts in speechUtterance objects | |
* Licensed under the MIT License | |
* | |
* Peter Woolley and Brett Zamir | |
*/ | |
var speechUtteranceChunker = function (utt, settings, callback) { |
#!/bin/bash | |
# Add repositories | |
sudo add-apt-repository -y "deb http://repository.spotify.com stable non-free" | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo add-apt-repository -y ppa:fish-shell/nightly-master | |
echo "deb http://downloads.hipchat.com/linux/apt stable main" | sudo tee \ | |
/etc/apt/sources.list.d/atlassian-hipchat.list | |
sudo add-apt-repository -y ppa:linrunner/tlp | |
sudo apt-add-repository -y ppa:pipelight/stable |
package test; | |
import java.awt.Graphics2D; | |
import java.awt.color.ColorSpace; | |
import java.awt.image.BufferedImage; | |
import java.awt.image.ColorConvertOp; | |
import java.io.InputStream; | |
import javax.imageio.ImageIO; |
<div class="row"> | |
<div class="col-md-2 col-sm-2 col-xs-2"> | |
<p><button class="btn btn-primary btn-sm" id="record-btn"><span>Record</span></button></p> | |
</div><!-- .col --> | |
<div class="col-md-10 col-sm-10 col-xs-10"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Dictation Output</div> | |
<div class="panel-body"> | |
<textarea id="dictation" class="form-control" placeholder="Spoken text will appear here"></textarea> | |
</div> |
import java.io.BufferedReader; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.Reader; | |
import java.nio.charset.Charset; | |
import java.util.concurrent.TimeUnit; | |
import org.openqa.selenium.JavascriptExecutor; | |
import org.openqa.selenium.WebDriver; |