Instantly share code, notes, and snippets.


Hi @Airtel_Presence why do you need to validate the OTP when recharging? I was trying to help a person who don't even know how to read the message. And stuck to get the OTP to give the best offer you provide on the phone :-(

Hi! I appreciate you reaching out here, Hari! I'd be happy to take a closer look. Can you please explain a little about the situation in a DM? I can then follow this up appropriately. Rgds, Swati

View gist:973c0f7414087a50c033130859119806
View hello.blade.php
How can we extend Blade ?
I am using the directive
@url('article_show', ['id' => '3'], ['foo' => 'bar'], 'fragment')
Problem is the rest of the params after string `'article_show'` is not received on call back.
I am trying to do something similar to :
View aurarouter.nginx.conf
server {
listen 80;
root /var/www/projects/aura-router-test;
index index.php index.html index.htm;
location / {
try_files $uri @rewriteapp;
View APACHE_content-security-policy.conf
# REF:
<IfModule mod_headers.c>
Header set Content-Security-Policy "script-src 'self'; object-src 'self'"
<FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$">
Header unset Content-Security-Policy
View gist:4cece5f1059c8e1aef167248f0f56038
Failure of server APACHE bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
View example.php
<?php declare(strict_types=1);
require_once "✨.🐘";
View gist:082816eb131f0afcd4b87dc251266da5

Moving from jQuery


// jQuery
$(document).ready(function() {
  // code
View Remove all git tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs -n 1 git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d
View JWTKiller.php
use ParagonIE\ConstantTime\Base64UrlSafe;
class JWTKiller
public static function sign(string $message, Key $key): string
$mac = sodium_crypto_auth($message, $key->getRaw());