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
| Error: template: loki/templates/write/statefulset-write.yaml:50:28: executing "loki/templates/write/statefulset-write.yaml" at <include "loki.configMapOrSecretContentHash" (dict "ctx" . "name" "/config.yaml")>: error calling include: template: loki/templates/_helpers.tpl:1131:8: executing "loki.configMapOrSecretContentHash" at <include (print .ctx.Template.BasePath .name) .ctx>: error calling include: template: loki/templates/config.yaml:19:7: executing "loki/templates/config.yaml" at <include "loki.calculatedConfig" .>: error calling include: template: loki/templates/_helpers.tpl:507:24: executing "loki.calculatedConfig" at <tpl .Values.loki.config .>: error calling tpl: error during tpl function execution for "{{- if .Values.enterprise.enabled}} | |
| {{- tpl .Values.enterprise.config . }} | |
| {{- else }} | |
| auth_enabled: {{ .Values.loki.auth_enabled }} | |
| {{- end }} | |
| {{- with .Values.loki.server }} | |
| server: | |
| {{- toYaml . | nindent 2}} | |
| {{- end}} |
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 ora from "ora"; | |
| import { Gradient } from "@gradientai/nodejs-sdk"; | |
| const spinner = ora("").start(); | |
| async function run() { | |
| spinner.start("Creating a new Gradient client"); | |
| const gradient = new Gradient({}); | |
| spinner.stopAndPersist({ | |
| text: "Gradient client created successfully", |
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 java.util.Random; | |
| import java.util.*; | |
| public class InputRandomGame { | |
| public static void main(String[] args) { | |
| intro(); | |
| gameMechanic(); | |
| ask(); | |
| } | |
| public static void ask() { |
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
| Example project |
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
| { | |
| "_comment": "Build with `packer build ubuntu.json`", | |
| "builders": [ | |
| { | |
| "boot_command": [ | |
| "{{ user `boot_command_prefix` }}", | |
| "/install/vmlinuz noapic ", | |
| "initrd=/install/initrd.gz ", | |
| "file=/floppy/{{ user `preseed` }} ", | |
| "debian-installer={{ user `locale` }} auto locale={{ user `locale` }} kbd-chooser/method=us ", |
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
| public class Monster { | |
| private String id; | |
| private String name; | |
| public Monster(final String id, final String name) { | |
| this.id = id; | |
| this.name = name; | |
| } |
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
| runtime: python27 | |
| api_version: 1 | |
| threadsafe: true | |
| handlers: | |
| - url: /.* | |
| script: main.app |
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
| exports.hello = require('./hello'); |
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 com.google.inject.*; | |
| import javax.inject.Inject; | |
| import java.lang.annotation.Retention; | |
| import static java.lang.annotation.RetentionPolicy.RUNTIME; | |
| @ScopeAnnotation | |
| @Retention(RUNTIME) | |
| @interface NameScoped { |
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
| source 'https://rubygems.org' | |
| gem 'asciidoctor' | |
| gem 'tilt' | |
| gem 'haml' | |
| gem 'rake' |
NewerOlder