Skip to content

Instantly share code, notes, and snippets.

@dylan-k
dylan-k / story.latex
Last active February 26, 2025 02:00
a pandoc template to make PDF files with standard manuscript formatting
% -----------------------------------------------------------------------------
%
% STANDARD MANUSCRIPT FORMAT LaTeX TEMPLATE FOR PANDOC
%
% NOTE: This template has a newer version:
% https://github.com/dylan-k/panscribe/blob/main/templates/story.latex
% Comments and Pull Requests are Welcome
%
% -----------------------------------------------------------------------------
@jekamax
jekamax / OOMarkdown.bas
Last active October 9, 2024 04:02
Macro allow using of markdown syntax while writing in LibreOffice or OpenOffice
'*** Markdown formatter for Libre(open)Office ****
' (pre-alpha-demo)
' Author: Jeka [email protected]
' License: No any warranties blah blah blah...
' Send me real postcard if you Like to use it
'
' Features: format headers verbatim blocks and formulas
' according to Markdown syntax
'
' Install: Open Tools->Macros->Organize Macros->LibreOffice Basic
@justinkelly
justinkelly / .htaccess
Created January 5, 2012 12:19
Exclude file/directories/urls from Apache .htaccess password protected site
AuthType Basic
AuthName "Auth Required"
AuthUserFile /path/to/.htpasswd
Require valid-user
# allow public access to the following resources
SetEnvIf Request_URI "(path/to/directory/)$" allow
SetEnvIf Request_URI "(path/to/file\.phpt)$" allow
SetEnvIf Request_URI "(util)$" allow
Order allow,deny
Allow from env=allow