Skip to content

Instantly share code, notes, and snippets.

@noyv
noyv / foo.el
Created November 17, 2021 12:22
;;; package --- Summary
;;; Commentary:
;;; Code:
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
@noyv
noyv / dmss.js
Created July 28, 2021 13:18 — forked from observerss/dmss.js
dmss
! function (t) {
if ("object" == typeof exports && "undefined" != typeof module) module.exports = t();
else if ("function" == typeof define && define.amd) define([], t);
else {
("undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this).buffer = t()
}
}(function () {
return function () {
return function t(r, e, n) {
function i(f, u) {
@noyv
noyv / main.go
Last active February 24, 2021 14:08
thought for www.v2ex.com/t/755876
package main
import (
"log"
"math/rand"
"sync"
"time"
)
func main() {