Skip to content

Instantly share code, notes, and snippets.

View mitian233's full-sized avatar

某M氏 mitian233

View GitHub Profile
@mitian233
mitian233 / test.md
Created July 16, 2020 03:09
Hello World Markdown

Hello World

This is content converted from Markdown!

Here's a JSON sample:

{
  "foo": "bar"
}
@mitian233
mitian233 / test.html
Created July 16, 2020 03:09
Hello World Html
<html>
<head>
<style>
h1 {
font-family: Calibri;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
@mitian233
mitian233 / switch-twitter-icon.js
Created July 24, 2023 15:05
Switch Twitter Icon
// ==UserScript==
// @name Switch twitter icon
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Switch twitter icon
// @author mikan_chn
// @match https://twitter.com/*
// @grant none
// ==/UserScript==
require('readline').createInterface({input: process.stdin, output: process.stdout}).question("Enter a string: ", str => {console.log(str.split("").reverse().join(""))})
@mitian233
mitian233 / 舞萌dx.svg
Created April 23, 2024 15:32
舞萌dx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mitian233
mitian233 / 描画.svg
Created April 23, 2024 15:54
inkscape svgs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mitian233
mitian233 / profile.vue
Last active October 22, 2024 17:06
profile.vue
<script setup lang="ts">
import { AtpAgent } from '@atproto/api'
import { NStatistic, NNumberAnimation } from 'naive-ui'
const agent = new AtpAgent({service: 'https://bsky.social'})
const session = await agent.login({identifier: '', password: ''})
const profile = await agent.getProfile({actor: session.data.did})
</script>
<template>
<div class="flex flex-row justify-center items-center">