chore: import upstream snapshot with attribution
CI / compile_and_lint (push) Failing after 0s
CI / docker_build (linux/amd64, -linux-amd64-duckdb, duckdb) (push) Failing after 0s
CI / docker_build (linux/arm64, -linux-arm64, minimal) (push) Failing after 2s
CI / docker_build (linux/arm64, -linux-arm64-duckdb, duckdb) (push) Failing after 1s
CI / docker_build (linux/amd64, minimal) (push) Failing after 1s
CI / test (, sqlite, sqlite::memory:) (push) Has been skipped
CI / test (mssql, mssql, mssql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (mysql, mysql, mysql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (oracle, oracle, Driver=Oracle 21 ODBC driver;Dbq=//127.0.0.1:1521/FREEPDB1;Uid=root;Pwd=Password123!) (push) Has been skipped
CI / test (postgres, odbc, Driver=PostgreSQL Unicode;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!, true) (push) Has been skipped
CI / test (postgres, postgres, postgres://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / playwright (push) Has been skipped
CI / docker_build (linux/arm/v7, -linux-arm-v7, minimal) (push) Failing after 0s
CI / hurl_examples (push) Failing after 8s
deploy website / deploy_official_site (push) Failing after 1s
CI / hurl (${{ matrix.example }}) (push) Has been skipped
CI / docker_push (duckdb) (push) Has been cancelled
CI / docker_push (minimal) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / compile_and_lint (push) Failing after 0s
CI / docker_build (linux/amd64, -linux-amd64-duckdb, duckdb) (push) Failing after 0s
CI / docker_build (linux/arm64, -linux-arm64, minimal) (push) Failing after 2s
CI / docker_build (linux/arm64, -linux-arm64-duckdb, duckdb) (push) Failing after 1s
CI / docker_build (linux/amd64, minimal) (push) Failing after 1s
CI / test (, sqlite, sqlite::memory:) (push) Has been skipped
CI / test (mssql, mssql, mssql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (mysql, mysql, mysql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (oracle, oracle, Driver=Oracle 21 ODBC driver;Dbq=//127.0.0.1:1521/FREEPDB1;Uid=root;Pwd=Password123!) (push) Has been skipped
CI / test (postgres, odbc, Driver=PostgreSQL Unicode;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!, true) (push) Has been skipped
CI / test (postgres, postgres, postgres://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / playwright (push) Has been skipped
CI / docker_build (linux/arm/v7, -linux-arm-v7, minimal) (push) Failing after 0s
CI / hurl_examples (push) Failing after 8s
deploy website / deploy_official_site (push) Failing after 1s
CI / hurl (${{ matrix.example }}) (push) Has been skipped
CI / docker_push (duckdb) (push) Has been cancelled
CI / docker_push (minimal) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
CREATE TABLE tap(
|
||||
tapping_session INTEGER,
|
||||
day REAL NOT NULL, -- fractional julian day, easy to manipulate in SQLite
|
||||
PRIMARY KEY (tapping_session, day)
|
||||
);
|
||||
|
||||
CREATE VIEW tap_bpm AS
|
||||
SELECT
|
||||
*,
|
||||
CAST(
|
||||
1 / ((24 * 60) * (day - previous))
|
||||
AS INTEGER
|
||||
) AS bpm
|
||||
FROM (
|
||||
SELECT
|
||||
*,
|
||||
lag(day) OVER (ORDER BY day) AS previous
|
||||
FROM tap
|
||||
);
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
<a class="bigbutton" href="{{link}}">{{text}}</a>
|
||||
|
||||
<style>
|
||||
.bigbutton {
|
||||
/* A huge funky round button with a ton of visual effects */
|
||||
display: block;
|
||||
margin: auto;
|
||||
width: 20rem;
|
||||
height: 20rem;
|
||||
line-height: 18rem;
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
padding: 0.5em 1em;
|
||||
border: 2px solid #000;
|
||||
border-radius: 100%;
|
||||
box-shadow: 0 0.5em 0.5em -0.4em #eb7f26;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
transition: all 0.05s;
|
||||
background: linear-gradient(to bottom, #ddd44f, #da6a36);
|
||||
text-shadow: 2px 2px 3px rgba(87, 34, 34, 0.5);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.bigbutton:hover {
|
||||
background: linear-gradient(to bottom, #dad161, #e65e20);
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 0.8em 0.7em -0.5em #eb7f26;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user