This file contains 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 ( | |
"context" | |
"dagger/gen-3/internal/dagger" | |
) | |
type Gen3 struct{} | |
// Returns a container that echoes whatever string argument is provided |
This file contains 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
diff --git a/i3status.c b/i3status.c | |
index 3922bf2..1767375 100644 | |
--- a/i3status.c | |
+++ b/i3status.c | |
@@ -329,6 +329,7 @@ int main(int argc, char *argv[]) { | |
CFG_BOOL("last_full_capacity", false, CFGF_NONE), | |
CFG_BOOL("integer_battery_capacity", false, CFGF_NONE), | |
CFG_BOOL("hide_seconds", true, CFGF_NONE), | |
+ CFG_FLOAT("consumption_low_threshold", 100, CFGF_NONE), | |
CFG_CUSTOM_ALIGN_OPT, |
This file contains 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
diff --git a/crypto/chacha/asm/chacha-armv4.pl b/crypto/chacha/asm/chacha-armv4.pl | |
index 0b1592d6b..9af11605e 100755 | |
--- a/crypto/chacha/asm/chacha-armv4.pl | |
+++ b/crypto/chacha/asm/chacha-armv4.pl | |
@@ -175,7 +175,9 @@ $code.=<<___; | |
@ Silence ARMv8 deprecated IT instruction warnings. This file is used by both | |
@ ARMv7 and ARMv8 processors and does not use ARMv8 instructions. | |
+#if __ARM_MAX_ARCH__>=7 | |
.arch armv7-a |
This file contains 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
FROM debian:bullseye | |
RUN --mount=type=bind,target=/root/mount/1,source=file_1 \ | |
--mount=type=bind,target=/root/mount/2,source=file_2 \ | |
--mount=type=bind,target=/root/mount/3,source=file_3 \ | |
--mount=type=bind,target=/root/mount/4,source=file_4 \ | |
--mount=type=bind,target=/root/mount/5,source=file_5 \ | |
--mount=type=bind,target=/root/mount/6,source=file_6 \ | |
--mount=type=bind,target=/root/mount/7,source=file_7 \ | |
--mount=type=bind,target=/root/mount/8,source=file_8 \ |
This file contains 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
const delayMs = 500; // change this if you feel like its running too fast | |
const keywords = `ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
This file contains 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
version: '3' | |
services: | |
site: | |
build: | |
context: . | |
dockerfile: Dockerfile.build | |
volumes: | |
- ./:/srv/jekyll |
This file contains 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
#!/bin/bash | |
# shellcheck disable=SC2102 | |
set -euo pipefail | |
renew_creds() { | |
unset AWS_ACCESS_KEY_ID | |
unset AWS_SECRET_ACCESS_KEY | |
unset AWS_SESSION_TOKEN |
This file contains 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
action "build api-upload" { | |
uses = "actions/docker/cli@master" | |
args = [ | |
"build", | |
"-t", | |
"api-upload", | |
"./services/api-upload", | |
] | |
} |
This file contains 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
- name: docker build | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
run: docker build --build-arg NPM_TOKEN=$NPM_AUTH_TOKEN -t my-image . |
NewerOlder