Skip to content

Instantly share code, notes, and snippets.

View PandaWhoCodes's full-sized avatar

Thomas Ashish Cherian PandaWhoCodes

View GitHub Profile
@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"
)
@PandaWhoCodes
PandaWhoCodes / disable_ddl_ops.sql
Last active April 14, 2022 20:50
lock tables from being altered in postgres
CREATE OR REPLACE FUNCTION schema.ddl_issue()
RETURNS event_trigger
LANGUAGE plpgsql
AS $function$
DECLARE r RECORD;
BEGIN
FOR r IN SELECT * FROM pg_event_trigger_ddl_commands() LOOP
IF ( r.objid::regclass::text = 'schema.tablename' )
THEN
RAISE EXCEPTION 'You are not allowed to change %', r.object_identity;