Skip to content

Instantly share code, notes, and snippets.

&time_control
run_days = 0,
run_hours = {{runhours}},
run_minutes = 0,
run_seconds = 0,
start_year = {{startyear}}, {{startyear}}, {{startyear}},
start_month = {{startmonth}}, {{startmonth}}, {{startmonth}},
start_day = {{startday}}, {{startday}}, {{startday}},
start_hour = {{starthour}}, {{starthour}}, {{starthour}},
end_year = {{endyear}}, {{endyear}}, {{endyear}},
@d1mach
d1mach / ppt2pdf.vbs
Created September 4, 2017 11:50
VBScript to convert powerpoint slides to pdf with Microsoft Office
Option Explicit
Function GetOutputPath(inputPath, extension)
Dim file
Dim basename
Dim foldername
basename = FSO.GetBaseName( inputPath )
set file = FSO.GetFile( inputPath )
foldername = file.ParentFolder
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@d1mach
d1mach / userdir.conf
Created April 4, 2016 10:39
UserDir functionality with PHP support for NGINX
# userdir.conf
server {
listen 80;
server_name localhost;
client_max_body_size 20M;
# Declare index files in advance to use .php extension as a selector
# to choose the correct location clause
index index.php index.html index.htm;