Skip to content

Instantly share code, notes, and snippets.

View wmucheru's full-sized avatar
💭
AI?

wmucheru

💭
AI?
View GitHub Profile
@wmucheru
wmucheru / sort.js
Created October 26, 2022 12:25
Sort objects in array using boolean and string fields
const sortItems = () => {
const items = [
{
id: 1,
name: "Onion",
checked: true,
},
{
id: 2,
name: "Paper",
@wmucheru
wmucheru / index.html
Created October 2, 2024 07:21
Invoice Template
<div id="invoiceholder">
<div id="headerimage"></div>
<div id="invoice" class="effect2">
<div id="invoice-top">
<div class="logo"></div>
<div class="info">
<h2>Michael Truong</h2>
<p> [email protected] </br>
@wmucheru
wmucheru / index.html
Created October 2, 2024 07:22
Invoice Design
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Order confirmation </title>
<meta name="robots" content="noindex,nofollow" />
<meta name="viewport" content="width=device-width; initial-scale=1.0;" />
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
body { margin: 0; padding: 0; background: #e1e1e1; }
div, p, a, li, td { -webkit-text-size-adjust: none; }
.ReadMsgBody { width: 100%; background-color: #ffffff; }