Skip to content

Instantly share code, notes, and snippets.

umayr /
Created April 1, 2016 11:41
How to recover a deleted branch
## Pre-requisite: You have to know your last commit message from your deleted branch.
git reflog
# Search for message in the list
# a901eda HEAD@{18}: commit: <last commit message>
# Now you have two options, either checkout revision or HEAD
git checkout a901eda
# Or
git checkout HEAD@{18}
EllyLoel / reset.css
Last active April 13, 2024 18:14
CSS Reset
Made by Elly Loel -
With inspiration from:
- Josh W Comeau -
- Andy Bell -
- Adam Argyle - /
- `:where()` is used to lower specificity for easy overriding.
marcop135 / index.html
Last active February 23, 2024 08:23
Bootstrap 5 custom starter
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
marcop135 / index.html
Last active December 20, 2023 09:43
bullframe.css v4+ system-default starter
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>HMTL template</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- bullframe.css framework -->
<link rel="stylesheet" href="">