Skip to content

Instantly share code, notes, and snippets.

View virtual's full-sized avatar
🐈‍⬛
Watching cat videos

Jeanine Schoessler virtual

🐈‍⬛
Watching cat videos
View GitHub Profile
@virtual
virtual / gist:26944d463fcd4d7f5edca08ea1a4a448
Created November 30, 2017 20:31
Push subfolder to a different repo
git subtree push --prefix SUBFOLDER ORIGINNAME master
@virtual
virtual / metadata-social.html
Last active October 3, 2020 03:10
Social Media Metadata
<meta name="description" content="Descr" />
<meta name="keywords" content="comma,separated" />
<meta property="og:title" content="PageTitle" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://1200x630.png" />
<meta property="og:url" content="https://.com/" />
<meta property="og:site_name" content="SiteName" />
<meta property="og:description" content="Desc"/>
<meta property="og:locale" content="en_us" />
<link rel="image_src" href="https://1200x630.png" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>First React App</title>
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
</head>
@virtual
virtual / ol.css
Created May 17, 2018 20:37
Styled OL
ol {
overflow: visible;
margin: 0;
margin-left: 46px;
padding: 0;
color: transparent;
list-style-type: none;
counter-reset: li-counter;
}
ol li {
Find regex example:
Fancy Box</option>[\s]*</parameter>[\s]*
Replace:
Fancy Box</option></parameter>
===========
Find pages with parameter filled in:
@virtual
virtual / css.scss
Created February 11, 2019 20:35
Accessibility CSS.scss
$main: rgb(250, 206, 141);
$section: purple;
$nav: red;
$h1: teal;
$h2: orange;
$h3: pink;
main, section, nav, h1, h2, h3 {
&:before { font-size: 10px; font-family: 'Courier New', Courier, monospace; font-weight: 400; }
}
@virtual
virtual / footer-alert.xsl
Created February 12, 2019 00:38
ASPX Last modified time of file for emergency alert .xsl
Reset
git checkout -- .
@virtual
virtual / custom-subeta.css
Created March 24, 2019 14:51
Subeta Custom CSS
#menu {
margin-top: 0;
}
#menu-logo { top: 0; background-size: cover; }
.floating_item2 {
border:5px solid #c40169;
position:absolute !important;
left:100px !important;
top:105px !important;z-index: 100}
.floating_item { border:2px solid blueviolet; position:absolute !important; left:5px !important; top:5px !important; }
@virtual
virtual / incontext-nav.css
Created April 15, 2019 16:05
Incontext Nav AH Catalog
ul#incontext-nav {
position: relative;
z-index: 100;
flex-direction: column;
justify-content: stretch;
align-items: stretch;
}
@media (max-width: 767px) {