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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <stdint.h> | |
#include <stddef.h> | |
int getSize(unsigned char *); | |
unsigned char * fileToBuffer(unsigned char *); | |
unsigned char * replaceCharset(const char *, const char *, const char *); |
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
[ | |
{ | |
"id": 1, | |
"name": "Adana", | |
"latitude": "37.0000", | |
"longitude": "35.3213", | |
"population": 2183167, | |
"region": "Akdeniz" | |
}, | |
{ |
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
{ | |
"AD": { | |
"name": "Andorra", | |
"name_tr": "Andorra", | |
"continent": { | |
"code": "EU", | |
"name": "Europe", | |
"name_tr": "Avrupa" | |
} | |
}, |
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 | |
/** | |
* Find all prime numbers up to any given n using Sieve of Eratosthenes. | |
* | |
* https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes | |
* https://en.wikipedia.org/wiki/Eratosthenes | |
* | |
* @param int $n | |
* |
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 | |
/* | |
* Package: https://github.com/epigra/trstringhelper | |
*/ | |
class TurkishString | |
{ | |
/** | |
* @var array | |
*/ |