Code for Keras plays catch blog post
python qlearn.py- Generate figures
| const I = x => x | |
| const K = x => y => x | |
| const A = f => x => f (x) | |
| const T = x => f => f (x) | |
| const W = f => x => f (x) (x) | |
| const C = f => y => x => f (x) (y) | |
| const B = f => g => x => f (g (x)) | |
| const S = f => g => x => f (x) (g (x)) | |
| const S_ = f => g => x => f (g (x)) (x) | |
| const S2 = f => g => h => x => f (g (x)) (h (x)) |
| package main | |
| import ( | |
| "net" | |
| "log" | |
| "os" | |
| ) | |
| func main(){ | |
| ifaces, _ := net.Interfaces() |
Code for Keras plays catch blog post
python qlearn.pyNote: Replace 192.168.0.5 below by your own interface ip
mac $ socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
mac $ docker run --device=/dev/tty0 -e DISPLAY=192.168.0.5:0 -i -t ubuntu /bin/bash
ubuntu $ apt-get update && apt-get install -y firefox
ubuntu $ firefox| /*<?php | |
| //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
| //\u000A\u002F\u002A | |
| class PhpJava { | |
| static function main() { | |
| echo(//\u000A\u002A\u002F | |
| "Hello World!"); | |
| }} | |
| //\u000A\u002F\u002A | |
| PhpJava::main(); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>CFBundleExecutable</key> | |
| <string>myapp</string> | |
| <key>CFBundleIdentifier</key> | |
| <string>com.pocketgophers.myapp</string> | |
| <key>CFBundleURLTypes</key> | |
| <array> |
| /* | |
| - Insert this after including / referencing socket.io.min.js. | |
| - Point being: | |
| - Client sockets *naturally* adapts its Ping Interval & Ping Timeout | |
| from its server's settings, hence you can't actually those options here. | |
| - We instead add an eventhandler for the "pong", and the actual millisecond latency, | |
| and optionally to the "ping" too, in case you wanna see it in action. | |
| - References: |
| console.log(1); | |
| (_ => console.log(2))(); | |
| eval('console.log(3);'); | |
| console.log.call(null, 4); | |
| console.log.apply(null, [5]); | |
| new Function('console.log(6)')(); | |
| Reflect.apply(console.log, null, [7]) | |
| Reflect.construct(function(){console.log(8)}, []); | |
| Function.prototype.apply.call(console.log, null, [9]); | |
| Function.prototype.call.call(console.log, null, 10); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>CFBundleExecutable</key> | |
| <string>myapp</string> | |
| <key>CFBundleIdentifier</key> | |
| <string>com.pocketgophers.myapp</string> | |
| <key>CFBundleURLTypes</key> | |
| <array> |
| /** | |
| * PlayCanvas Engine Typings | |
| * | |
| * Use it by downloading and placing both this and `playcanvas-stable.js` in the same directory. | |
| * | |
| * (c) 2017 Michael Fedora (michaelfedora.github.io) | |
| * Licensed under MIT. | |
| */ | |
| type DomKeyboardEvent = KeyboardEvent; |