- 女神の見えざる手
- ジュラシック・ワールド炎の王国
- マイプレシャスリスト
- http://my-precious-list.jp/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"io" | |
"fmt" | |
"bufio" | |
"os" | |
"flag" | |
"github.com/tidwall/gjson" |
- ConfigFactory.load
- https://github.com/lightbend/config/blob/d5ba11fbb5cea694c1b9fb7321b947ddec11d9ce/config/src/main/java/com/typesafe/config/ConfigFactory.java#L246-L262
- ConfigParseOptions.defaultsはallowMissing true
- defaultApplition
- defaultApplication
- getConfigLoadingStrategy
- 特に何も指定しない場合 DefaultConfigLoadingStrategy
- defaultApplication
- defaultApplition
- [DefaultConfigLoadingStrate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `blog` ( | |
`id` BIGINT UNSIGNED NOT NULL, | |
`title` VARCHAR(512) NOT NULL, | |
`content` TEXT NOT NULL, | |
PRIMARY KEY (id) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 Swamp (RIX) 194 | |
8 Island (RIX) 193 | |
4 Death Baron (M19) 90 | |
2 Diregraf Ghoul (M19) 92 | |
2 Doomed Dissenter (M19) 93 | |
2 Soul Diviner (WAR) 218 | |
3 Eternal Taskmaster (WAR) 90 | |
3 Lazotep Plating (WAR) 59 | |
3 Aven Eternal (WAR) 42 | |
4 Dimir Guildgate (GRN) 245 |
#GCP #GAE #Pub/Sub
- GCP
- [push サブスクリプションの使用 | Cloud Pub/Sub ドキュメント | Google Cloud https://cloud.google.com/pubsub/docs/push#authentication_and_authorization_by_the_push_endpoint] まずはこれを読むと良い
- 
- 
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface State { | |
id: number | |
next: { [key: string]: State } | |
} | |
function hasKey(state: State, char: string): boolean { | |
return !!state.next[char] | |
} | |
export class AhoCorasick { | |
state: State[] = [{ id: 0, next: {} }] |
- (easy) Enables metals-vscode to fire
textDocument/*
- Adjust the LSP request position to the actual source position (generated by almond / ammonite)
- How to know the URI of generated Scala file for the ipynb? Can we get that information from running Kernel somehow?
- How to map "uri of notebook cell" + "position inside the cell" to the position of generated Scala source file?
According to notebookCellTextDocumentFilter of LSP 3.17.
We can enable vscode to fire textDocument/*
for all jupyter-notebook, where the Cell's language is Scala.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S scala-cli shebang --quiet | |
//> using lib "com.softwaremill.sttp.client3::core:3.8.3" | |
//> using lib "com.lihaoyi::os-lib:0.8.1" | |
//> using lib "com.mitchtalmadge:ascii-data:1.4.0" | |
//> using lib "com.lihaoyi::ujson:2.0.0" | |
// 147.47 ┤ ╭╮ ╭──╮ ╭─╮ | |
// 146.52 ┤ ╭╯╰─╮ │ │╭─╯ ╰╮ ╭─╮╭──╮ | |
// 145.56 ┤ │ ╰──╯ ╰╯ ╰╮│ ╰╯ │ ╭──╮╭─╮ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dotty.tools.dotc | |
package transform | |
import ast.{TreeTypeMap, tpd} | |
import config.Printers.tailrec | |
import core.* | |
import Contexts.*, Flags.*, Symbols.* | |
import Constants.Constant | |
import NameKinds.{TailLabelName, TailLocalName, TailTempName} | |
import StdNames.nme |