Skip to content

Instantly share code, notes, and snippets.

View verfasor's full-sized avatar
☠️
misfit.

verfasor

☠️
misfit.
View GitHub Profile
@verfasor
verfasor / aesthetic.md
Created January 31, 2024 10:20
aes·thet·ic
title link meta_description meta_image lang tags
aes·thet·ic
aesthetic
while purists may not like it, i don't see any way of stopping this newest slang usage of "aesthetic"
en
culture

the term aesthetic on google trends

@verfasor
verfasor / mgx-v1.0.0.css
Created December 15, 2023 04:09
mgx-v1.0.0.css for bearblog
/* Settings */
:root {
--color-dark: #1a1a1a;
--color-light: #fafafa;
--color-primary: #1a0dab;
--spacing: 1rem;
--font-stack: system-ui;
--max-width: 700px;
}
@verfasor
verfasor / bminus.js
Created November 22, 2023 11:09
bminus.js
addEventListener("DOMContentLoaded", () => {
document.querySelectorAll('*').forEach(element => {
Array.from(element.childNodes).filter(node => node.nodeType === Node.TEXT_NODE).forEach(node => {
node.nodeValue = node.nodeValue
.replace(/ ʕ•ᴥ•ʔ/g, "")
.replace(/Made with/g, "powered by");
});
});
});
@verfasor
verfasor / current_day.js
Created October 19, 2023 09:43
current_day.js
<!DOCTYPE html>
<html>
<head>
<title>Current Day</title>
</head>
<body>
<h2 id="currentDay"></h2>
<script>
var today = new Date();
var dayNumber = today.getDay();
@verfasor
verfasor / mwai-ios-light.css
Created April 5, 2023 12:19
mwai-ios-light.css
.mwai-name .mwai-avatar {
display:none !important;
}
.mwai-name .mwai-avatar {
display:none !important;
}
.mwai-input {
border-top: none !important;
margin: -10px;
@verfasor
verfasor / functions-additional.php
Last active March 10, 2023 04:01
Bring your own key setup for AI Engine WordPress plugin
// Add this to the top of your functions.php file
// WP Session
function register_my_session(){
if( !session_id()){
session_start();
}
}
@verfasor
verfasor / mwai-ios-dark.css
Created March 8, 2023 02:45
mwai-ios-dark.css
`
/* mwai iOS-like chat bubble (dark mode) */
.mwai-conversation {
padding: 5px;
overflow: hidden !important;
}
.mwai-chat .mwai-ai code {
padding-bottom:20px;
@verfasor
verfasor / 3.html
Created September 23, 2022 07:58
3.html
<div class="wp-container-5 wp-block-columns are-vertically-aligned-top is-not-stacked-on-mobile"><div class="wp-container-1 wp-block-column is-vertically-aligned-top">
<iframe style="height:20px;" src="https://react.jotzilla.net/info-button/info-post/3" title="iframe embed" allowfullscreen="" loading="lazy" scrolling="no" frameborder="0"></iframe></div><div class="wp-container-2 wp-block-column is-vertically-aligned-top">
<iframe style="height:20px;" src="https://react.jotzilla.net/raise-button/raise-post/3" title="iframe embed" allowfullscreen="" loading="lazy" scrolling="no" frameborder="0"></iframe></div><div class="wp-container-3 wp-block-column is-vertically-aligned-top">
<iframe style="height:20px;" src="https://react.jotzilla.net/love-button/love-post/3" title="iframe embed" allowfullscreen="" loading="lazy" scrolling="no" frameborder="0"></iframe></div><div class="wp-container-4 wp-block-column is-vertically-aligned-top">
<iframe style="height:20px;" src="https://react.jotzilla.net/dislike-button/disl
@verfasor
verfasor / wpcf7.js
Created September 7, 2022 13:33
wpcf7.js
var x, i, j, l, ll, selElmnt, a, b, c;
/*look for any elements with the class "custom-select":*/
x = document.getElementsByClassName("custom-select");
l = x.length;
for (i = 0; i < l; i++) {
selElmnt = x[i].getElementsByTagName("select")[0];
ll = selElmnt.length;
/*for each element, create a new DIV that will act as the selected item:*/
a = document.createElement("DIV");
a.setAttribute("class", "select-selected");
@verfasor
verfasor / reset.ejs
Last active December 29, 2021 10:58
reset.ejs
silence is golden