Skip to content

Instantly share code, notes, and snippets.

View iba-1's full-sized avatar
🎯
Focusing

Dario De Cianni iba-1

🎯
Focusing
View GitHub Profile
@iba-1
iba-1 / CCS.md
Created August 27, 2024 18:57 — forked from SivaDotRender/CCS.md
Climbing Cheat Sheet
@iba-1
iba-1 / findOverflowParents.js
Created August 1, 2023 14:32 — forked from brandonjp/findOverflowParents.js
find overflow:hidden ancestors
// when you're trying to use `position:sticky` on an element
// you'll have trouble if any parent/ancestor element has
// overflow set to anything other than "visible" (such as: auto,hidden,overlay,scroll)
// & turns out if a parent is `display:flex` it might need some love
// (to remedy this you can set the `align-self` of your sticky element)
// see here for how the display & align-self properties affect: http://bit.ly/2ZaRu4o
// so, to find those troublesome parents...
// copy & paste this into Chrome Inspector/Dev Tools console
// (and be sure to change the #stickyElement below, if needed)
@iba-1
iba-1 / wpAWS.md
Last active May 17, 2023 13:56 — forked from chadagate/wpAWS.md
Installing WordPress on AWS with NGINX and Let's Encrypt

Setting up a WordPress site on AWS

This tutorial walks through setting up AWS infrastructure for WordPress, starting at creating an AWS account. We'll manually provision a single EC2 instance (i.e an AWS virtual machine) to run WordPress using Nginx, PHP-FPM, and MySQL.

This tutorial assumes you're relatively comfortable on the command line and editing system configuration files. It is intended for folks who want a high-level of control and understanding of their infrastructure. It will take about half an hour if you don't Google away at some point.

If you experience any difficulties or have any feedback, leave a comment.

Create an EC2 instance

@iba-1
iba-1 / gist:a935874c55c98a1c6d0a38bd6dfafd9f
Created November 4, 2020 11:22 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
<style>
body {
background: black;
}
.roof {
display:block;
border-bottom: 200px solid sienna;
border-left: 210px solid;
border-right:210px solid;