Skip to content

Instantly share code, notes, and snippets.

@pyratin
pyratin / .sleep.sh
Created November 16, 2025 14:36
.sleep.sh
#!/bin/bash
xset -display $DISPLAY dpms force off
@pyratin
pyratin / styelint.config.js
Created November 2, 2025 06:47
styelint.config.js
/** @type {import('stylelint').Config} */
export default {
extends: ['stylelint-config-standard-scss'],
rules: {
'selector-class-pattern': null,
'scss/percent-placeholder-pattern': null,
'scss/dollar-variable-pattern': null,
'color-function-notation': null,
'no-descending-specificity': null
}
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab
@pyratin
pyratin / .config-alacritty-alacritty.toml
Last active November 1, 2025 07:18
.config/alacritty/alacritty.toml
[window]
dynamic_padding = true
dimensions = { columns = 96, lines = 54 }
[env]
TERM = "xterm-256color"
[selection]
save_to_clipboard = true
@pyratin
pyratin / .prettierrc
Created April 3, 2025 04:07
.prettierrc
{
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none",
"plugins": ["prettier-plugin-jsdoc"]
}
@pyratin
pyratin / jsconfig.json
Last active September 13, 2025 06:16
jsconfig.json
{
"compilerOptions": {
"strict": false,
"noEmit": true,
"allowJs": true,
"checkJs": false,
"esModuleInterop": true,
"jsx": "react-jsx"
}
}
@pyratin
pyratin / eslint.config.mjs
Last active September 13, 2025 06:17
eslint.config.mjs
import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import pluginReact from 'eslint-plugin-react';
import json from '@eslint/json';
import css from '@eslint/css';
import { defineConfig } from 'eslint/config';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
@pyratin
pyratin / .gitconfig
Last active April 3, 2025 04:09
.gitconfig
[user]
name = shivapand
email = [email protected]
[core]
editor = nvim
[difftool]
prompt = true
[diff]
tool = nvimdiff
[difftool "nvimdiff"]
#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {
padding: 3px 4px;
background: #444;
border: none;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#vimiumHintMarkerContainer div span {
color: #fff;
text-shadow: none;
{
"coc.preferences.jumpCommand": "tabe",
"eslint.alwaysShowStatus": true,
"diagnostic.errorSign": "󰅚 ",
"diagnostic.warningSign": "󰀪 ",
"diagnostic.infoSign": "󰋽 ",
"diagnostic.hintSign": "󰌶 ",
"suggest.completionItemKindLabels": {
"text": "󰉿",
"method": "󰆧",