https://github.com/engalar/DataHubDemoProducer
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
{{unsupportedbrowser}} | |
<meta charset="utf-8"> | |
<title>Mendix</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
{{themecss}} | |
{{appicons}} | |
{{manifest}} |
This file contains 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
@charset "UTF-8"; | |
@import url("resources/fonts/open-sans/open-sans.css"); | |
@font-face { | |
font-family: "Atlas_Core$Atlas_Filled"; | |
src: url("./fonts/Atlas_Core$Atlas_Filled.ttf") format("truetype"); | |
} | |
.mx-icon-filled { | |
display: inline-block; | |
font-style: normal; | |
font-weight: normal; |
This file contains 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
<!-- native-template\android\app\src\main\AndroidManifest.xml --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
package="com.mendix.nativetemplate"> | |
<!-- Remove the next line after update react-native-inappbrowser--> | |
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:node="remove" | |
tools:ignore="QueryAllPackagesPermission"/> | |
<uses-permission android:name="android.permission.INTERNET" /> |
This file contains 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
@echo off | |
chcp 65001 | |
setlocal enabledelayedexpansion | |
REM 设置常量和依赖项URL | |
set "CDN_BASE_URL=https://artifacts.rnd.mendix.com" | |
set "LISTING_URL=https://cdn.mendix.com/listing.txt" |
This file contains 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
<head> | |
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script> | |
</head> | |
<body> | |
<div id="myDiv"></div> | |
<body> |
This file contains 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
api.Front.registerInlineQuery({ | |
url: function(q) { | |
return `http://dict.youdao.com/w/eng/${q}/#keyfrom=dict2.index`; | |
}, | |
parseResult: function(res) { | |
var parser = new DOMParser(); | |
var doc = parser.parseFromString(res.text, "text/html"); | |
var collinsResult = doc.querySelector("#collinsResult"); | |
var authTransToggle = doc.querySelector("#authTransToggle"); | |
var examplesToggle = doc.querySelector("#examplesToggle"); |
This file contains 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
//https://stackoverflow.com/a/16245768 | |
//const blob = b64toBlob(b64Data, contentType); | |
const b64toBlob = (b64Data, contentType='', sliceSize=512) => { | |
const byteCharacters = atob(b64Data); | |
const byteArrays = []; | |
for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) { | |
const slice = byteCharacters.slice(offset, offset + sliceSize); | |
const byteNumbers = new Array(slice.length); |
This file contains 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
export all_proxy=http://host.docker.internal:29759 |
NewerOlder