This file contains hidden or 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
const fs = require('fs'); | |
const path = require('path'); | |
const crypto = require('crypto'); | |
const https = require('https'); | |
const readline = require('readline'); | |
const appId = ''; | |
const key = ''; | |
const languageMap = { |
This file contains hidden or 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
# pip3 install pypdf2 pdfminer.six --break-system-packages | |
import os | |
from PyPDF2 import PdfMerger, PdfReader | |
# 获取所有PDF文件 | |
pdf_files = [f for f in os.listdir('.') if f.endswith(".pdf")] | |
merger = PdfMerger() | |
# 按照文件名排序,你可以根据需要修改排序方式 |
This file contains hidden or 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
let spawn = require("child_process").spawn; | |
spawn( | |
"/bin/sh", | |
["ping.sh"] | |
); |
This file contains hidden or 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
// | |
// PacketTunnelProvider.swift | |
// PacketTunnel | |
// | |
// Created by chaostong on 2019/1/29. | |
// Copyright © 2019 chaostong. All rights reserved. | |
// | |
import NetworkExtension |