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
| <?php | |
| /** | |
| * JSON Helper | |
| */ | |
| class JSON { | |
| /** | |
| * Safe Encodes Json with NAN and INF support | |
| * @param Mixed $data - Serializable data |
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
| /** | |
| @author: | |
| Nicolas Pulido | |
| @description: | |
| Snippet code to extended SQLite math functions in an iOS project, using ccgus/FMDB library. | |
| Due to the fact that iOS doesn't support dynamic libraries, we should create SQLite extended functions on runtime with | |
| sqlite3_create_function. | |
| (http://stackoverflow.com/questions/6283496/xcode-sqlite-extension-for-use-on-iphone) |