Skip to content

Instantly share code, notes, and snippets.

irazasyed /
Created Oct 7, 2020
Solution for MySQL / MariaDB Start Issue on MacOS

Solution for MySQL / MariaDB Start Issue on MacOS


On trying to start mysql.server start

./usr/local/bin/mysql.server: line 264: kill: (12262) - No such process ERROR!

irazasyed / google-fonts-async.html
Created May 28, 2020
Google Fonts Async Snippet
View google-fonts-async.html
- Info:
- 1. Preemptively warm up the fonts’ origin.
- 2. Initiate a high-priority, asynchronous fetch for the CSS file. Works in
- most modern browsers.
- 3. Initiate a low-priority, asynchronous fetch that gets applied to the page
- only after it’s arrived. Works in all browsers with JavaScript enabled.
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 Mar 28, 2021
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 :)