Skip to content

Instantly share code, notes, and snippets.

View leninhasda's full-sized avatar
🏠
Working from home

Lenin Hasda leninhasda

🏠
Working from home
View GitHub Profile
@tareq1988
tareq1988 / bn-to-en.php
Created January 30, 2015 12:16
Bangla to Phonetic English Conversion
<?php
/**
* Tokenize Unicode strings
*
* @param string $str
* @link http://php.net/str_split
*
* @return array
*/
function str_split_unicode($str) {
@prwhite
prwhite / Makefile
Last active May 2, 2024 18:02
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing