Skip to content

Instantly share code, notes, and snippets.

@djdays
djdays / kural-app.md
Last active July 28, 2023 11:03
Thirukkural t3 app dev

Creating KURAL t3-app

STEP-1:

Create t3 app

pnpm create t3-app@latest

STEP-2:

set -g @resurrect-processes ':all:'
#set -g mode-mouse on
set -g mouse on
# sane scrolling:
#bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
# In order for Tmux to do its magic focus-events option has to be set to on.
# Needed by 'tmux-focus-events.vim'
@djdays
djdays / bill-report.py
Last active October 13, 2022 04:39
invoice_report
import click
import sqlite3
import requests
from bs4 import BeautifulSoup as bs
from pdfminer import high_level
import re
import os
from datetime import datetime, date
import tempfile
# import sys
@djdays
djdays / bill-report.py
Created October 13, 2022 04:26
invoice_report
import click
import sqlite3
import requests
from bs4 import BeautifulSoup as bs
from pdfminer import high_level
import re
import os
from datetime import datetime, date
import tempfile
# import sys

Question-20 ⚙️

Solution
-- Chapter-12, Q-20

CREATE TABLE student1
(

Question-19 ⚙️

Solution
-- Chapter-12, Question-19

CREATE TABLE teacher
(

Question-18 ⚙️

Solution
-- Chapter-12, Question-18

CREATE TABLE graduate
(

Question-17 ⚙️

Solution
-- Chapter-12, Question-17

CREATE TABLE mov
(

Question-16 ⚙️

Solution
-- Chapter-12, Question-16                                                                                                                                              
                                                                                                                                                                        
CREATE TABLE library                                                                                                                                                    
(

Question-15 ⚙️

Solution
-- Chapter-12, Q-15

CREATE TABLE student
(