Skip to content

Instantly share code, notes, and snippets.

View deepanchal's full-sized avatar
🎯
Focusing

Deep Panchal deepanchal

🎯
Focusing
View GitHub Profile
@deepanchal
deepanchal / starship.toml
Last active March 29, 2024 11:51
Starship config
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
format = """
$username\
$hostname\
$localip\
$shlvl\
$singularity\
$kubernetes\
@deepanchal
deepanchal / setup-asdf-direnv.md
Created June 14, 2022 21:11
Setup ASDF & Direnv

⚙️ Environment setup

ASDF Version Manager

asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.

Reference: https://asdf-vm.com/guide/introduction.html

Install asdf

Keybase proof

I hereby claim:

  • I am deepanchal on github.
  • I am deepanchal (https://keybase.io/deepanchal) on keybase.
  • I have a public key ASA-ycoSGthT-HbGe3OwNvuBs-JOezXqFgOgwQcM93pr9Ao

To claim this, I am signing this object:

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@deepanchal
deepanchal / spacing.css
Last active June 3, 2020 15:53
Bootstrap style CSS spacing helper classes
.m-0 { margin: 0; }
.p-0 { padding: 0; }
.mt-0 { margin-top: 0; }
.pt-0 { padding-top: 0; }
.mr-0 { margin-right: 0; }
.pr-0 { padding-right: 0; }
.mb-0 { margin-bottom: 0; }
.pb-0 { padding-bottom: 0; }
.ml-0 { margin-left: 0; }
.pl-0 { padding-left: 0; }
@deepanchal
deepanchal / BiblioBot.py
Created April 22, 2020 00:27
A python bot which takes multiple article links and automates your GUI to generate citations from (zbib.org)
import pyautogui
import webbrowser
import time
import tkinter as tk
from tkinter import messagebox
url = "https://zbib.org/"
instructions = "This bot needs to have access to you keyboard and mouse to function.\nPlease don't mess with keyboard or cursor while this bot is running\nTo use this bot, copy and paste all your article(references) website links in the textbox.\nPlease make sure that every link is on newline or else bot won't work.\nDon't worry, its just a bot, not A.I. ;)\n"
@deepanchal
deepanchal / hideAns.js
Last active November 1, 2019 15:00
Hide Canvas Quizzes with Console
// Copy paste these lines in javascript console to hide answers from canvas quizzes
document.querySelectorAll('.answer_arrow, .wrong_answer, div.user_points, input[type="radio"]').forEach(item=>item.remove());
document.querySelectorAll('.answers .answer').forEach(item=>item.setAttribute('style', 'opacity: 1'));
@deepanchal
deepanchal / VS config
Created September 3, 2019 01:28
VS code sync
Hello