class RootObject {
private String prop;
private Child child;
}
// with root object
JavaExpressionParser expressionParser = new SpelExpressionParser();
Expression expression = expressionParser.parseExpression("prop + #var + 'somethingelse'");
RootObject rootObject = new RootObject("whatever");
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
// ==UserScript== | |
// @name Google cloud documentation, fat cleanup | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description | |
// @author You | |
// @match https://cloud.google.com/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Kubernetes documentation, fat cleanup | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description | |
// @author You | |
// @match https://kubernetes.io/docs/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Spring Blog cleanup | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description | |
// @author You | |
// @match https://spring.io/blog/* | |
// @grant none | |
// ==/UserScript== |
- Download firefox from here. This version because after v52 Extended Support Release(ESR), firefox stopped supporting a cross platform protocol
- Extract firefox into
~/dev/utils/firefox-esr52-java-webex
- Download 32 bit JRE tar.gz from here
- Extract jre into
~/dev/utils/jre8
- Create folder named
~/.mozilla/plugins
- Create shortcut
ln -s ~/dev/utils/jre1.8.0_191/lib/i386/libnpjp2.so ~/.mozilla/plugins/
- Install dependencies (32 bit version of libraries to make audio & others work)
sudo apt-get install libasound2:i386 libasyncns0:i386 libatk-wrapper-java-jni:i386 libflac8:i386 libgail-common:i386 libgail18:i386 libgif7:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libgtk2.0-0:i386 libnspr4:i386 libnss3:i386 libogg0:i386 libpcsclite1:i386 libpulse0:i386 libsndfile1:i386 libvorbis0a:i386 libvorbisenc2:i386 libw
Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav
Hello, brethren :-)
As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".
My starting color palette for pencil
Update gridcolorpicker.recentlyUsedColors
inside ~/.pencil/config.json
to #006600FF,#4f6228FF,#002060FF,#00a79dFF,#506875FF,#b0bbc0FF,#4dd087FF,#ffc232FF,#49aadfFF,#d35a85FF,#d11b22FF,#FF9900FF,#682e81FF,#754c29FF,#ec4220FF,#10253fFF
SVG fragment builds for reveal.js
- make an SVG (maybe in inkscape)
- save it someplace reveal.js can find it (maybe next to your presentation)
- figure out how to identify them (maybe use named layers)
- in reveal.js/index.html
- add
reveal-svg-fragment.js
as a dependency - in a
<section>
of reveal.js markup
- add
- add
data-svg-fragment=""
to something, e.g.