Skip to content

Instantly share code, notes, and snippets.

View thakkarV's full-sized avatar
💭
I swear I am trying...

Vijay Thakkar thakkarV

💭
I swear I am trying...
  • NVIDIA
  • Remote
View GitHub Profile
@trevoreyre
trevoreyre / AutoHotkey.ahk
Last active September 8, 2021 17:03
macOS AutoHotkey script
/**
* Adapted from scripts by Chris Dhanaraj, Pavel Pevnitskiy, and Taran Van Hemert
*
* https://medium.com/@chrisdhanaraj/mapping-your-macos-keybinds-to-windows-b6009c50065b
* https://gist.github.com/fljot/58e46c92e99e7072ab56
* https://github.com/TaranVH/2nd-keyboard/blob/master/Taran's_Windows_Mods/Alt_menu_acceleration_DISABLER.ahk
*
* This script assumes some keys have been remapped in the Windows registry
* to behave closer to a macOS keyboard layout. This key remapping can be
* done using SharpKeys or a similar program.
@isopropylcyanide
isopropylcyanide / littlechecker.py
Last active January 7, 2024 16:50 — forked from rajarsheem/littlechecker.py
A little code checker tool in python for Java,C,Cpp. Handles compile error, runtime error, accepted, wrong, TLE.
import os
import filecmp
import re
codes = {200: 'success', 404: 'file_name not found',
400: 'error', 408: 'timeout'}
class program:
"""Class that handles all nitty gritties of a user program"""
@trusktr
trusktr / DefaultKeyBinding.dict
Last active May 21, 2024 19:41
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers