Skip to content

Instantly share code, notes, and snippets.

View daryledesilva's full-sized avatar

Daryle Dale De Silva daryledesilva

View GitHub Profile
@daryledesilva
daryledesilva / FixtureDumperMiddleware.php
Created January 23, 2026 10:25
JSON-to-DTO Generator for Laravel + JMS Serializer - Generate PHP DTOs from JSON API fixtures
<?php
/**
* Guzzle Middleware: JSON Fixture Dumper
*
* Intercepts HTTP responses and dumps JSON to temp files for later analysis.
* Use this to capture API responses for the DTO generator.
*
* Usage:
* 1. Get the Guzzle handler stack from your HTTP client
@daryledesilva
daryledesilva / hpool daily estimation.user.js
Last active May 15, 2021 16:06
hpool daily estimation
// ==UserScript==
// @name hpool daily estimation
// @namespace http://tampermonkey.net/
// @version 0.1
// @description tried to give a monetary value to your daily mining
// @author Ruben Fernandes (Rauven)
// @match https://www.hpool.com/*
// @icon https://www.google.com/s2/favicons?domain=hpool.com
// @grant none
// @require http://code.jquery.com/jquery-3.4.1.min.js
@daryledesilva
daryledesilva / index.html
Created June 25, 2013 11:21
A CodePen by daryledesilva. test - for tin :P
Tshirt's text: <input type="text" id="input_text"> <input type="button" onclick="loadText()" value="load text"><br/>
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg">
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<g>
<title>Layer 1</title>
<path d="m240,121c0,1 0,2 1,4c1,2 1.87766,4.06601 3,6c1.80972,3.11848 3.513,4.59399 5,7c1.66251,2.68999 1.82375,5.48625 4,6c1.9465,0.4595 6.06134,1.82462 12,4c5.05658,1.85226 8,2 12,3c4,1 7,1 10,1c3,0 6,0 9,0c3,0 5.22836,1.14806 8,0c2.61313,-1.0824 4.50424,-2.03552 9,-5c2.3613,-1.55702 3.57111,-3.67947 8,-6c2.80109,-1.46764 4.72961,-3.22885 9,-8c0.94318,-1.05377 1.61731,-3.07613 2,-4c0.5412,-1.30656 1.29291,-2.29289 2,-3c0.70709,-0.70711 0,-2 1,-2c1,0 2.07611,-0.38268 3,0c1.30655,0.5412 2,1 3,1c2,0 3,0 4,0c1,0 2.29291,0.29289 3,1c0.70709,0.70711 2.07611,-0.38268 3,0c1.30655,0.5412 2,1 3,1c2,0 4,0 5,0c1,0 1.82376,0.48626 4,1c1.9465,0.4595 3,0 4,0c2,0 3,0 4,0c1,0 3,0 4,0c1,0 1.29291,0.29289 2,1c0.70709,0.70711 0.61731,2.07613 1,3c1.082