(based on http://mathjax-tw5.kantorsite.net/)
To use with NodeJS create a plugins/mathjax/
directory in your wiki containing the two files (plugin.info
and init.js
), i.e.
plugins/
mathjax/
plugin.info
init.js
tiddlers/
{ | |
"title": "CapsLock / Control / Tab", | |
"rules": [ | |
{ | |
"description": "Tap CapsLock (⇪) → Escape (⎋); Hold CapsLock (⇪) → Control (⌃)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { |
{ | |
"title": "Switch input source | 输入法切换", | |
"rules": [ | |
{ | |
"description": "Tap Command_L (⌘) → Switch input source to English | 短按左 Command (⌘) → 切换到英文输入法", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadContent</key> | |
<dict> | |
<key>com.google.Chrome</key> |
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGILL (0x4) at pc=0x00000001067ecde8, pid=92932, tid=6915 | |
# | |
# JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-debug-kbrx93_2018_05_04_00_48-b00) | |
# Java VM: OpenJDK 64-Bit Server VM (25.0-b70-debug mixed mode bsd-amd64 compressed oops) | |
# Problematic frame: | |
# V [libjvm.dylib+0x9ecde8] PerfData::~PerfData()+0x8 | |
# |
{ | |
"file": 1, | |
"format": 1 | |
}{ | |
"apply_on_start": true, | |
"settings": { | |
"use_read_cache": true, | |
"active_seeds": 2000, | |
"max_failcount": 1, | |
"dht_upload_rate_limit": 20000, |
(based on http://mathjax-tw5.kantorsite.net/)
To use with NodeJS create a plugins/mathjax/
directory in your wiki containing the two files (plugin.info
and init.js
), i.e.
plugins/
mathjax/
plugin.info
init.js
tiddlers/
import pandas as pd | |
from sklearn.neighbors import KNeighborsClassifier | |
from sklearn.model_selection import train_test_split | |
from sklearn.preprocessing import StandardScaler | |
def knn(): | |
""" | |
用 KNN 算法预测用户入住位置 | |
:return: None |
-- TerminalVim.app | |
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm | |
-- To use this script: | |
-- 1. Open Automator and create a new Application | |
-- 2. Add the "Run Applescript" action | |
-- 3. Paste this script into the Run Applescript section | |
-- 4. Save the application as TerminalVim.app in your Applications folder | |
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default | |
on run {input, parameters} |
-- TerminalVim.app | |
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm | |
-- To use this script: | |
-- 1. Open Automator and create a new Application | |
-- 2. Add the "Run Applescript" action | |
-- 3. Paste this script into the Run Applescript section | |
-- 4. Save the application as TerminalVim.app in your Applications folder | |
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default |