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
{ lib, pkgs, ... }: | |
let | |
haskellLibs = ps: with ps; [ | |
optparse-applicative | |
regex-tdfa | |
raw-strings-qq | |
extra | |
string-interpolate | |
ansi-terminal | |
aeson |
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
2023-10-24T21:44:23.514+0200 [INFO] Terraform version: 1.6.1 dev | |
2023-10-24T21:44:23.515+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.34.0 | |
2023-10-24T21:44:23.515+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.18.1 | |
2023-10-24T21:44:23.515+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 | |
2023-10-24T21:44:23.515+0200 [DEBUG] using github.com/zclconf/go-cty v1.14.1 | |
2023-10-24T21:44:23.515+0200 [INFO] Go runtime version: go1.21.1 | |
2023-10-24T21:44:23.515+0200 [INFO] CLI args: []string{"/nix/store/w9w4miwp13jhp0g3nw99m3420ab549ar-terraform-1.6.1/bin/terraform", "-chdir=/Users/jloos/Developer/service/deployment", "init"} | |
2023-10-24T21:44:23.515+0200 [DEBUG] Attempting to open CLI config file: /Users/jloos/.terraformrc | |
2023-10-24T21:44:23.515+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2023-10-24T21:44:23.515+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins |
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
type GameType = 'Buzz' | 'Question'; | |
export interface GameState { | |
gameCode: string; | |
type: GameType; | |
hideAnswers: boolean; | |
inputEnabled: boolean; | |
participants: Participant[]; | |
buzzes: Buzz[]; | |
answers: Answer[]; |
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
{-# LANGUAGE CPP #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
----------------------------------------------------------------------------- | |
-- | | |
-- Module : Text.Parser.Token.EPub.CFI | |
-- Copyright : (c) Briends GmbH 2015 | |
-- License : MIT | |
-- | |
-- Maintainer : jloos@maxdaten.io | |
-- Stability : experimental |
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
locals { | |
project_id = data.terraform_remote_state.buzzar_project.outputs.project_id | |
region = module.organization.region | |
location = module.organization.location | |
image = "nixos-image-21-03-git-6bf223c82e0-x86-64-linux" | |
} | |
data "google_compute_network" "production_network" { | |
project = local.project_id | |
name = "production-network" |
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
Copyright 2063 Jan-Philip Loos | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR O |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: canary-ingress | |
spec: | |
tls: | |
- hosts: | |
- canary.example.com | |
secretName: canary-tls |
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
W0605 18:37:27.322855 1 request.go:627] Throttling request took 391.085404ms, request: https://10.47.240.1:443/api/v1/namespaces/default/events/global-ingress.145543284fc9ad8a | |
W0605 18:37:27.522800 1 request.go:627] Throttling request took 390.482359ms, request: https://10.47.240.1:443/api/v1/namespaces/default/secrets/tls-secret | |
I0605 18:37:27.530334 1 instances.go:56] Creating instance group k8s-ig | |
E0605 18:37:27.530929 1 utils.go:92] Requeuing default/global-ingress, err Post https://www.googleapis.com/compute/v1/projects/papego-1005/zones/europe-west1-b/instanceGroups?alt=json: oauth2/google: can't get a token from the metadata service; not running on GCE | |
I0605 18:37:27.531089 1 event.go:211] Event(api.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"global-ingress", UID:"99a20b35-2b32-11e6-bd94-42010af00063", APIVersion:"extensions", ResourceVersion:"5078543", FieldPath:""}): type: 'Warning' reason: 'GCE' Post https://www.googleapis.com/compute/v1/projects/papego-1 |
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
Configuring protocol-buffers-2.3.1... | |
Warning: 'ghc-options: -prof' is not necessary and will lead to problems when | |
used on a library. Use the configure flag --enable-library-profiling and/or | |
--enable-profiling. | |
Building protocol-buffers-2.3.1... | |
Preprocessing library protocol-buffers-2.3.1... | |
[ 1 of 10] Compiling Text.ProtocolBuffers.Get ( Text/ProtocolBuffers/Get.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.0.0/build/Text/ProtocolBuffers/Get.o ) | |
/private/var/folders/xp/8fbnz73x77786vmh_8zhct3w0000gn/T/stack38582/protocol-buffers-2.3.1/Text/ProtocolBuffers/Get.hs:168:24: error: | |
• Could not deduce (Storable a0) arising from a use of ‘peek’ |
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
#!/usr/bin/env stack | |
-- stack --resolver nightly --install-ghc runghc --package wreq --package lens --package lens-aeson --package base64-bytestring --package ReadArgs --package formatting | |
-- Make it easy to write literal ByteString and Text values. | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE RecordWildCards #-} | |
import ReadArgs (readArgs) | |
import Data.Maybe | |
import Formatting |
NewerOlder