This file contains hidden or 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
#!/bin/sh | |
if [ -z "$1" ] | |
then | |
echo "./dbf2csv [file.dbf]" | |
exit | |
fi | |
for var in "$@" | |
do | |
dbfdump.pl --info $var | csplit - 10 -s |
This file contains hidden or 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
/// <summary> | |
/// Serializer Class. | |
/// </summary> | |
public class PHPSerializer | |
{ | |
//types: | |
// O = Object | |
// N = null | |
// s = string | |
// i = int |
This file contains hidden or 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 | |
fs = require('fs'), | |
charsetDetector = require('node-icu-charset-detector'), | |
iconvlite = require('iconv-lite'); | |
/* Having different encodings | |
* on text files in a git repo | |
* but need to serve always on | |
* standard 'utf-8' | |
*/ |