Skip to content

Instantly share code, notes, and snippets.

View Innei's full-sized avatar
💭
Coding with cloud.

Innei Innei

💭
Coding with cloud.
View GitHub Profile
@Innei
Innei / page.tsx
Created April 9, 2024 04:14
comment-skeleton-animated
const CommentSkeletonSingle = () => {
return (
<li className="relative list-none animate-pulse">
<div className="group flex w-full items-stretch gap-2">
<div className="flex w-9 shrink-0 items-end">
<div className="size-9 rounded-full bg-gray-300 dark:bg-neutral-600" />
</div>
<div className="flex w-full min-w-0 flex-1 flex-col items-start">
<span className="relative mb-2 flex w-full min-w-0 items-center justify-center gap-2">
var Components=function(e){"use strict";const t=window.styled.h1`
font-size: 1.5em;
text-align: center;
color: #bf4f74;
`,n=()=>React.createElement("div",null,React.createElement(t,null),"Hover to change color.");return e.Card=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [
{
"id": "_PSpf6pLwkWIJubC_tf9D",
"type": "rectangle",
"x": 545.0390625,
"y": 387.296875,
@Innei
Innei / index.esm.js
Last active December 31, 2023 10:40
test global
const e = /* @__PURE__ */ Vue.defineComponent({
setup() {
return () => Vue.createVNode("div", null, [Vue.createTextVNode("Hello")]);
}
}), n = () => ({
name: "hello",
component: e
});
export {
e as Component,
@Innei
Innei / init.lua
Created July 24, 2023 14:31
map-hjkl
local function pressFn(mods, key)
if key == nil then
key = mods
mods = {}
end
return function() hs.eventtap.keyStroke(mods, key, 1000) end
end
local function remap(mods, key, pressFn)
@Innei
Innei / colors.ts
Created June 10, 2023 05:38
UIKit Colors and materials
const UIKitColors = {
red: {
light: '#FF3B30',
dark: '#FF453A',
},
orange: {
light: '#FF9500',
dark: '#FF9F0A',
},
@Innei
Innei / xlog.css
Created April 29, 2023 01:58
xlog.css
@import url("https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreenr.css");
.xlog-page-index, .xlog-page-post {
font-family: "LXGW WenKai Screen R", sans-serif;
}
@font-face {
font-family: SFCompactRounded;
font-weight: 300;
src: url(https://ipfs.4everland.xyz/ipfs/bafybeidme3gx5cgofwznbtccc7vnfi2acecdzaiy7yfcjyq4e3qgzqwzem);
@Innei
Innei / box
Last active July 27, 2023 23:02
PS Box
Ghost of Tsushima 25 hrs 2 mins █████▏░░░░░░░ 40%
Ratchet & Clan... 22 hrs 29 mins █████████████ 100%
DEATH STRANDING™ 18 hrs 41 mins █████████▏░░░ 71%
SCARLET NEXUS 17 hrs 27 mins ████▊░░░░░░░░ 37%
UNCHARTED: Leg... 16 hrs 42 mins █▊░░░░░░░░░░░ 14%
@Innei
Innei / vscode.json
Last active April 20, 2024 03:11
vscode
{
"editor.fontSize": 14,
"editor.fontFamily": "\"OperatorMonoSSmLig Nerd Font\",\"Cascadia Code PL\",\"FantasqueSansMono Nerd Font\",\"operator mono\",\"Fira code Retina\",\"Fira code\",\"Consolas\", Monaco, \"Hannotate SC\",-apple-system",
"editor.formatOnType": true,
"editor.fontWeight": "bold",
"workbench.iconTheme": "material-icon-theme",
"files.autoGuessEncoding": false,
"editor.parameterHints.enabled": true,
"typescript.tsserver.maxTsServerMemory": 1024,
// "window.nativeTabs": true,
@Innei
Innei / confim-github-dialog.js
Created June 12, 2022 02:44
Confim github need enter repo name dialog
javascript: void (document.querySelector("#options_bucket%20%3E%20div.Box.color-border-danger%20%3E%20ul%20%3E%20li:nth-child(3)%20%3E%20details%20%3E%20details-dialog%20%3E%20div.Box-footer%20%3E%20form%20%3E%20p%20%3E%20input%22).value%20=%20document.querySelector('#options_bucket%20%3E%20div.Box.color-border-danger%20%3E%20ul%20%3E%20li:nth-child(3)%20%3E%20details%20%3E%20details-dialog%20%3E%20div.Box-footer%20%3E%20p%20%3E%20strong').textContent);void%20(document.querySelector(%22#options_bucket%20%3E%20div.Box.color-border-danger%20%3E%20ul%20%3E%20li:nth-child(3)%20%3E%20details%20%3E%20details-dialog%20%3E%20div.Box-footer%20%3E%20form%20%3E%20button%22).disabled%20=%20false);void%20(document.querySelector(%22#options_bucket%20%3E%20div.Box.color-border-danger%20%3E%20ul%20%3E%20li:nth-child(4)%20%3E%20details%20%3E%20details-dialog%20%3E%20div.Box-body.overflow-auto%20%3E%20form%20%3E%20button%22).disabled%20=%20false);%20void%20(document.querySelector(%22#options_bucket%20%3E%20div.Box.color-border