Skip to content

Instantly share code, notes, and snippets.

View HarshilPatel007's full-sized avatar

Harshil Patel HarshilPatel007

View GitHub Profile
@HarshilPatel007
HarshilPatel007 / .bashrc
Created May 22, 2017 08:17 — forked from rickdaalhuizen90/.bashrc
Parrot Os bash theme for ubuntu
# ~/.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
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@HarshilPatel007
HarshilPatel007 / Input.vue
Created May 27, 2019 13:36
Main Input Component
<template>
<div class="Input">
<v-text-field
v-if="Type === 'field-box'"
:readonly="readonly"
:disabled="disabled"
:color="color"
:background-color="background"
:prepend-icon="icon_prepend"
@HarshilPatel007
HarshilPatel007 / Form.vue
Created May 27, 2019 13:38
a vue component that utilise the Input.vue component
<template>
<div>
<v-container grid-list-md text-xs-center>
<v-layout row wrap="">
<v-flex v-for="i in 2" :key="`6${i}`">
<sd-textfields class="px-0" title IconAppendOut="place" Hint="This is hint" Counter MaxNumbers=10></sd-textfields>
<sd-textfields class="px-0" Type="field-solo" IconAppend="place" Hint="This is hint" Counter></sd-textfields>
<sd-textfields class="px-0" Type="field-outline" IconPrepend="place" Hint="This is hint"></sd-textfields>
<sd-textfields class="px-0" Type="field-box" IconPrependIn="place" Hint="This is hint"></sd-textfields>
<v-btn @click="submit">asdasda</v-btn>
@HarshilPatel007
HarshilPatel007 / chessqt.py
Last active March 27, 2025 07:24
ChessQT
import asyncio
import random
import sys
from datetime import datetime
import chess
import chess.engine
import chess.pgn
from PySide6.QtCore import QLineF, QPointF, QRectF, Qt
from PySide6.QtGui import (QAction, QBrush, QColor, QPainter, QPen, QPixmap,
@HarshilPatel007
HarshilPatel007 / table.vue
Created February 25, 2025 08:20
table.vue
<script setup lang="ts">
import TaskEditModal from '@/components/TaskEditModal.vue'
import DataTable from '@/components/dataTable/DataTable.vue'
import DataTableRowAction from '@/components/dataTable/DataTableRowAction.vue'
import Avatar from '@/components/ui/avatar/Avatar.vue'
import AvatarFallback from '@/components/ui/avatar/AvatarFallback.vue'
import AvatarImage from '@/components/ui/avatar/AvatarImage.vue'
import Badge from '@/components/ui/badge/Badge.vue'
import { httpClient } from '@/utils/api'
import { LoaderCircle } from 'lucide-vue-next'