Skip to content

Instantly share code, notes, and snippets.

View sharik709's full-sized avatar
💭
Busy. May not respond at all :D

Sharik Shaikh sharik709

💭
Busy. May not respond at all :D
View GitHub Profile
@sharik709
sharik709 / .custom_funcs
Created April 22, 2025 06:18
My Custom Terminal Functions
# ---------------------------
# File: ~/.custom_funcs
# ---------------------------
# --- Git Helpers ---
# Push current branch
function push() {
git push origin "$(git branch --show-current)"
}
@sharik709
sharik709 / .bash_aliases
Created April 22, 2025 06:13
covers Git, frontend, terminal navigation, and utilities to boost speed and efficiency
# ---------------------------
# File: ~/.bash_aliases
# ---------------------------
# --- General Navigation ---
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias ~='cd ~'
alias c='clear'
import JSZip from 'https://cdn.skypack.dev/jszip';
function columnLetter(n) {
let s = '';
while (n > 0) {
const m = (n - 1) % 26;
s = String.fromCharCode(65 + m) + s;
n = Math.floor((n - 1) / 26);
}
return s;
@sharik709
sharik709 / linux-laravel-setup.sh
Last active August 19, 2024 09:14
Ubuntu Laravel Full setup
#!/bin/bash
# Color definitions
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
@sharik709
sharik709 / ElectoralBonds.csv
Created March 24, 2024 03:53
Electoral Bonds in csv
We can't make this file beautiful and searchable because it's too large.
sr,date,Party,Account,Prefix,BondNumber,Denominations,PayBranchCode,PayTeller
1,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,OC,775,10000000,00800,2770121
2,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,OC,3975,10000000,00800,2770121
3,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,OC,3967,10000000,00800,2770121
4,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,TL,10418,1000000,00800,2770121
5,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,TL,126,1000000,00800,2770121
6,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,TL,116,1000000,00800,2770121
7,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,TL,10466,1000000,00800,2770121
8,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,TL,122,1000000,00800,2770121
9,12/Apr/2019,ALL INDIA ANNA DRAVIDA MUNNETRA KAZHAGAM,*******5199,TL,158,1000000,00800,2770121
@sharik709
sharik709 / Test Twilio
Created August 6, 2023 05:39
Test Twilio
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>Hello, this is your Twilio response!</Say>
</Response>
@sharik709
sharik709 / countryToCurrency.php
Created October 8, 2019 09:58
List of country which currency.
$arr = [
'Afghanistan' => 'AFN',
'Albania' => 'ALL',
'Algeria' => 'DZD',
'Andorra' => 'EUR',
'Angola' => 'AOA',
'Antigua and Barbuda' => 'XCD',
'Argentina' => 'ARS',
'Armenia' => 'AMD',
@sharik709
sharik709 / php.snippets
Created June 22, 2018 08:22
should be create under ~/.vim/snippets
snippet met
public function ${1}()
{
${2}
}
snippet pmet
protected function ${1}()
{
${2}
@sharik709
sharik709 / _spacing-helpers.scss
Created January 3, 2018 19:22 — forked from jacurtis/_spacing-helpers.scss
SASS Margin and Padding Helpers Loop. Generates .m-t-10 type helper classes.
/*
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
It will generate several classes such as:
.m-r-10 which gives margin-right 10 pixels.
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
.p-l-40 gives PADDING to the LEFT of 40 pixels