openpgp4fpr:ED91D234CAE973679AD46EA62E27E20FC4DEEA3E
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 jbang "$0" "$@" ; exit $? | |
| //DEPS com.fasterxml.jackson.core:jackson-databind:2.17.0 | |
| //DEPS com.squareup.okhttp3:okhttp:4.12.0 | |
| import com.fasterxml.jackson.databind.JsonNode; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import java.net.URLEncoder; | |
| import java.nio.charset.StandardCharsets; | |
| import java.util.ArrayList; | |
| import java.util.Collections; |
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
| icons_format = "<span font_family='NotoSans Nerd'>{icon}</span>" | |
| [theme] | |
| theme = "ctp-mocha" | |
| [theme.overrides] | |
| idle_bg = "#1e1e2e" | |
| idle_fg = "#bac2de" | |
| info_bg = "#1e1e2e" | |
| info_fg = "#bac2de" | |
| good_bg = "#1e1e2e" |
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 bash | |
| #!/usr/bin/env bash | |
| # Fetch contributors | |
| contributors=$(gh api -X GET repos/$1/$2/contributors --jq '.[].login' | tr '\n' '|' | sed 's/|$//') | |
| echo $contributors | |
| # Export the CONTRIBUTORS environment variable | |
| export CONTRIBUTORS="$contributors" |
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
| abort-on-warn = false | |
| accept-flake-config = false | |
| access-tokens = | |
| allow-dirty = true | |
| allow-import-from-derivation = true | |
| allow-new-privileges = false | |
| allow-symlinked-store = false | |
| allow-unsafe-native-code-during-evaluation = false | |
| allowed-impure-host-deps = | |
| allowed-uris = |
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
| import math | |
| @coprocessor( | |
| returns=["lon", "lat"], | |
| ) | |
| def simplify(**params) -> (vector[f64], vector[f64]): | |
| from greptime import query | |
| results = query().sql(params["sql"]) | |
| lon = results[0] |
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 jbang "$0" "$@" ; exit $? | |
| //DEPS org.eclipse.jetty:jetty-server:11.0.15 | |
| //DEPS org.eclipse.jetty:jetty-servlet:11.0.15 | |
| import static java.lang.System.*; | |
| import java.io.IOException; | |
| import org.eclipse.jetty.server.Server; |
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
| (require 'package) | |
| ;; (dolist (source '(("marmalade" . "http://marmalade-repo.org/packages/") | |
| ;; ("elpa" . "http://tromey.com/elpa/") | |
| ;; ("melpa" . "http://melpa.milkbox.net/packages/") | |
| ;; ("org" . "http://orgmode.org/elpa/"))) | |
| ;; (add-to-list 'package-archives source t)) | |
| ;; | |
| ;; ("marmalade" . "http://elpa.emacs-china.org/marmalade/") | |
| ;; ("org" . "http://elpa.emacs-china.org/org/") | |
| ;; ("elpa" . "http://elpa.emacs-china.org/gnu/") |
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
| "(tomcat|jetty)":\s*"((\\"|[^"])*)",? |
NewerOlder