Skip to content

Instantly share code, notes, and snippets.

View marcop135's full-sized avatar
Open to new opportunities ✨

Marco Pontili marcop135

Open to new opportunities ✨
View GitHub Profile
@marcop135
marcop135 / index.html
Last active April 8, 2025 09:09
Bootstrap 5 custom starter
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
@marcop135
marcop135 / git-commit-emoji.md
Last active April 30, 2021 14:15
Git commit categories in emoji

chore = 🔧

enhancement = ✨

bugfix = 🐛

...

@marcop135
marcop135 / index.html
Last active April 15, 2021 10:50
Find global object available in any JS environments (web browsers, Node.js, web workers, etc.) — or use globalThis
<!doctype html>
<html>
<head>
<title>What's the global object available?</title>
<script>
var getGlobal = function () {
if (typeof window !== 'undefined') {
return window; // Client-side JavaScript
}
@marcop135
marcop135 / index.html
Last active April 8, 2025 09:09
bullframe.css v4+ system-default starter
<!doctype html>
<html lang="en">
<head>
<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 https://github.com/marcop135/bullframe.css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css@4/dist/css/bullframe-system-default.min.css">
</head>
<body>
@marcop135
marcop135 / ie-css-hacks.md
Last active April 9, 2025 11:06
IE CSS Hacks (Same content as the source, but without inappropriate language)

Source

IE 6

* html .ie6 {property:value;}

or

.ie6 { _property:value;}