- 下載 docx2pdf
- 解壓縮後,將
docx2pdf.cmd
與docx2pdf.ps1
檔案放置於最上層目錄 - 執行
docx2pdf.cmd
var cors_proxy = 'https://cors-anywhere.herokuapp.com/';
$.getJSON(cors_proxy + url, function(data) {
});
var keyword = $('#keyword').val();
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
{ | |
"src": "/tmp/scratch-desktop/", | |
"dest": "/tmp/", | |
"arch": "i386", | |
"icon": "/tmp/scratch-desktop/resources/Icon.png", | |
"categories": [ | |
"Education" | |
] | |
} |
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
/* | |
1. Install Stylus (https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) | |
2. URL: Regular expression (https://scratch.mit.edu/projects/.*editor.*) | |
*/ | |
/* | |
* { | |
font-family: "微軟正黑體" !important; | |
} | |
*/ |
- Install SSHelper or 08.30.2018 Version 11.9
- mount Android device via sshfs
$ printf "admin\n" | sshfs root@192.168.0.101:/ ~/mnt -o port=2222,password_stdin
- use rsync to backup all files
$ rsync -avH --progress ~/mnt/storage/extSdCard/DCIM .
- passwordless login
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
#!/bin/sh | |
chars=$(cat ../10.txt | fold -w1 | sort | uniq) | |
for c in $chars; do | |
convert -background none -fill red -font /opt/local/fonts/lyshie/TW-Kai-98_1.ttf -pointsize 64 label:"$c" "$c.png" | |
done |
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
#!/usr/bin/env python3 | |
def newBoard(board): | |
full_board = ['-'] * 9 | |
full_board[:len(board)] = board[:len(board)] | |
return full_board | |
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
#!/bin/sh | |
setxkbmap -option grab:break_actions | |
xdotool key XF86Ungrab |
NewerOlder