Skip to content

Instantly share code, notes, and snippets.

View YamiOdymel's full-sized avatar
🎥
Watching VRChat Handjob V2 (Edit Audio)

Yami Odymel YamiOdymel

🎥
Watching VRChat Handjob V2 (Edit Audio)
View GitHub Profile
@hopeseekr
hopeseekr / StackOverflow Stats.md
Last active December 5, 2025 23:45
StackOverflow Dec 2024 stats

Disclaimer: I'm in the Top 1% of StackOverflow contributors with 23,315 rep points.

I asked 1 high-quality question in 2024, and it was closed almost immediately, and I haven't engaged with the site since.

If someone with 20,000+ karma has their nicely-formatted questions closed so quickly, what must the newbies and rank-in-file encounter? This is probably a big reason why it's declining.


@shunnNet
shunnNet / browser-ai-vai-plugin-question.md
Last active January 1, 2024 23:19
How to scrap all `.vue` template info at build time ?

前言

我有一個專案叫 browser-ai,在裡面有個功能是可以使用 Vue 的 directive 為 DOM 綁上標籤

<template>
  <h1 v-ai="{ id: 'title', description: 'Search Product In this page' }">...</h1>
</template>

<!-- 上述內容會轉換成 -->
<h1 data-ai-id="title" data-ai-description="Search Product In this page">...</h1>
@benpate
benpate / template-fragments.go
Last active August 7, 2025 16:19
Demonstration of Template Fragments using the standard Go template library
package main
import (
"html/template"
"net/http"
"strconv"
)
/***********************
This is a simple demonstration of how to use the built-in template package in Go to implement
@alexsasharegan
alexsasharegan / wrapErr.ts
Created January 25, 2018 17:26
Go-like error handling with Typescript.
export async function wrapErr<T>(p: Promise<T>): Promise<[any, T | undefined]> {
try {
return [undefined, await p];
} catch (err) {
return [err, undefined];
}
}
let [err, value] = await wrapErr(somePromiseFunc());
if (err) {
@bpanicker13
bpanicker13 / index.html
Created February 27, 2017 03:40
Simple Typing Carousel
<link href="http://fonts.googleapis.com/css?family=Raleway:200,100,400" rel="stylesheet" type="text/css" />
<h1>Build your own
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ "eCommerce Site.", "Web Application.", "IoT Device.", "Blog." ]'></span>
</h1>
<h2>Create Your Awesome Website with Synoval.</h2>
@gokulkrishh
gokulkrishh / media-query.css
Last active December 2, 2025 07:44
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@rameshkumarxyz
rameshkumarxyz / db.go
Created September 6, 2015 07:19
Get get number of rows using sql in golang
package main
import (
"database/sql"
"fmt"
_ "github.com/lib/pq"
)
const (
DB_USER = "ramesh"
@rameshvarun
rameshvarun / HTTP2 Streaming RPC.md
Last active August 29, 2019 18:59
How the HTTP2 API could be used to implement a streaming RPC more easily than other transport layers.

HTTP2 Streaming RPC

Output

Server

RPC from client to FindInProjectService/search
Sending search update.
Sending search update.
RPC from client to FindInProjectService/search
Sending search update.
package test
import (
"math/rand"
"testing"
"time"
)
type Customer struct {
Id int
@betamax
betamax / apib2httpsnippets
Created June 19, 2015 12:27
A ruby script to convert an HTTP blueprint JSON file into multiple HAR files and then convert those HAR files in to code snippets using httpsnippet
#!/usr/bin/env ruby
# ./apib2httpsnippets
# Author: Max Novakovic
# Email: max@lateral.io
require 'awesome_print'
require 'json'
require 'fileutils'
require 'uri'