Skip to content

Instantly share code, notes, and snippets.

View engalar's full-sized avatar

wengao liu engalar

  • https://www.mendix.com/
  • zhuhai/guangdong/china
  • 17:31 (UTC +08:00)
View GitHub Profile
@engalar
engalar / theme.compiled.css
Created December 25, 2023 08:39
mendix空样式
@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;
@engalar
engalar / index.html
Last active July 30, 2024 07:12
mendix patch locale
<!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}}
@engalar
engalar / index.html
Created November 21, 2024 10:48
mediaDevices test
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>拍照示例</title>
<style>
video, canvas {
display: block;
margin: 10px auto;
@engalar
engalar / notion.user.js
Last active February 26, 2025 06:16
tampermonkey
// ==UserScript==
// @name Notion
// @namespace http://tampermonkey.net/
// @version 1.2.1
// @description try to take over the world!
// @author You
// @match https://www.notion.so/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_xmlhttpRequest
// @grant GM_notification
@engalar
engalar / mermaid.user.js
Last active March 3, 2025 03:38
tampermonkey UserScript for mermaid
// ==UserScript==
// @name Mermaid代码可视化
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description 将网页中的Mermaid代码块转换为可视化图表,每2秒自动检测
// @author You
// @match http://localhost:5678/webhook/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant GM_addStyle
// @grant GM_notification