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 April 5, 2025 05:25
A useful debugging template for C++.
#include <iostream>
#include <vector>
#include <deque>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
template <typename T>
std::ostream& operator<<(std::ostream& out, const std::vector<T>& vec) {
@andkirby
andkirby / slack.sh
Last active February 10, 2025 18:49
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