Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
running

kbrx93 kbrx93

🤔
running
View GitHub Profile
View com.google.Chrome.mobileconfig
<?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>
View ltconfig.conf
{
"file": 1,
"format": 1
}{
"apply_on_start": true,
"settings": {
"use_read_cache": true,
"active_seeds": 2000,
"max_failcount": 1,
"dht_upload_rate_limit": 20000,
View MathJax based LaTeX plugin for TiddlyWiki 5.md

LaTeX plugin for TiddlyWiki 5 (based on MathJax)

(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/
View knncls.py
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
@kbrx93
kbrx93 / ssh.md
Created Dec 13, 2018 — forked from suziewong/ssh.md
SSH端口转发
View ssh.md

ssh

    -C  压缩数据传输
    -f  后台登录用户名密码
    -N  不执行shell[与 -g 合用]
    -g  允许打开的端口让远程主机访问        
    -L  本地端口转发
    -R  远程端口转发
    -p  ssh 端口
@kbrx93
kbrx93 / TerminalVim.scpt
Created Dec 6, 2018 — forked from charlietran/TerminalVim.scpt
Open file in iTerm vim for MacOS Sierra 这个版本每个文件都是新窗口
View TerminalVim.scpt
-- 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}
@kbrx93
kbrx93 / TerminalVim.scpt
Created Dec 6, 2018 — forked from MondoGao/TerminalVim.scpt
Open file in iTerm vim/neovim for MacOS High Sierra
View TerminalVim.scpt
-- 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
@kbrx93
kbrx93 / commToDDWin.sh
Last active Dec 5, 2018
[commToDDWin] DD成 Win 萌咖版 #tags: cmd
View commToDDWin.sh
# win10 修复版
## DHCP
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -dd "https://image.moeclub.org/GoogleDrive/1OVA3t-ZI2arkM4E4gKvofcBN9aoVdneh"
## 非 DHCP
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -dd "https://image.moeclub.org/GoogleDrive/1OVA3t-ZI2arkM4E4gKvofcBN9aoVdneh" --ip-addr xx.xx.xx.xx --ip-gate xx.xx.xx.xx --ip-mask xx.xx.xx.xx
> 激活
> slmgr /skms kms.moeclub.org
View mirages1.7.6修改版.css
@charset "UTF-8";/*! Theme.css v1.7.6d */html {
font-family: sans-serif;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
View mirages1.7.6未修改.css
@charset "UTF-8";/*! Theme.css v1.7.7 */html {
font-family: sans-serif;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
You can’t perform that action at this time.