Skip to content

Instantly share code, notes, and snippets.


Irfaq Syed irazasyed

Block or report user

Report or block irazasyed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
irazasyed /
Last active Feb 23, 2020
How to Enable DNSCrypt-Proxy v2 on Netgear X4S R7800 / R8900 / R9000 Router

How to Enable DNSCrypt-Proxy v2 on Netgear X4S R7800 / R8900 / R9000 Router

Supported routers (Netgear R7800, R8900, and R9000)


  • Make sure telnet is enabled in your router. You can visit this page and enable (login when prompted):
  • Once you telnet into your router using your routers password, you should setup your SSH key.
  • [Recommended] Add SSH key to /root/.ssh/authorized_keys (You might have to create this dir and file manually if not it doesn't already exist).
View regex-worker.js
// Perform regex replacements and inject CSS/JavaScript with Cloudflare Workers
addEventListener('fetch', event => {
* Fetch and log a given request object
* @param {Request} request
View .gitignore_global
# Compiled source #
irazasyed /
Last active Apr 29, 2020
How to Setup dnsmasq with dnscrypt-proxy and Cloudflare DNS on macOS

How to Setup dnsmasq with dnscrypt-proxy and Cloudflare DNS on macOS

Using Laravel Valet for localhost development, So it installs dnsmasq with it. dnsmasq runs on port 53, The default DNS port. So we setup dnscrypt-proxy on port 5300 with the default config files in this gist.

dnscrypt-proxy Installation

brew install dnscrypt-proxy
View card-popup-effect.css
.card {
transition: 0.5s;
backface-visibility: hidden;
transform: translateZ(0);
.card:hover {
box-shadow: 0 30px 70px #000;
transform: scale3d(1.05, 1.05, 1.05);
irazasyed /
Created Aug 12, 2018
Laravel Scheduler Manual Simulation

Simulate Laravel Scheduler Manually

This command will execute every 60 seconds which will trigger your Laravel schedules in 1 min range.

while true; do php artisan schedule:run; sleep 60; done
irazasyed / dark-youtube.js
Last active Apr 3, 2018
User-Script: YouTube Dark & Wide Mode.
View dark-youtube.js
// ==UserScript==
// @name Dark Wide YouTube
// @namespace DWYT
// @version 1.0
// @description Dark Wide YouTube
// @author Syed I.R.
// @match https://**
// @require
// @grant none
// @noframes
irazasyed /
Created Jan 6, 2018
Binance Registration Work-Around

Binance Registration Work-Around

Binance as you know has taken over Bittrex in terms of volume and has been performing quite well with coin listings every week happening and interesting contests. However, due to the huge number of registrations on their platform, they have temporally closed registrations. But there is still a work-around to register an account with Binance despite the registrations being closed.

Here's a way to easily register an account with Binance:

Just follow this link and register an account as you would normally and enjoy! Do share with others too :)

irazasyed /
Created Jun 25, 2017
Laravel Valet Share with Sub-Domain Support
# Tunnels to valet project with custom domain name.
# Uses with my personal github account and auth token
function tunnel_valet() {
DOMAIN=$(valet domain)
[[ "$1" ]] && SUBDOMAIN=$1;
for linkname in ~/.valet/Sites/*; do
if [[ "$(readlink $linkname)" = "$PWD" ]]
View instagram-follow-script.js
/* source
_aj7mu _r4e4p _95tat _o0442
var jq = document.createElement('script');
jq.src = "//";
You can’t perform that action at this time.