Skip to content

Instantly share code, notes, and snippets.

Excellence is not a skill, it's an attitude.

Hamza Anis HamzaAnis

Excellence is not a skill, it's an attitude.
View GitHub Profile
HamzaAnis / GitHub-slack
Last active May 19, 2021
Subscribe to all of the updates on GitHub plugin slack
View GitHub-slack
/github subscribe owner/repo issues pulls commits commits:* releases comments branches reviews
class Node:
def __init__(self, val=None, p=None, l=None, r=None):
self.key = val
self.parent = p
self.left_child = l
self.right_child = r
self.balance_factor = 0
def __repr__(self):
s = str(self.key)
View port-forwarding.go
package main
import (
View correct.json
"proxyDomain": "",
"listeningAddress": "",
"proxyAddress": "",
"target": "",
"targetResources": ",,,,",
"targetRules": "",
"terminateTriggers": "",
"terminateRedirectUrl": "",
"trackingCookie": "ident",
HamzaAnis / Install Vscode
Created Apr 12, 2019
Installing vscode using snap
View Install Vscode
sudo snap install code --classic
View gist:7f9a8867a50db7e6540f2307c2c594c1
type Queue []*Node
func (q *Queue) Push(n *Node) {
*q = append(*q, n)
func (q *Queue) Pop() (n *Node) {
n = (*q)[0]
*q = (*q)[1:]
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<script src=""></script>
HamzaAnis / cloudSettings
Last active Dec 25, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
HamzaAnis / zohodelay.js
Created Aug 11, 2018
A trick to add a delay of 5 seconds in the zoho forms
View zohodelay.js
void delay()
info now;
thislist = List();
for each l in thislist
response = getUrl( "");
info now;
HamzaAnis / GlobalMouseClick.cs
Created Jun 8, 2018
A hook for global mouse clicks on a screen.
View GlobalMouseClick.cs
namespace Demo_mousehook
public partial class Form1 : Form
public Form1()
MouseHook mh;