Skip to content

Instantly share code, notes, and snippets.

View 9kopb's full-sized avatar
💎
xyu.foundation

9kopb 9kopb

💎
xyu.foundation
View GitHub Profile
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Thomas Davis",
"label": "Web Developer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
"summary": "I'm a full stack web developer who can build apps from the ground up. I've worked mostly at startups so I am used to wearing many hats. I am a very product focused developer who prioritizes user feedback first and foremost. I'm generally very flexible when investigating new roles. ",
"website": "https://lordajax.com",
@9kopb
9kopb / index.html
Created October 17, 2023 10:27
Pure CSS Slide Down Toggle
<input type="checkbox" name="toggle" id="toggle" />
<label for="toggle"></label>
<div class="container">
@9kopb
9kopb / index.html
Created September 23, 2023 08:46
wvRypVP
<div id="app">
<qrcode-stream @detect="onDetect" @error="onError"></qrcode-stream>
</div>
@9kopb
9kopb / index.html
Created September 5, 2023 15:03
Secret Project
<div class="mobile-wrap">
<div class="mobile clearfix">
<div class="header">
<span class="ion-ios-navicon pull-left"><i></i></span>
<span class="title">Home</span>
<span class="ion-ios-search pull-right"></span>
<div class="search">
<form method="post">
@9kopb
9kopb / index.html
Created October 27, 2022 22:01
ScrollPane
<div id="ScrollPane">
<div class="scr pane prt" style="background:#039be5;" data-id="Welcome"><div class="ct"><b>ton.tg</b></div><div class="scrolldown">Scroll down<br><i class="fa fa-arrow-down" aria-hidden="true"></i></div></div>
<div class="scr prt tab">
<div class="left spane">
<div class="pane an" style="background:#CC2E40;" data-id="Subdomain01"><div class="ct"><b>wallet</b></div></div>
<div class="pane an" style="background:#039be5;" data-id="Subdomain02"><div class="ct"><b>explorer</b></div></div>
<div class="pane an" style="background:#da4236;" data-id="Subdomain03"><div class="ct"><b>blockchain</b></div></div>
</div>
<div class="right scrzone" style="background:#039be5;"><div class="ct"><span>awesome projects<br><b>.ton.tg</b></span></div></div>
</div>
#
# Monitor file $1 for changes
# Send an alert emai to $2 if file $1 changes
# usage: inotify_email_watcher.sh /var/log/messages your.name@domain.com
if [ -z "$2" ]; then
echo "Usage: inotify_email_watcher.sh"
exit 1
fi
# if the file exists
if [ -f $1 ] || [ -d $1 ]; then
@9kopb
9kopb / index.html
Created September 28, 2022 02:36
Pure CSS Modal - #15
<div class="section full-height">
<input class="modal-btn" type="checkbox" id="modal-btn" name="modal-btn"/>
<label for="modal-btn">Open Modal <i class="uil uil-expand-arrows"></i></label>
<div class="modal">
<div class="modal-wrap">
<img src="https://assets.codepen.io/1462889/sl3.jpg" alt="">
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.</p>
</div>
</div>
@9kopb
9kopb / index.html
Created August 7, 2022 12:41
Login Form with floating placeholder and light button
<div class="login-box">
<h2>Login</h2>
<form>
<div class="user-box">
<input type="text" name="" required="">
<label>Username</label>
</div>
<div class="user-box">
<input type="password" name="" required="">
<label>Password</label>
@9kopb
9kopb / gist_to_github_repo.md
Created August 3, 2022 09:36 — forked from ishu3101/gist_to_github_repo.md
Transfer a gist to a GitHub repository

Transfer a gist to a GitHub repository

clone the gist

git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9

rename the directory

mv 6fb35afd237e42ef25f9 ConvertTo-Markdown

change the working directory to the newly renamed directory

cd ConvertTo-Markdown

addEventListener("fetch", (event) => {
event.respondWith(
handleRequest(event.request).catch(
(err) => new Response(err.stack, { status: 500 })
)
);
});
async function handleRequest(request) {
const { pathname, searchParams, host } = new URL(request.url);