[ Launch: Reusable Bar Char ] 5449950 by ahane[ Launch: Reusable Bar Char ] 5449948 by ahane[ Launch Inlet ]Gist #4103209 Gist #4103149
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
# local port forwarding | |
# the target host 192.168.0.100 is running a service on port 8888 | |
# and you want that service available on the localhost port 7777 | |
ssh -L 7777:localhost:8888 [email protected] | |
# remote port forwarding | |
# you are running a service on localhost port 9999 | |
# and you want that service available on the target host 192.168.0.100 port 12340 |
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
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
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 GaussianDemo { | |
def main(args: Array[String]): Unit = { | |
implicit val model = DirectedModel() | |
implicit val random = new scala.util.Random(0) | |
val mean = new DoubleVariable(10) | |
val variance = new DoubleVariable(1.0) | |
val data = for (i <- 1 to 1000) yield new DoubleVariable :~ Gaussian(mean, variance) | |
// data.take(50).foreach(println(_)) |
[ Launch: Reusable Bar Char ] 5449948 by ahane[ Launch Inlet ]Gist #4103209 Gist #4103149
[ Launch: Reusable Bar Char ] 5449942 by ahane[ Launch Inlet ]Gist #4103209 Gist #4103149
[ Launch: Tributary inlet ] 5449238 by ahane
[ Launch: INFO247 / Lab 5 / #1 ] 5009688 by ahane[ Launch: lab5_1 ] 5001505 by poezn