And English is a Work in Progress ⌛
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
| # The full public facing url | |
| #root_url = %(protocol)s://%(domain)s:%(http_port)s/ | |
| root_url = http://localhost:80/grafana/ |
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.7' | |
| services: | |
| ldap_server: | |
| image: wshihadeh/openldap:withdata | |
| environment: | |
| LDAP_ADMIN_PASSWORD: test1234 | |
| LDAP_BASE_DN: dc=shihadeh,dc=intern | |
| ports: | |
| - 389:389 | |
| volumes: |
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
| class Muyian extends Date { | |
| to (date, locale) { | |
| return this.diff(date, true); | |
| } | |
| form (date, locale) { | |
| return this.diff(date, 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
| # Set the postgres user password | |
| $env:PGPASSWORD = 'password'; | |
| # Get the date and format into YYYY-MM-DD format | |
| $date = Get-Date -format "yyyy-MM-dd" | |
| # Test if there is a QSR directory | |
| Set-Location / | |
| if (Test-Path C:\QSR) { | |
| Write-Host "C:\QSR already exists." -ForegroundColor Green | |
| } else { | |
| Write-Host "Creating QSR directory for PostgreSQL backup" -ForegroundColor Green |
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
| # Adapted from https://stackoverflow.com/questions/35869985/datetime-datetime-is-not-json-serializable | |
| import datetime | |
| import json | |
| import boto3 | |
| def datetime_handler(x): | |
| if isinstance(x, datetime.datetime): | |
| return x.isoformat() |
Angular Specific:
General:
NewerOlder
