Skip to content

Instantly share code, notes, and snippets.

View mhashim6's full-sized avatar
🕰️
Timeless, Placeless

Muhammad Hashim mhashim6

🕰️
Timeless, Placeless
View GitHub Profile
@mhashim6
mhashim6 / remove_zscaler.sh
Created February 24, 2026 11:45
remove_zscaler_mac
#!/bin/bash
# remove_zscaler.sh — Run from macOS Recovery Mode terminal
# Removes Zscaler Client Connector and all associated files
#
# Usage from Recovery Mode:
# 1. Mount your main volume (see instructions below)
# 2. bash /Volumes/Macintosh\ HD/Users/<you>/dev/zscaler/remove_zscaler.sh
#
# NOTE: Adjust VOLUME if your startup disk has a different name.
<title>Hello, Instabug!</title>
deadheart
/**
*@author mhashim6 on 31/10/2019
*/
fun main() {
val ns = arrayOf(5, 6, 7)
val p1 = Point(5, 7)
val p2 = Point(5, 6)
import struct
import heapq
import tkinter
import itertools
######################################################################
# A function that mimics "enumerated datatypes"
######################################################################
def enum(*args):
enums = dict(zip(args, range(len(args))))
@mhashim6
mhashim6 / deep_roots.ipynb
Last active August 10, 2019 10:03
deep_roots
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#include <fcntl.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/termios.h>
@mhashim6
mhashim6 / pi2.py
Created March 21, 2019 11:32
RaspberyPi-ultrasonic
import RPi.GPIO as GPIO
import time
TRIGGER = 18
ECHO = 24
GPIO.setmode(GPIO.BCM)
GPIO.setup(TRIGGER, GPIO.OUT)
GPIO.setup(ECHO, GPIO.IN)
@mhashim6
mhashim6 / cloudSettings
Created November 24, 2018 19:22
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-24T17:21:51.829Z","extensionVersion":"v3.2.0"}
@mhashim6
mhashim6 / RemoveTashkeel.java
Last active May 27, 2022 20:12
removes Arabic diacritics (tashkeel تشكيل) from any file almost instantly.
Copyright 2017 mhashim6(Muhammad Hashim)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,