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
| // Follow this setup guide to integrate the Deno language server with your editor: | |
| // https://deno.land/manual/getting_started/setup_your_environment | |
| // This enables autocomplete, go to definition, etc. | |
| import { serve } from 'https://deno.land/std@0.131.0/http/server.ts'; | |
| import { default as axiod } from 'https://deno.land/x/axiod@0.26.2/mod.ts'; | |
| import * as djwt from 'https://deno.land/x/djwt@v2.2/mod.ts'; | |
| import * as types from './types'; | |
| serve(async (req) => { |
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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: blog-backend-deployment-$VERSION | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| subsystem: blog-backend-$VERSION | |
| strategy: |
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
| const PrivateRoute: React.FC<PrivateRouteProps> = ({ | |
| component: Component, | |
| requiredPermission, | |
| logout, | |
| ...rest | |
| }) => { | |
| const userIsLoggedIn = useAppSelector(state => isLoggedIn(state)); | |
| const userRoles: string[] = useAppSelector(state => getRoles(state)); | |
| const { t } = useTranslation('auth'); |
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
| apiVersion: networking.k8s.io/v1 | |
| kind: Ingress | |
| metadata: | |
| name: blabla-ingress-setup-$VERSION | |
| annotations: | |
| kubernetes.io/ingress.class: nginx | |
| nginx.ingress.kubernetes.io/ssl-redirect: 'true' | |
| cert-manager.io/cluster-issuer: 'blabla-issuer-production' | |
| cert-manager.io/issue-temporary-certificate: "true" | |
| acme.cert-manager.io/http01-edit-in-place: "true" |
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 React from 'react'; | |
| import Landing from '../Landing'; | |
| import notes from './readme.md'; | |
| export default { | |
| title: 'Common/Landing', | |
| component: Landing, | |
| parameters: { | |
| notes: { notes } | |
| } |
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 React from 'react'; | |
| import Header from '../Header'; | |
| import notes from './readme.md'; | |
| export default { | |
| component: Header, | |
| title: 'Common/Header', | |
| parameters: { | |
| notes: { notes } | |
| } |
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
| kind: ConfigMap | |
| apiVersion: v1 | |
| metadata: | |
| name: matomo-server-configmap-$VERSION | |
| data: | |
| matomo-php-config: | | |
| memory_limit=1536M | |
| max_execution_time=1440 | |
| matomo-nginx-fastcgi: | | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_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
| const LanguageManager: React.FC = ({ children }): JSX.Element => { | |
| const { areCookiesSaved } = useSelector(selectCookiesConsent); | |
| const [languageManagerCurrentInstance, setLanguageManagerCurrentInstance] = useState( | |
| getInitialLanguageManager() | |
| ); | |
| useEffect(() => { | |
| if (areCookiesSaved) { | |
| setLanguageManagerCurrentInstance(getLanguageManagerWithCookies()); | |
| } |
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
| version: '3.5' | |
| services: | |
| testing_server: | |
| depends_on: | |
| - testing_database | |
| environment: | |
| - A_BUNCH_OF_VARIABLES=${A_BUNCH_OF_VARIABLES} | |
| image: ${SERVER_TESTING_IMAGE_NAME}:${COMMIT_REF} | |
| container_name: testing_server | |
| build: |
NewerOlder