Skip to content

Instantly share code, notes, and snippets.

View anykate's full-sized avatar
🏠
Working from home

Aniket Aryamane anykate

🏠
Working from home
View GitHub Profile
@anykate
anykate / eslint.config.ts
Last active August 29, 2025 19:54
Create Vue3 vite project
// @ts-check
import css from '@eslint/css'
import js from '@eslint/js'
import json from '@eslint/json'
import markdown from '@eslint/markdown'
import pluginVue from 'eslint-plugin-vue'
import globals from 'globals'
import tseslint from 'typescript-eslint'
export default tseslint.config(
@anykate
anykate / templates.txt
Created August 23, 2025 04:09
Templates
nuxt-app-1.git
nuxt-preline-app-1.git
@anykate
anykate / opera.sh
Created June 29, 2025 00:30
Opera update (new method)
sudo rm /etc/apt/sources.list.d/opera.list
curl -fsSL https://deb.opera.com/archive.key | gpg --dearmor | sudo tee /usr/share/keyrings/opera.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/opera.gpg] https://deb.opera.com/opera-stable/ stable non-free" | sudo tee /etc/apt/sources.list.d/opera.list
@anykate
anykate / 1_update.txt
Last active August 19, 2025 01:43
Linux OS upgrade/install update
sudo rm -f /etc/apt/sources.list.d/opera-stable.list
sudo apt update && sudo apt upgrade -y
sudo apt autoremove
source ~/venv/bin/activate
pip-review --local --interactive
deactivate
sudo npm-check -g -y
flatpak update
pnpm self-update
uv self update
@anykate
anykate / index.html
Created June 26, 2025 04:13
Tailwind CSS custom grid class in components layer
<div class="wrapper">
<div class="bg-blue-200 p-4">
<p class="text-blue-800">a. This is a blue box.</p>
</div>
<div class="bg-green-200 p-4">
<p class="text-green-800">b. This is a green box.</p>
</div>
<div class="bg-amber-200 p-4">
<p class="text-amber-800">c. This is an amber box.</p>
</div>
@anykate
anykate / index.html
Created June 3, 2025 06:10
TailwindCSS v4 CSS Grid Layout - Dashboard
<div class="@container/Dash grid min-h-screen grid-cols-1 md:grid-cols-12">
<aside class="col-span-1 hidden bg-gray-800 p-6 text-white transition duration-300 @3xl/Dash:col-span-3 @3xl/Dash:block">
<nav>
<ul class="flex flex-col space-y-6">
<li>Dashboard</li>
<li>Users</li>
<li>Settings</li>
</ul>
</nav>
</aside>
@anykate
anykate / index.css
Created June 2, 2025 18:37
TailwindCSS v4 CSS Grid Layout - Variation 1
@import "tailwindcss";
.header {
grid-area: header;
}
.sidebar {
grid-area: sidebar;
}
@anykate
anykate / index.css
Last active June 2, 2025 17:21
TailwindCSS v4 CSS Grid Layout
@import "tailwindcss";
.header {
grid-area: header;
}
.sidebar {
grid-area: sidebar;
}
@anykate
anykate / index.css
Last active June 2, 2025 05:18
CSS Grid
html,
body {
height: 100%;
margin: 0;
}
.container {
font-family: sans-serif;
display: grid;
@anykate
anykate / git_revert.sh
Created April 26, 2025 04:06
Command to git revert to initial commit (local & remote)
git reset --hard a2d8fa47f34f51922c586aa82cc55c2e57e1b5d1 && git clean -f && git push origin main --force