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/sh | |
WEBDIR=yourwebdir | |
WORKSPACE=your/workspace | |
TEX_FILE_NAME=your_file | |
echo | |
echo "**** Pulling changes into Live [Hub's post-update hook]" | |
echo |
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
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
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 openfile_dialog(): | |
from PyQt4 import QtGui | |
app = QtGui.QApplication([dir]) | |
fname = QtGui.QFileDialog.getOpenFileName(None, "Select a file...", '.', filter="All files (*)") | |
return str(fname) |