Skip to content

Instantly share code, notes, and snippets.

View priyanshu219's full-sized avatar
๐Ÿ˜‚
EZPZGG

Priyanshu Garg priyanshu219

๐Ÿ˜‚
EZPZGG
View GitHub Profile
@SansPapyrus683
SansPapyrus683 / debugging.h
Last active November 21, 2025 20:19
A useful debugging template for C++.
#include <deque>
#include <iostream>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>
template <typename T1, typename T2>
std::ostream& operator<<(std::ostream& out, const std::pair<T1, T2>& pair);
@andkirby
andkirby / slack.sh
Last active September 18, 2025 15:26
Shell/Bash script for sending slack messages.
#!/usr/bin/env bash
####################################################################################
# Slack Bash console script for sending messages.
####################################################################################
# Installation
# $ curl -s https://gist.githubusercontent.com/andkirby/67a774513215d7ba06384186dd441d9e/raw --output /usr/bin/slack
# $ chmod +x /usr/bin/slack
####################################################################################
# USAGE
# Send message to slack channel/user