Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Shadab Zafar dufferzafar

🏠
Working from home
View GitHub Profile
@dufferzafar
dufferzafar / 00-ssh-tmux-iterm.md
Created May 3, 2022 — forked from lukasnellen/00-ssh-tmux-iterm.md
Summary of my remote tmux and ssh configuration to benefit from the iterm2-tmux integration, with ssh authentication socket refreshing
View 00-ssh-tmux-iterm.md

Configuration to use remote tmux over ssh in iterm

This is a compilation of information I found in different postings on the net.

All manual invocation

Basic remote tmux session

tmux can be invoked in command mode using tmux -CC. The simplest way to get a remote tmux session into a window of iterm is to invoke it on the remote host

@dufferzafar
dufferzafar / adeeb_dummy_data.sql
Created Nov 9, 2021
Adeeb's DBMS project for Class XII - School Management System
View adeeb_dummy_data.sql
INSERT INTO teachers VALUES
(0, "Salma", "Anjum", "salma@gmail.com", "1969-10-26", "1993-10-26", "WORKING"),
(0, "Rauf", "Khan", "", "1965-10-26", "1992-10-26", "WORKING");
@dufferzafar
dufferzafar / README.md
Created Jan 14, 2021 — forked from foulegg/README.md
Generate a ClearTax capital gains report using the capital gains statement from Kuvera (depends on beautifulsoup4 and openpyxl)
View README.md

Installing dependencies

This script requires two Python dependencies: beautifulsoup4 and openpyxl. Install them first using pip:

$ pip install beautifulsoup4
$ pip install openpyxl

You might have to use sudo if installing globally.

@dufferzafar
dufferzafar / NCERT Textbooks.md
Created Sep 20, 2020
Download Links for all NCERT textbook PDFs
View NCERT Textbooks.md
@dufferzafar
dufferzafar / userChrome.css
Created Jul 5, 2020
Firefox userChrome +TreeStyleTabs -ShadowFox
View userChrome.css
/* Make fonts bigger.*/
window[windowtype="Places:Organizer"] treechildren::-moz-tree-cell-text
{ font-size: 18px !important; }
window[windowtype="Places:Organizer"] treechildren::-moz-tree-row
{ height: 25px !important; }
/*###########################################################################################################*/
/*
@dufferzafar
dufferzafar / kde-services.py
Created May 24, 2020
Rofi modi for KDE services
View kde-services.py
#!/usr/bin/env python3
import os
import sys
import glob
import itertools
import subprocess
from configparser import ConfigParser
View scores.json
[
{ "Path": "/mnt/Data/Android Sync/GATE/Algorithms & Data Structures/Notes/CS 106 B/2016", "Score": {"Weight":14, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/home/dufferzafar/dev/massren", "Score": {"Weight":24, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/home/dufferzafar/dev/tagtool", "Score": {"Weight":14, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/mnt/Data/Android Sync/GATE", "Score": {"Weight":20, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/home/dufferzafar/dev/@alpha/jmp-runner/krunner-bridge", "Score": {"Weight":14, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/home/dufferzafar/dev/@alpha/jmp-runner/krunner-bridge/build", "Score": {"Weight":10, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/home/dufferzafar/.mozilla/firefox/54negid3.default/chrome", "Score": {"Weight":22, "Age":"2018-09-03T15:37:08.64200953+05:30"} },
{ "Path": "/home/dufferzafar/dev/@clones/cpython-3.7.0", "Score": {"Weight":10, "Age":"2018-09-03T15:
@dufferzafar
dufferzafar / CV of failures - Melanie Stefan.md
Last active Sep 3, 2018
Notes on failure by other people
View CV of failures - Melanie Stefan.md

Taken from: https://www.nature.com/naturejobs/science/articles/10.1038/nj7322-467a

A couple of months ago, I received a letter informing me that my fellowship application had failed. On the same day, Brazil's World Cup squad announced that football phenomenon Ronaldinho had not been selected. “Cool,” I thought. “I am like Ronaldinho.” But that thought offered only little consolation. No scientist enjoys such failures, but too often we hide them.

In a way, a fellowship rejection is to be expected. Most of these fellowships have success rates of about 15%, meaning that an applicant might be successful in only one out of every seven tries. For every hour I've spent working on a successful proposal, I've spent six hours working on ones that will be rejected. I don't mind the extra work — after all, if I abhorred tedious tasks with low chances of success, I would not be in research.

Even so, this means that for every endorsement, there are about six challenges to my ability, my determination and my visi

View IIT D - Citadel.json
{
"AM": {
"AML713": {
"Question-Papers": {
"Minor2": {
"[Fall17]-Minor2.jpeg": "/media/database/AM/AML713/Question-Papers/Minor2/[Fall17]-Minor2.jpeg"
}
}
}
},
@dufferzafar
dufferzafar / YouTube Subscriptions.rss
Last active Nov 25, 2018
My Youtube Subscriptions
View YouTube Subscriptions.rss
<opml version="1.1">
<body>
<outline text="YouTube Subscriptions" title="YouTube Subscriptions">
<outline text="Linus Tech Tips" title="Linus Tech Tips" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw"/>
<outline text="TechLinked" title="TechLinked" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCeeFfhMcJa1kjtfZAGskOCA"/>
<outline text="Techquickie" title="Techquickie" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UC0vBXGSyV14uvJ4hECDOl0Q"/>
<outline text="saurabhschool" title="saurabhschool" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCZSfwNcYIpqO8B9wnBg4HWA"/>
<outline text="Official Trailers Zone" title="Official Trailers Zone" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UC13ETuIRLcejynMYPkxPiLA"/>
<outline text="Popular on YouTube - Worldwide" title="Popular on YouTube - W