Skip to content

Instantly share code, notes, and snippets.

View Anmol-Singh-Jaggi's full-sized avatar

Anmol Singh Jaggi Anmol-Singh-Jaggi

View GitHub Profile
python2 = C:\Dev\Python27\python.exe $*
python3 = C:\Dev\Python34\python.exe $*
c+ = c++ @D:\anmol\coding\c++\cpp-options.txt $*
-Wall -Wextra -Wfatal-errors -Wunreachable-code -Wfloat-equal -Winline -Wshadow -Wredundant-decls -Wcast-qual -Wcast-align -Wlogical-op -pedantic
-std=c++14
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor] "Autorun"="%USERPROFILE%/Documents/cmd_autorun.cmd"
@echo off
cls
doskey /macrofile=%USERPROFILE%\Documents\cmd_aliases.txt
REM The `/macrofile` parameter of the `doskey` command is used to load the aliases from an external file.
@Anmol-Singh-Jaggi
Anmol-Singh-Jaggi / notify_send_env.sh
Created May 11, 2016 12:57
File containing the environment variables required for notify-send to work in Ubuntu 16 LTS.
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-KqjYaobROx
export DBUS_SESSION_BUS_ADDRESS
XAUTHORITY=/home/anmol/.Xauthority
export XAUTHORITY
DISPLAY=:0
export DISPLAY