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
#!/usr/local/bin/python3 | |
import os | |
hosts = [ | |
'google.com', | |
'microsoft.com' | |
] | |
header = [] |
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
on run {input, parameters} | |
tell application id "com.microsoft.Word" | |
activate | |
repeat with aFile in input | |
open aFile | |
set theOutputPath to ((aFile as text) & ".pdf") | |
tell active document | |
save as it file name theOutputPath file format format PDF | |
close saving no | |
end tell |
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
def readcsv(filename): | |
ifile = open(filename, "rU") | |
reader = csv.reader(ifile, delimiter=";") | |
rownum = 0 | |
a = [] | |
for row in reader: | |
a.append (row) | |
rownum += 1 |
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 | |
rm -f *.pdf | |
rm -f *.png | |
COMMIT=$(git rev-parse HEAD) | |
for f in *.drawio | |
do | |
/Applications/draw.io.app/Contents/MacOS/draw.io --export --all-pages --output $f.pdf $f |
OlderNewer