Skip to content

Instantly share code, notes, and snippets.

View adityaruplaha's full-sized avatar
🏁
Learning

Adityarup Laha adityaruplaha

🏁
Learning
View GitHub Profile
@adityaruplaha
adityaruplaha / config
Last active August 30, 2025 18:31
ISI SSH Config
Match host isical-gateway exec "dig www.isical.ac.in | grep www-in"
# We are inside ISI's network, use internal IP for gateway access.
HostName 192.168.143.100
Host isical-gateway
HostName gateway.isical.ac.in
User <insert here>
Port 2222
PreferredAuthentications password
DynamicForward 11000
@adityaruplaha
adityaruplaha / common.hpp
Created February 21, 2021 14:02
Function Reflection
#include <tuple>
#include <type_traits>
namespace Common {
template <typename... Ts>
class TypeSeq;
template <>
class TypeSeq<> {
public:
@adityaruplaha
adityaruplaha / LoginCommand.php
Last active August 22, 2023 11:57
Telegram Login Widget not working on certain browsers. - Investgation and workarounds.
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/