Automatic file maneger in PHP(14th July 2013) |
|||||||
I got tired of manually organizing my downloads folder, and after not being happy with existing solutions I decided to write a PHP script which would enable me to easily configure new rules for file and folder management. This is achieved by having a flexible class hierarchy, so that you don't end up repeating yourself when configuring new rules and actions.
|
![]() |
||||||
English hyphenation algorithm in PHP(10th July 2013) |
|||||||
A good presentation about hyphenation in HTML documents can be seen here, but it is client side (JavaScript) oriented. Basically you shouldn't use justified text unless it is hyphenated, because long words will cause huge spaces between words to make the line stretch out the whole width of the element. I found a few PHP scripts such as phpHyphenator 1.5, but typically they weren't implemented as a single stand-alone PHP class. Since the underlying algorithm is fairly simple, I decided to write it from scratch.
|
![]() |
Home
|
Home | (Home page) |
About | (About me) |
Platform | (About this blog) |
(Niko Nyrhilä) | |
GitHub | (nikonyrh) |
Stackoverflow | (nikonyrh) |
Single channel speech / musi... | (2022 Feb) |
Image and video clustering w... | (2022 Jan) |
Helsinki Deblur Challenge 2021 | (2021 Dec) |
Satellite crash course | (2021 Jun) |
Chess video search engine | (2021 Jun) |
GitHub | (12) |
Computer Vision | (10) |
Databases | (9) |
Elasticsearch | (6) |
FFT | (5) |
Rendering | (5) |
Data Structures | (4) |
C++ | (11) |
Matlab | (10) |
Python | (9) |
Clojure | (6) |
Bash | (6) |
PHP | (6) |
Keras | (4) |
Matl | C++ | Cloj | Bash | Pyth | PHP | |
Comput | 6 | 3 | 1 | 0 | 3 | 0 |
GitHub | 0 | 1 | 4 | 3 | 2 | 3 |
Databa | 0 | 2 | 2 | 1 | 3 | 1 |
Render | 3 | 3 | 0 | 0 | 0 | 0 |
Nginx | 0 | 0 | 0 | 4 | 1 | 0 |
Elasti | 0 | 0 | 3 | 0 | 2 | 1 |
FFT | 3 | 1 | 0 | 0 | 1 | 0 |
Data S | 2 | 2 | 1 | 0 | 1 | 1 |
JVM | 0 | 0 | 3 | 1 | 1 | 0 |
Docker | 0 | 0 | 0 | 3 | 1 | 0 |
FastCG | 0 | 3 | 0 | 0 | 0 | 0 |
Blog | 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