Make a Deploy to Netlify button like this:
With this:
/* Set aspect ratio on an element/class */ | |
.div { | |
aspect-ratio: 16 / 9; | |
} | |
/* Minimum aspect ratio */ | |
@media (min-aspect-ratio: 8/5) { | |
div { | |
background: #9af; /* blue */ | |
} |
$(function() { | |
//run when form submits - ID must be on the <form> element! | |
$("#your-form").submit(function(event) { | |
//store email input value | |
var emailValue = $("#email").val(); | |
//redirect to sign up | |
window.location.replace("example.com/signup?email=" + emailValue); |
<? | |
// | |
// AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
// | |
// File: twitterFollowerCuratorBot.php | |
// | |
// Created: May 2021 | |
// License: MIT | |
// |
in random order:
// Original code from einaregilsson: | |
// https://github.com/einaregilsson/photo16x9/tree/6ae29823e8bc57e15627795ce9c056197d8eb98f | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Make Your Photo 16x9</title> | |
<meta charset="utf8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
<meta name="apple-mobile-web-app-title" content='Make Your Photo 16x9' /> |
// Based on [Eric Meyer's reset 2.0](http://meyerweb.com/eric/tools/css/reset/index.html) | |
// Global reset rules. | |
// For more specific resets, use the reset mixins provided below | |
@mixin global-reset { | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, |
# add redirects/headers | |
[outputs] | |
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"] | |
# remove .{ext} from text/netlify | |
[mediaTypes."text/netlify"] | |
suffixes = [""] | |
delimiter = "" |
<!-- Automatic resizing for HiDPI/retina images --> | |
<!-- https://gohugo.io/content-management/image-processing/ --> | |
{{- $original := .Page.Resources.GetMatch (.Get "src") -}} | |
{{- .Scratch.Set "image" $original -}} | |
{{- $maxWidth := 910 -}} | |
{{- if .Get "width" }} | |
{{- $inputWidth := (int (.Get "width")) -}} |
LinkedIn is a valuable resource, but sometimes it sucks. One of those times is when you want to delete messages. You have to select each message one by one. It takes about 4 "clicks" to successfully delete a message.
This script should help. Since LI requires you to perform multiple steps, I decided to automate it for you. Once you initiate the script, it will run every second. If a message has the ability to be deleted, it will be. If not, it will be archived. Some "InMail" messages cannot be deleted on the web app. This script should work as long as LI doesn't change their page layout or element names, which happens often.
Last tested & verified working on: June, 10, 2022
Special Thanks to @noncent for the updated script.