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
// ==UserScript== | |
// @name 简道云网页助手 | |
// @description 简道云网页助手 | |
// @version v0.0.1 | |
// @match https://www.jiandaoyun.com/dashboard/app/*/form/*/edit | |
// @grant GM_registerMenuCommand | |
// @grant GM_addStyle | |
// @run-at document-start | |
// @require https://unpkg.com/[email protected]/dist/html-to-image.js | |
// @require https://unpkg.com/[email protected]/download.js |
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
# syntax = docker/dockerfile:1.0-experimental | |
FROM ubuntu:22.04 | |
SHELL ["/bin/bash", "-c"] | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt update --fix-missing | |
RUN apt full-upgrade -y | |
RUN apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \ |
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
// ==UserScript== | |
// @name Look goods to me! | |
// @version 0.1 | |
// @author yelo <[email protected]> | |
// @match https://git.woa.com/** | |
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js | |
// ==/UserScript== | |
/* global $ */ |
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
// ==UserScript== | |
// @name LogSeq Print Mode | |
// @description Logseq 打印模式 | |
// @version 0.2 | |
// @author yelo <[email protected]> | |
// @match https://**/** | |
// @grant GM_registerMenuCommand | |
// @run-at document-start | |
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Remove WOA Watermark | |
// @version 0.1 | |
// @author yelo <[email protected]> | |
// @match *://km.woa.com/** | |
// @match *://csig.lexiangla.com/** | |
// @match *://mk.woa.com/** | |
// @match *://iwiki.woa.com/** | |
// @match *://qcloud.oa.com/** | |
// @match *://ieop.oa.com/** |
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
#!/bin/bash | |
# --- | |
# 部署构件激活脚本 | |
# Author: yelo <[email protected]> | |
# --- | |
## 项目主目录 | |
PROJECT_DIR=$(pwd) | |
## 上传目录 |
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
import _ from 'underscore' | |
import { combineReducers } from 'redux' | |
/** | |
* translate vuex to redux | |
*/ | |
const translator = { | |
action: (name) => (action) => (...args) => (dispatch, getState) => { | |
let state = getState() | |
return action({ |
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
input('Press Enter to continue: ', 's'); |
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
[Unit] | |
Description=Caddy's service | |
ConditionFileIsExecutable=/usr/local/bin/caddy | |
[Service] | |
StartLimitInterval=5 | |
StartLimitBurst=10 | |
LimitNOFILE=102400 | |
ExecStart=/usr/local/bin/caddy "-conf=/etc/caddy/Caddyfile" |
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
nssm install "FTP for Project" "C:\Users\{USERNAME}\AppData\Roaming\npm\ftp-srv.cmd" "ftp://123.123.123.124:2121 --root E:\project > E:\project\ftp-service.log" | |
nssm start "FTP for Project" |
NewerOlder