-
Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.
-
Update system packages in Termux:
$ pkg update -y
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// sample to use: php dbf2mysql.php > {filename}.sql | |
$db = false; | |
if($argc >= 2) { | |
$table = 'table'; | |
$iconvFrom = '866'; | |
$iconvTo = 'UTF-8'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'), | |
fs = require('fs'), | |
path = require('path'), | |
exec = require('child_process').exec; | |
function pipeDoc(inputPath, finalType, stream) { | |
var finalPath = path.dirname(inputPath) | |
+ "/" + path.basename(inputPath).split('.')[0] + ".html"; | |
var convCommand = 'unoconv -f ' + finalType + " " + inputPath; | |
exec(convCommand,function(err, stdout, stderr) { |