HNHacker News
TopNewBestAskShowJobs

devhammed

9 karma · joined November 23, 2017

Innovative senior software engineer with 7+ years of experience in developing cutting-edge web and mobile applications. Recognized for technical leadership, mentoring capabilities, and expertise in JavaScript, PHP, and Dart. Passionate about fostering developer communities and driving technological advancements.
submissionscomments
devhammed··on Show HN: Laravel Brick Money Package
This package provides the Laravel integration of Brick/Money.

``` use Devhammed\LaravelBrickMoney\Money; use Devhammed\LaravelBrickMoney\Currency;

echo Money::of(100); // '$100.00'

echo Money::of(100, Currency::of('EUR')); // '€100,00'

echo Money::of(100, 'USD'); // '$100.00'

echo Money::ofMinor(100); // '$1.00'

echo Money::ofMinor(100, 'EUR'); // '€1,00' ```

devhammed··on Sleep.js: JavaScript port of PHP sleep() function in 6 LOC
Why @taf2 ? setTimeout is asynchronous, code after it will be executed before the function...requestAnimationFrame is for animations.
devhammed··on HUI.js – JavaScript Front End UI Library in 657 Bytes
Thanks for pointing that out, you can write your code in separate file then include in the HTML. i have updated the docs to note that.
devhammed··on HUI.js – JavaScript Front End UI Library in 657 Bytes
have you checked HyperScript?
devhammed··on HUI.js JavaScript Re-Usable UI Library
i'm a Nigerian, never knew it has such translation.
devhammed··on HUI.js JavaScript Re-Usable UI Library
Thanks. it is a layout library to create re-usable web components.