We have an index with keys of the form:
[ dim1, dim2, dim3, ... ]
e.g. created with:
class MoonPayPaymentWebView : AppCompatActivity() { | |
companion object { | |
const val PERMISSION_REQUEST_CODE = 1000 | |
const val REQUEST_SELECT_FILE = 1001 | |
private const val FILECHOOSER_RESULTCODE = 1002 | |
private var mUploadMessage: ValueCallback<Uri?>? = null | |
var uploadMessage: ValueCallback<Array<Uri>>? = null | |
} |
.monaco-workbench>.part.editor>.content>.one-editor-silo>.container>.title .tabs-container { | |
padding-left: 22px; | |
} | |
.monaco-workbench>.part.editor>.content>.one-editor-silo>.container>.title .tabs-container>.tab { | |
border-radius: 5px 5px 0 0; | |
height: 28px; | |
} | |
.monaco-workbench>.part.editor>.content>.one-editor-silo>.container>.title .tabs-container>.tab + .tab { |
/* | |
reference link ->https://www.opengeeks.me/2015/08/filechooser-and-android-webview/ | |
https://github.com/OpenGeeksMe/Android-File-Chooser | |
*/ | |
import android.app.Activity; | |
import android.app.ProgressDialog; | |
import android.content.Intent; | |
import android.graphics.Bitmap; | |
import android.net.Uri; |
const fs = require('fs'); | |
const file = JSON.parse(fs.readFileSync('./dump.har')).log; | |
const targetMimeType = 'image/jpeg'; | |
let count = 1; | |
for (const entry of file.entries) { | |
if (entry.response.content.mimeType === targetMimeType) { | |
// ensure output directory exists before running! | |
fs.writeFileSync(`output/${count}.png`, new Buffer(entry.response.content.text, 'base64'), 'binary'); | |
count++; |
Liquid Fill Gauge v1.1 - 7/14/2015
Changes:
Configurable features include:
/** | |
* Get path data for a rounded rectangle. Allows for different radius on each corner. | |
* @param {Number} w Width of rounded rectangle | |
* @param {Number} h Height of rounded rectangle | |
* @param {Number} tlr Top left corner radius | |
* @param {Number} trr Top right corner radius | |
* @param {Number} brr Bottom right corner radius | |
* @param {Number} blr Bottom left corner radius | |
* @return {String} Rounded rectangle SVG path data | |
*/ |
box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.3); |