Skip to content

Instantly share code, notes, and snippets.

View mhauntor's full-sized avatar

Md Mahedi Hasan mhauntor

View GitHub Profile
@mhauntor
mhauntor / mouseWheel.sh
Created February 14, 2024 16:15
linux mouse wheel speed control
#!/bin/bash
# Version 0.1 Tuesday, 07 May 2013
# Comments and complaints http://www.nicknorton.net
# GUI for mouse wheel speed using imwheel in Gnome
# imwheel needs to be installed for this script to work
# sudo apt-get install imwheel
# Pretty much hard wired to only use a mouse with
# left, right and wheel in the middle.
# If you have a mouse with complications or special needs,
# use the command xev to find what your wheel does.
@echo off
del /s /f /q c:\windows\temp\*.*
rd /s /q c:\windows\temp
md c:\windows\temp
del /s /f /q C:\WINDOWS\Prefetch
del /s /f /q %temp%\*.*
rd /s /q %temp%
md %temp%
deltree /y c:\windows\tempor~1
deltree /y c:\windows\temp
This file has been truncated, but you can view the full file.
@setlocal DisableDelayedExpansion
@echo off
goto MAS_Start
:9:
====================================================================================================
Credits:
====================================================================================================
Microsoft Activation Scripts (MAS):
@mhauntor
mhauntor / Prime number
Last active May 25, 2021 06:30
problem solving in C. problem: Find prime number from a given range. sample input: Insert the range: 10 simple output: 1 2 3 5 7
//Md Mahedi Hasan Auntor : mmhauntor@gmail.com
//Time: 8.45pm 22/05/2021
//my github: https://github.com/mhauntor
#include <stdio.h>
int main()
{
int number,i;