I hereby claim:
- I am hazemnoor on github.
- I am hazemnoor (https://keybase.io/hazemnoor) on keybase.
- I have a public key ASC_DNqp3aU7PvWvUc-VAeFBeYoB7G2NakMB4Cd_G9u8ngo
To claim this, I am signing this object:
| /** | |
| * Use JSONPath Query in Postman Visualizer | |
| * Instructions: | |
| * 1. Paste this code into the "Scripts -> post response" tab of your Postman request. | |
| * 2. Send the request and switch to the "Visualize" tab to see the output. | |
| * 3. Enter a JSONPath query in the input field to filter the response dynamically. | |
| * - Example JSONPath Queries: | |
| * - $.key: Fetch the value of a top-level key. | |
| * - $.items[*].name: Fetch all "name" values inside "items" array. | |
| * - $..id: Fetch all "id" values from the JSON response. |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| use Illuminate\Foundation\Http\FormRequest; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Routing\Redirector; | |
| if (!function_exists('createFormRequest')) { | |
| /** | |
| * Create a FormRequest from a Request object | |
| * |
| <?php | |
| /** | |
| * Choose a variation from a weighted experiment | |
| * This can be used in A/B testings, in case you need to take a sample of users and apply certain feature on them | |
| */ | |
| function getRandomVariation(array $experiment): string | |
| { | |
| $weightedVariations = []; |
| <?php | |
| /** | |
| * Check if a string is valid json string and return data if valid or false otherwise | |
| * | |
| * @params Same as json_decode args | |
| * | |
| * @return false|mixed | |
| */ | |
| function json_get() |