Skip to content

Instantly share code, notes, and snippets.

@nikitavoloboev
nikitavoloboev / kuskus-go-openapi.json
Last active May 21, 2024 17:23
kuskus-go-openapi.json
{"components":{"requestBodies":{"MyInput":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyInput"}}},"description":"Request body for main.MyInput","required":true}},"schemas":{"MyInput":{"properties":{"name":{"type":"string"}},"type":"object"},"MyOutput":{"properties":{"message":{"type":"string"}},"type":"object"},"string":{"type":"string"}}},"info":{"description":"OpenAPI","title":"OpenAPI","version":"0.0.1"},"openapi":"3.0.3","paths":{"/get":{"get":{"description":"controller: main.getName","operationId":"GET /get:getName","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/string"}}},"description":"OK"},"default":{"description":""}},"summary":"getName","tags":["string"]}},"/post":{"post":{"description":"controller: main.sayHello","operationId":"POST /post:sayHello","requestBody":{"$ref":"#/components/requestBodies/MyInput"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyOutput"}}},"description":"OK"},"

Add below to config.fish

set -x GOPATH (go env GOPATH)
set -x PATH $PATH (go env GOPATH)/bin

Accounts I follow on YouTube

Got it from running below script:

let markdown = Array.from(document.querySelectorAll("ytd-channel-renderer"))
  .map((item) => ({
    title: item.querySelector("#text-container").textContent.trim(),
    url: item.querySelector("#main-link").href,
 }))
@nikitavoloboev
nikitavoloboev / inoreader.xml
Last active December 18, 2022 16:17
Inoreader RSS subscriptions exported. Can be imported into RSS feed reader of your choice. https://wiki.nikitavoloboev.xyz/research/blogs
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Subscriptions of nikita.voloboev from Inoreader [https://www.inoreader.com]</title>
</head>
<body>
<outline text="1." title="1.">
<outline text="langui.sh" title="langui.sh" type="rss" xmlUrl="https://langui.sh/feed.xml" htmlUrl="https://langui.sh/"/>
<outline text="Apple Machine Learning Journal" title="Apple Machine Learning Journal" type="rss" xmlUrl="https://machinelearning.apple.com/feed.xml" htmlUrl="https://machinelearning.apple.com/"/>
<outline text="knolleary" title="knolleary" type="rss" xmlUrl="https://knolleary.net/feed/" htmlUrl="https://knolleary.net/"/>

My 2Do tasks

This is just contents of my never ending lists of tasks I tagged in 2Do with read, watch and check tags.

All lists are sorted by priority. I hope to bring all these lists closer to 0 when I get time. But until then, perhaps you will find something interesting in them.

Here are the lists I share so far.

Keybase proof

I hereby claim:

  • I am nikitavoloboev on github.
  • I am nikitavoloboev (https://keybase.io/nikitavoloboev) on keybase.
  • I have a public key whose fingerprint is EABB 1236 AA47 B30D 87E1 7621 E5E1 2F82 ACDF DBC6

To claim this, I am signing this object: