Skip to content

Instantly share code, notes, and snippets.

View sanusart's full-sized avatar

Sasha Khamkov sanusart

View GitHub Profile
@sanusart
sanusart / shel.sh
Created March 8, 2025 09:41
homebrew bump version example #brew #shell
brew bump-cask-pr --version "2.0.2" gisto
@sanusart
sanusart / swagger.json
Last active April 18, 2025 17:23
swager
{
"swagger": "2.0",
"info": {
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
"version": "1.0.5",
"title": "Swagger Petstore",
"termsOfService": "http://swagger.io/terms/",
"contact": { "email": "[email protected]" },
"license": {
"name": "Apache 2.0",
@sanusart
sanusart / list.md
Created January 29, 2025 20:14
readability check list
  • Use short sentences (around 25 words) ...
  • Avoid long pages. ...
  • Avoid using jargon words. ...
  • Use personal pronouns when appropriate. ...
  • Use headings to split up content. ...
  • Only link to other content when it's appropriate. ...
  • Add a summary to describe the page. ...
  • Define acronyms and abbreviations the first time they're used.
@sanusart
sanusart / test json viewr.json
Last active January 27, 2025 10:09
json test #json
{
"fields": {
"field1": "text",
"field2": "",
"field3": [],
"field4": 0,
"field5": {},
"field6": null
}
}
@sanusart
sanusart / util.ts
Last active January 27, 2025 09:21
Custom cn() function #util #javascript #typescript #js
export function cn(...classes: (string | undefined | null | false)[]) {
return classes.filter(Boolean).join(' ');
}
@sanusart
sanusart / sdfsd
Created January 24, 2025 12:29
sdfsdf
fsdf
@sanusart
sanusart / dd
Created January 24, 2025 12:29
ssssss
dd
@sanusart
sanusart / file.css
Created January 24, 2025 12:13
cdd + js #css #js
body {
color: red;
}
@sanusart
sanusart / w
Created January 24, 2025 09:04
ww
www
@sanusart
sanusart / d
Created January 24, 2025 08:29
ss #temp #js #javascript #react
sdd