Skip to content

Instantly share code, notes, and snippets.

View nekketsuuu's full-sized avatar
๐Ÿ‘

Takuma Ishikawa nekketsuuu

๐Ÿ‘
View GitHub Profile
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" as="font" href="/_next/static/media/2aaf0723e720e8b9-s.p.woff2" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/bc1732387542e31a.css" data-precedence="next"/><title>Create Next App</title><meta name="description" content="Generated by create next app"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="any"/><meta name="next-size-adjust"/><style id="antd">:where(.css-byeoj0) a{color:#1677ff;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;transition:color 0.3s;-webkit-text-decoration-skip:objects;}:where(.css-byeoj0) a:hover{color:#69b1ff;}:where(.css-byeoj0) a:active{color:#0958d9;}:where(.css-byeoj0) a:active,:where(.css-byeoj0) a:hover{text-decoration:none;outline:0;}:where(.css-byeoj0) a:focus{text-decoration:none;outline:0;}:where(.css-byeoj0) a[disabled]{color:rgba(0, 0, 0, 0.25);cur
require "aws-sdk-timestreamwrite"
timestream = Aws::TimestreamWrite::Client.new
timestream.write_records(
database_name: "nekketsuuu_test",
table_name: "sample",
records: [
{
dimensions: [
{
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nekketsuuu
nekketsuuu / webman.diff
Last active July 23, 2021 11:54
`diff -uprN webman_original webman` for https://github.com/ocaml/ocaml/pull/10535
diff -uprN webman_original/manual/ocamldoc.html webman/manual/ocamldoc.html
--- webman_original/manual/ocamldoc.html 2021-07-23 13:23:29.019720100 +0900
+++ webman/manual/ocamldoc.html 2021-07-23 13:25:02.792112400 +0900
@@ -611,7 +611,7 @@ must be escaped by a โ€™<span class="c00
</tbody></table><p> <br>
</p>
-<h4 class="subsubsection" id="sss:ocamldoc-list"><a class="section-anchor" href="#sss:ocamldoc-list" aria-hidden="true">๏ปฟ</a>17.<span class="number">4.1</span>List formatting</h4>
+<h4 class="subsubsection" id="sss:ocamldoc-list"><a class="section-anchor" href="#sss:ocamldoc-list" aria-hidden="true">๏ปฟ</a><span class="number">2.4.1</span>List formatting</h4>
<div class="syntax"><table class="display dcenter"><tbody><tr class="c020"><td class="dcell"><table class="c001 cellpading0"><tbody><tr><td class="c019">
% pip3 install -e ./python
Obtaining file:///Users/nekketsuuu/dev/src/github.com/src-d/hercules/python
Collecting matplotlib<4.0,>=2.0
Downloading matplotlib-3.4.1-cp39-cp39-macosx_10_9_x86_64.whl (7.2 MB)
|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 7.2 MB 2.9 MB/s
Collecting numpy<2.0,>=1.12.0
Downloading numpy-1.20.2-cp39-cp39-macosx_10_9_x86_64.whl (16.1 MB)
|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 16.1 MB 2.6 MB/s
Collecting pandas<1.0,>=0.20.0
Downloading pandas-0.25.3.tar.gz (12.6 MB)
$ opam list
# Packages matching: installed
# Name # Installed # Synopsis
async_js v0.14.0 A small library that provide Async support for JavaScript platforms
async_kernel v0.14.0 Monadic concurrency library
async_rpc_kernel v0.14.0 Platform-independent core of Async RPC library
base v0.14.0 Full standard library replacement for OCaml
base-bigarray base
base-bytes base Bytes library distributed with the OCaml compiler
base-threads base
{
"items": [
{"type": "A", "foo": "bar"},
{"type": "B", "hoge": "fuga"}
]
}
javascript:(function(){
window.open("https://web.archive.org/save/" + document.URL);
})();
@nekketsuuu
nekketsuuu / bookmarklet.js
Created December 18, 2019 12:38
Bookmarklet for arXiv: Jump to a summary page from its PDF page
// If there are several versions, this jumps to its root page (i.e. without version string)
location.href = location.href.replace(/(v[0-9]+)?\.pdf/, "").replace(/pdf/, "abs");
// Note
//
// * [Understanding the arXiv identifier](https://arxiv.org/help/arxiv_identifier)
//

โ€ปใ“ใฎๆ–‡ๆ›ธใฏใ€2017ๅนดใซๆ›ธใ‹ใ‚ŒใŸใ‚‚ใฎใ‚’็™บๆŽ˜ใ—ใฆใใŸใฎใงไฟๅญ˜ใฎใŸใ‚ใซๅ…ฌ้–‹ใ—ใŸใ‚‚ใฎใงใ™ใ€‚ๆ—ขใซๆƒ…ๅ ฑใŒๅคใใชใฃใฆใ„ใ‚‹็ฎ‡ๆ‰€ใŒใ‚ใ‚‹ใ‹ใจๆ€ใ„ใพใ™ใŒใ”ๅฎน่ตฆใใ ใ•ใ„ใ€‚

ๅˆถๅบฆใฏ็งปใ‚ใ„ๅค‰ใ‚ใ‚‹ใ‚‚ใฎใชใฎใงใ€ใ”่‡ช่บซใŒๅคงๅญฆใ‹ใ‚‰ใ‚‚ใ‚‰ใฃใŸๅ…ฌๅผใช่ณ‡ๆ–™ใซๆ›ธใ‹ใ‚Œใฆใ„ใชใ„ใ“ใจใฏใ™ในใฆใ”่‡ช่บซใงๅ†็ขบ่ชใ™ใ‚‹ใ‚ˆใ†ใซใ—ใฆใใ ใ•ใ„ใ€‚


็†ๆƒ…ใงๆƒ…ๅ ฑใฎๆ•™ๅ“กๅ…่จฑใ‚’ใจใ‚ŠใŸใ„ไบบใฃใฆใใ†ใใ†ใ„ใชใ„ใจๆ€ใ†ใฎใงใ€่จ˜้Œฒใ‚’ๆฎ‹ใ—ใฆใŠใ“ใ†ใจๆ€ใ„ใพใ™ใ€‚

ๅญฆ้ƒจ