Skip to content

Instantly share code, notes, and snippets.

@shreyasborse
shreyasborse / zerodha_to_moneycontrol.py
Created May 13, 2022 09:11 — forked from saurabhwahile/zerodha_to_moneycontrol.py
Script for importing zerodha stocks in xlsx to moneycontrol csv if you want to use moneycontrol terminal
#You'll still have to manually enter dates here, as the xlsx file from zerodha does not show dates(SIP of stocks causes multiple dates)
#EDIT: Usage python zerodha_to_moneycontrol.py <FILENAME>
import sys
from openpyxl import load_workbook
wb = load_workbook(sys.argv[1])
ws = wb.active
csv_list = [["BSE/NSE/ISIN Code","Buy Date","Buy Quantity","Buy Price",]]
@shreyasborse
shreyasborse / BH 20 may 2017 config.json
Last active May 20, 2017 07:43 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
<?php
for ($j=1;$j<10 ;$j++) {
for ($i=1; $i <10 ; $i++) {
$Seat= $j.'R'.$i;
echo "<button onclick='selectSeat(this)' id='".$Seat."'>".$Seat."</button>";
}
echo "<br>";