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 type { StrapiApp } from '@strapi/strapi/admin'; | |
export default { | |
config: { | |
locales: [ | |
], | |
}, | |
bootstrap(app: StrapiApp) { | |
const head = document.head || document.getElementsByTagName('head')[0]; |
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
// For help writing plugins, visit the documentation to get started: | |
// https://docs.insomnia.rest/insomnia/introduction-to-plugins | |
var dataIndex = 0; | |
var dataSize = 0; | |
var codes = []; | |
module.exports.requestActions = [ | |
{ |
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
FROM postgres:16-alpine | |
RUN apk update && apk add postgresql-pg_cron | |
RUN cp /usr/lib/postgresql16/pg_cron.so /usr/local/lib/postgresql/ | |
RUN cp /usr/share/postgresql/extension/* /usr/local/share/postgresql/extension | |
RUN echo "echo \"shared_preload_libraries = 'pg_cron'\" >> /var/lib/postgresql/data/postgresql.conf" >> /docker-entrypoint-initdb.d/000_bash.sh | |
RUN echo "echo \"cron.database_name = 'feeder'\" >> /var/lib/postgresql/data/postgresql.conf" >> /docker-entrypoint-initdb.d/000_bash.sh | |
RUN echo "echo \"cron.timezone = 'CEST'\" >> /var/lib/postgresql/data/postgresql.conf" >> /docker-entrypoint-initdb.d/000_bash.sh |
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
package main | |
import ( | |
"flag" | |
"log" | |
"net/http" | |
"os" | |
) | |
func main() { |