Skip to content

Instantly share code, notes, and snippets.

View hxmwr's full-sized avatar
🐶
Doing machine learning research.

Nmaxwiver hxmwr

🐶
Doing machine learning research.
  • H.E. Tech
  • China
View GitHub Profile
@hxmwr
hxmwr / gist:4fcfca6b039aa61731741ce390270496
Created October 16, 2018 02:15 — forked from ehuynh/gist:2572398
Start and Stop Jenkins on OSX
# start
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
# stop
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
@hxmwr
hxmwr / gist:bcc1193e28b606f003cbb77ccf5333f4
Created June 10, 2017 13:21 — 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/