Skip to content

Instantly share code, notes, and snippets.

View gnanakeethan's full-sized avatar
🎓
Still on a Tough Schedule

Gnanakeethan Balasubramaniam gnanakeethan

🎓
Still on a Tough Schedule
View GitHub Profile
@gnanakeethan
gnanakeethan / gist:e7c63c21e6b1d8ee7d6d2adad0409c80
Created September 27, 2020 10:20 — forked from maccath/gist:3981205
Split PDF to individual pages using FPDI and FPDF
<?php
/**
* Split PDF file
*
* <p>Split all of the pages from a larger PDF files into
* single-page PDF files.</p>
*
* @package FPDF required http://www.fpdf.org/
* @package FPDI required http://www.setasign.de/products/pdf-php-solutions/fpdi/
#!/bin/bash
set -o errexit
clear
# Set versions. Check http://openresty.org for latest version and bundled version of nginx.
OPENRESTY_VERSION=1.13.6.2
NGINX_VERSION=1.13.6
OPENSSL_VERSION=1.1.1b
NPS_VERSION=v1.13.35.2
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemin
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /etc/nginx/nginx.conf
# pidfile: /var/run/nginx.pid