$ pdftocairo [original.pdf] -pdf [tmp.pdf]
$ gs -o [file-with-outlines.pdf] -dNoOutputFonts -sDEVICE=pdfwrite [tmp.pdf]
| #!/usr/bin/env python3 | |
| def newBoard(board): | |
| full_board = ['-'] * 9 | |
| full_board[:len(board)] = board[:len(board)] | |
| return full_board | |
| #!/bin/sh | |
| setxkbmap -option grab:break_actions | |
| xdotool key XF86Ungrab |
| #!/usr/bin/python | |
| import sys | |
| from os import geteuid | |
| from scapy.all import * | |
| #check for root | |
| if geteuid() != 0: | |
| print("This must be run as root") | |
| exit(1) |
| youtube-dl --write-sub --sub-lang en --sub-format vtt --embed-subs -f 137+140 'https://youtu.be/wCio_xVlgQ0' |
| #!/usr/bin/env python3 | |
| def partition(num, group): | |
| parts = dict() | |
| m = int(num / group) | |
| r = num - m * group | |
| parts = [m + 1] * (r) + [m] * (group - r) |
var cors_proxy = 'https://cors-anywhere.herokuapp.com/';
$.getJSON(cors_proxy + url, function(data) {
});
var keyword = $('#keyword').val();
docx2pdf.cmd 與 docx2pdf.ps1 檔案放置於最上層目錄docx2pdf.cmd