Skip to content

Instantly share code, notes, and snippets.

View cmho's full-sized avatar
🌺
vibing

Carly Ho cmho

🌺
vibing
View GitHub Profile
{
"basics": {
"name": "Carly Ho",
"label": "Prettiest Princess of Computer Science",
"picture": "https://example.com/photo.jpg",
"email": "carly@carly.website",
"phone": "(651) 472-1673",
"website": "https://carly.website",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@cmho
cmho / post.py
Last active May 4, 2024 02:50 — forked from knuxify/post.py
#!/usr/bin/env python3
"""
posts to thoughts.page
"""
import argparse
import re
from bs4 import BeautifulSoup
import sys
from urllib import request, parse
@cmho
cmho / secretnumbers.user.js
Last active September 15, 2023 13:34
Secret Numbers for Cohost
// ==UserScript==
// @name Secret Numbers
// @namespace https://cohost.org/
// @version 1.0
// @description dark cohost show me the forbidden interaction numbers
// @author veryroundbird @ cohost.org
// @match https://cohost.org/rc/project/notifications
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
@cmho
cmho / mobile-friendliness.css
Created June 13, 2023 16:37
CSS copypaste to add mobile friendliness to 3col Venture on Dreamwidth
@media only screen and (max-width: 768px) { /* you can change the pixel width to whatever you want */
.column-right #content {
box-sizing: border-box;
}
#content {
padding: 1em;
}
.two-columns-right #content, .three-columns-sides #content {
<raw-code><div style="max-width: 320px; margin: 0 auto; font-family: 'Lato', Arial, sans-serif; color: #545454;">
<div style="width: 100%;"><img src="[PHOTO URL]" style="width: 100%; max-width: 100%; object-fit: cover;" /></div>
<div style="padding: 20px; border-bottom: 1px #F1F1F1 solid">
<div style="font-size: 36px; margin-bottom: 5px"><b>NAME</b>, 69</div>
<div style="display: flex; align-items: center; font-size: 16px; margin-bottom: 5px; color: #B0B0B0;">
<img src='https://softlyfalling.dreamwidth.org/file/29116.png' alt='' title='' width="19" />&nbsp;Unit
</div>
<div style="display: flex; align-items: center; font-size: 16px; margin-bottom: 5px; color: #B0B0B0;">
<img src='https://softlyfalling.dreamwidth.org/file/29354.png' alt='' title='' width="20" />&nbsp;Position
</div>
@cmho
cmho / Instagram.html
Created February 5, 2020 17:53
Comment-friendly Instagram
<raw-code><br /><div style="max-width: 614px; border-radius: 3px; border: 1px #DBDBDB solid; font-family: 'Helvetica', sans-serif; background-color: white">
<div style="padding: 16px; display: flex; justify-content: space-between; align-items: center;">
<div style="display: flex; align-items: center; font-weight: bold;"><div style="background-image: linear-gradient(to bottom left, #C62D90, #F99B4A); border-radius: 100%; height: 40px; text-align: center; padding: 2px;"><img src="https://v.dreamwidth.org/13274395/3477114" width="32" height="32" style="min-width: 32px; border-radius: 100%; border: 2px white solid; display: block;" /></div><span style="padding-left: 10px">sadbirdinsnow</span></div>
<span style="font-weight: bold;">&hellip;</span>
</div>
<img src='https://images.unsplash.com/photo-1579033716894-a86a2486346b?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' style="width: 100%; max-width: 100%; max-height: none;" />
<div style="padding: 16px;">
<di
@cmho
cmho / First Threaded Reply.html
Last active February 2, 2020 22:47
Comment-Friendly Fake Twitter
<raw-code><div style="border-top: 1px rgb(230, 236, 240) solid; max-width: 598px; font-family: 'Helvetica Neue', sans-serif; padding: 15px 15px 0;">
<div style="display: flex">
<div style="display: flex; flex-direction: column; text-align: center; align-items: center; justify-content: center;">
<img src="https://v.dreamwidth.org/13274395/3477114" style="width: 49px; height: 49px; border-radius: 100%; min-width: 49px;" />
<div style="width: 2px; background-color: rgb(204, 214, 221); flex-grow: 1; margin: 5px auto;"></div>
</div>
<div style="padding-left: 10px; flex-grow: 1;">
<div><b>Shrike</b> <span style="color: rgb(101, 119, 134)">@<b></b>softlyfalling</span></div>
<div style="color: rgb(101, 119, 134)">Replying to <span style="color: rgb(36, 198, 224)">@<b></b>sadbirdinsnow</span></div>
<div style="padding: 5px 0;">
@cmho
cmho / Pinterest.html
Created February 2, 2020 21:08
Fake Pinterest
<raw-code><div style="display: flex; flex-wrap: wrap; font-size: 14px; font-weight: bold;color: #333; font-family: 'Helvetica Neue', Arial, sans-serif; margin: 0 -10px; width: calc(100% + 20px)">
<div style="width: calc(33.33% - 20px); flex-grow: 1; max-width: calc(50% - 20px); min-width: 150px; margin: 0 10px;">
<div style="margin-bottom: 35px">
<img src='https://images.unsplash.com/photo-1579223602577-3814c1e5ec1f?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' style="border-radius: 15px; max-width: 100%; margin-bottom: 10px;">
<div style="padding: 0 5px">
Test caption
</div>
</div>
<div style="margin-bottom: 35px">
<img src='https://images.unsplash.com/photo-1579858309461-438c9f09e72a?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ' alt='' style="border-radius: 15px; max-width: 100%; margin-bottom: 10px;">
@cmho
cmho / Tinder Template.html
Created February 2, 2020 05:00
Fake Tinder Profile
<div style="max-width: 320px; margin: 0 auto; font-family: 'Lato', Arial, sans-serif; color: #545454;">
<div style="height: 475px; width: 100%; background-image: url([PHOTO URL]); background-size: cover;"></div>
<div style="padding: 20px; border-bottom: 1px #F1F1F1 solid">
<div style="font-size: 36px; margin-bottom: 5px"><b>NAME</b>, 69</div>
<div style="display: flex; align-items: center; font-size: 16px; margin-bottom: 5px; color: #B0B0B0;">
<svg height='24px' width='24px' style="margin-right: 5px" fill="#545454" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" viewBox="0 0 100 100"><g transform="translate(0,-952.36218)"><path style="text-indent:0;text-transform:none;di
<raw-code><a href="[LINK TO VID IF ANY" style="display: block"><div style="max-width: 960px; width: 100%; padding-top: 56.25%; position: relative; background-image: url(https://images.unsplash.com/photo-1579172687140-d10521a3e075?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ); background-size: cover">
<div style="position: absolute; bottom: 0; left: 0; width: 100%; height: 10%; background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0, .75)); z-index: 0;"></div>
<div style="height: 3px; width: calc(100% - 20px); background-color: rgba(255,255,255,.5); z-index: 1; margin-left: 10px;">
<div style="height: 3px; width: 10%; background-color: red; z-index: 1;"></div>
</div>
<div style="display: flex;">
<div style="display: flex; align-items: center; width: 50%;">
<svg height="100%" version="1.1" viewBox="0 0 36 36" width="36px"><use class="ytp-svg-shadow" xlink:href="#ytp-id-43"></use><path fill="white" d="M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25