Skip to content

Instantly share code, notes, and snippets.

View mrfambo's full-sized avatar
🏃‍♂️
Chasing Dream

Ali Muqaddas mrfambo

🏃‍♂️
Chasing Dream
View GitHub Profile
/*
Continous Integration of React App build to ftp using nodejs.
It simply takes the files from build folder and upload them onto your ftp provided destination
With best practice add "deploy":"node react-ci-ftp.js" command in your package.json
*/
var FtpDeploy = require("ftp-deploy"); // add it as dev dependancy in your react project
var ftpDeploy = new FtpDeploy();
@mrfambo
mrfambo / pdf2docx.py
Created December 22, 2017 05:40 — forked from eyecatchup/pdf2docx.py
Convert PDF files to Microsoft Office Word compatible doc/docx files, using LibreOffice's command line interface.
#!C:/Python27/python.exe
#
# Convert PDF files to Microsoft Office Word compatible doc/docx files,
# using LibreOffice's command line interface.
#
# http://stackoverflow.com/questions/26358281/convert-pdf-to-doc-python-bash
# http://ask.libreoffice.org/en/question/20111/converting-files-using-soffice-convert-to-with-embedded-images-html-to-doc/
# http://cgit.freedesktop.org/libreoffice/core/tree/filter/source/config/fragments/filters
#