jchk.net
jchk - service/tweets
https://jchk.net/service/tweets
Hacker News Books https:/ t.co/phGPXRgt8a. 14 hours ago local archive version. The Sad State of Docker https:/ t.co/9hBYq34Wzq. 19 hours ago local archive version. A few HTML tips https:/ t.co/lGrrBVQUc6. 2 days ago local archive version. Dinosaur and Lisp https:/ t.co/0ipWGqZpq7. 2 days ago local archive version. The target=" blank" vulnerability by example. Blank" rel="noopener noreferrer" https:/ t.co/99ItAOAiMs. 2 days ago local archive version. Git Undo https:/ t.co/1AeqRP5P81. GRPC: a true internet...
jchk.net
jchk - foto
https://jchk.net/foto
Asahi Pentax Spotmatic F. Canonet G3 QL 17. Fuji DL Super Mini Zoom. Konica Wai Wai Wide. Leica Lens production year by serial number. 找到了幾年前寫的一個小程式, 輸入 Leica 鏡頭 (M 及 LTM) 的序號查詢該鏡頭的生產年份及Stephen Gandy (Cameraquest) 的短評. 作了些小修改及將版面 iPhone optimized. Links not working, to be updated). Last modified: Sat Jan 4 2014. That last commit message about silly mistakes pales in comparision to this one ).
jchk.net
jchk - dev/clojure/4clojure
https://jchk.net/dev/clojure/4clojure
Solutions and notes when I worked on 4clojure. The most straightforward is using. 40;str Hello, %! But I found immo's solution:. Format Hello, %s! Is simple too (not a function as required, but it passes the unit tests :D). 72 Rearranging Code: -. Also the solution is simple:. 40;apply hash-map (interleave %2 (repeat %1))). When transforming from one collection type to another, can always use. 40;fn [x s] (reduce #(assoc %1 %2 x) {} s)). And immo's neat solution:. 40;zipmap %2 (repeat %)).
jchk.net
jchk - dev/java/work
https://jchk.net/dev/java/work
Properties prop = new Properties() prop.load(ClassLoader.getSystemResourceAsStream(foo.properties)). Add Oracle JDBC jar. Repositories { flatDir { dirs 'libs' } }. Dependencies { compile name: 'ojdbc6' }. Quick java project scaffolding. Gradle init - type java-library. Apply plugin: 'application' mainClassName = com.example.Class. Run with `gradle run`. Task execute(type:JavaExec) { main = mainClass classpath = sourceSets.main.runtimeClasspath }. Plugin, but only build once:. Note, use quotes.
jchk.net
jchk - fun
https://jchk.net/fun
Last modified: Sun Apr 26 2015. It probably won't happen again ).
jchk.net
jchk - dev/jruby
https://jchk.net/dev/jruby
There're not many books about jruby, so check the official wiki. To lanuch the ruby shell, to enable auto-completion, add this to. Jruby also offers a gui one:. With drop-down box for auto-completion. Jruby -S gem list - local $ jruby -S rake -T. Just like normal java,. To check if it works, try. Jruby -J-XX: PrintFlagsFinal -J-Xmx256m -e 'true' grep HeapSize. Jruby -rjava -e puts java.lang.System.get_property('java.version'). Last modified: Thu Jan 29 2015.
jchk.net
jchk - dev/docker
https://jchk.net/dev/docker
Build an image from. Docker build -t tag . Run a container from image:. Docker run -d –name name tag. Save container as an image:. Docker commit container tag. Save image as tar:. Docker save tag /path/file.tar. Docker load -i /path/file.tar. Docker tag image tag. Start container and attach to it:. Docker start -ai name. Docker ps -a -q xargs -n 1 -I {} docker rm {}. Docker rmi $( docker images grep ' none ' tr -s ' ' cut -d ' ' -f 3). Docker exec [container] [command]. Ip addr show docker0.
jchk.net
jchk - dev/ruby
https://jchk.net/dev/ruby
Install missing library: yaml. Ruby extconf.rb & make & make install. I have another page for JRuby. Few books that I read, and recommend:. Is best ruby book I've ever read. I'll extract notes from my e-reader later. Practical Object-Oriented Design in Ruby. Is a good book on OOP, I borrowed from library, no notes were taken. Probably will read it again. Ruby Under a Microscope. Is another good book, couldn't finish yet. This one is quite difficult, couldn't finish. Learn Ruby The Hard Way.
jchk.net
jchk - read/gradle-in-action
https://jchk.net/read/gradle-in-action
Chapter 1 Introduction to project automation. Chapter 2 Next-generation builds with Gradle. Chapter 3 Building a Gradle project by example. Chapter 4 Build script essentials. Chapter 5 Dependency management. Chapter 6 Multiproject builds. Chapter 7 Testing with Gradle. Chapter 8 Extending Gradle. Chapter 9 Integration and migration. Chapter 10 IDE support and tooling. Chapter 11 Building polyglot projects. Chapter 12 Code quality management and monitoring. Chapter 13 Continuous integration. The daemon pr...
SOCIAL ENGAGEMENT