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
<!doctype html> | |
<meta charset="utf-8"/> | |
<link href="/static/tachyons.css" rel="stylesheet"/> | |
<script> | |
{ | |
let enc = new TextEncoder(); | |
let SSR = (window.SSR = {}); | |
SSR.push = (data) => SSR._c.enqueue(enc.encode(data)); | |
SSR.close = () => SSR._c.close(); | |
SSR.stream = new ReadableStream({ |
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
-- | |
-- PRELUDE | |
-- | |
local ink = require 'ink' | |
local ink_fzf = require 'ink_fzf' | |
-- | |
-- CLIPBOARD | |
-- |
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
-- | |
-- PRELUDE | |
-- | |
local ink = require 'ink' | |
local ink_fzf = require 'ink_fzf' | |
-- | |
-- CLIPBOARD | |
-- |
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/backend/icu/dune b/backend/icu/dune | |
index cb85abd8576..2a40819420c 100644 | |
--- a/backend/icu/dune | |
+++ b/backend/icu/dune | |
@@ -26,7 +26,7 @@ | |
./c_ctypes_cflags) | |
(action | |
(bash | |
- "cc -I \"$(ocamlfind query ctypes)\" -I \"$(ocamlc -where)\" $(cat ./c_ctypes_cflags) -o icu_gen_types_ocaml icu_types.cxx"))) | |
+ "cc -I \"$(ocamlfind query ctypes)\" -I \"$(ocamlc -where)\" $(cat ./c_ctypes_cflags) --std=c++11 -o icu_gen_types_ocaml icu_types.cxx"))) |
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 = German | |
You are a native $LANGUAGE speaker who is paying careful attention to what I am saying, while we're having a conversation. Whenever you hear me make a mistake in $LANGUAGE, point out my mistake and correct me so I can learn the language faster. Say, "CORRECTION: [your corrected sentence] ([explain why you made this correction])". | |
Sometimes you'll ask me questions, and sometimes you'll make statements because you want this conversation to flow naturally, be interesting, and last a long time. You are here to facilitate my learning through natural conversation. | |
Please use simple vocabulary, suitable for A1 or A2 level $LANGUAGE speakers. | |
Now, choose one of the following scenarios at random. Do not tell me which scenario you chose and just talk to me as if you were your character in the scenario. |
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/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/management_api.py b/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/management_api.py | |
index 37187e9ca..ada7b2dc7 100644 | |
--- a/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/management_api.py | |
+++ b/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/management_api.py | |
@@ -18,7 +18,7 @@ from rex.graphql import ( | |
class ManagementGraphQLBase(ManagementGraphQLEndpoint): | |
enable_site_tasks = False | |
enable_cohort_builder = False | |
- # access = 'cohort-finder' | |
+ access = 'cohort-finder' |
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/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/ash_scd_site.py b/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/ash_scd_site.py | |
index b037c9bae..5659ac2ed 100644 | |
--- a/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/ash_scd_site.py | |
+++ b/src/client.ash.site_feedback_portal/src/ash/site_feedback_portal/ash_scd_site.py | |
@@ -58,6 +58,7 @@ from .utils import check_user_permission | |
class DownloadConsent(QueryEndpoint): | |
site = "ash-scd-site" | |
+ access = "site-dashboard" | |
name = "download-consent" |
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
'use strict' | |
let sqlstring = require('sqlstring'); | |
class SQLUnsafe { | |
constructor(sql) { | |
this.sql = sql; | |
} | |
} |
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/prisma/migrations/20230213210924_add_enum_statuses_to_email_verification_and_credentials_restore/migration.sql b/prisma/migrations/20230213210924_add_enum_statuses_to_email_verification_and_credentials_restore/migration.sql | |
index 698f38d..c3b7952 100644 | |
--- a/prisma/migrations/20230213210924_add_enum_statuses_to_email_verification_and_credentials_restore/migration.sql | |
+++ b/prisma/migrations/20230213210924_add_enum_statuses_to_email_verification_and_credentials_restore/migration.sql | |
@@ -23,8 +23,9 @@ ALTER TABLE "EmailVerification" ADD COLUMN "triesLeft" INTEGER NOT NULL DEFAULT | |
ALTER TABLE "UserEmailCredentialsRestore" DROP CONSTRAINT "UserEmailCredentialsRestore_userEmailCredentialsId_fkey"; | |
-- MANUAL MIGRATION INSTRUCTIONS | |
-ALTER TABLE "UserEmailCredentialsRestore" ADD COLUMN "credentialsId" TEXT NOT NULL; | |
+ALTER TABLE "UserEmailCredentialsRestore" ADD COLUMN "credentialsId" TEXT NULL; |
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
/** expressions */ | |
declare class expr<t> { #witness: t; } | |
/** scopes */ | |
type fields = {[name: string]: expr<any> | scope<any, any>}; | |
type exprfields = {[name: string]: expr<any>}; | |
type scope<f extends fields, a extends fields=never> = { [k in keyof f]: f[k]; } |
NewerOlder