Skip to content

Instantly share code, notes, and snippets.

@atadams
atadams / backmatting.ipynb
Created February 12, 2021 14:46 — forked from andreyryabtsev/backmatting.ipynb
BackMatting.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Location to your properties file
var pFile = 'location_to_your_properties_file/filename.properties';
// Init Props
var props = CreateObject("java","java.util.Properties").init();
// Load the file into the props
props.load( CreateObject("java","java.io.FileInputStream").init(pFile) );
// Assume properties file has the following value
// Property1=Foo
// Property2=Bar
@atadams
atadams / mq.css
Created October 4, 2012 16:03 — forked from chriscoyier/mq.css
CSS: Standard Media Queries
@media only screen and (min-width: 320px) {
/* Small screen, non-retina */
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px),
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px),
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px),