Skip to content

Instantly share code, notes, and snippets.

@zenorocha
zenorocha / README.md
Last active May 28, 2024 08:23
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage

@pampels
pampels / visuallyHidden.css
Last active September 6, 2021 07:28
visually hidden
.visuallyHidden {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
}
<snippet>
<content><![CDATA[
<!-- begin $1 -->
<div class="$1">
$2
</div>
<!-- end $1 -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>di</tabTrigger>
@vorozhba
vorozhba / Как удалить commit в Github.txt
Last active June 24, 2024 07:39
Как удалить commit в Github
1. Получаем хэш-код коммита, к которому хотим вернуться.
2. Заходим в папку репозитория и пишем в консоль:
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a
$ git push --force
@devxom
devxom / html.json
Last active December 24, 2022 01:01
https://gist.github.com/akella/9757676 snippets ported for vscode
{
"Block (with comment)": {
"prefix": "di",
"body": [
"<!-- begin ${1} -->",
"<div class=\"${1}\">",
"\t${2}",
"</div>",
"<!-- end ${1} -->"
]