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
//Usage | |
wordToSyllables wTS = new wordToSyllables(); | |
List < string > syllablesList = new List < string > (); | |
wTS.Word = "Gesellschaft"; | |
syllablesList = wTS.Syllables(); |
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
import 'package:flutter/material.dart'; | |
void main() => runApp(MaterialApp(home: Scaffold(body: Center(child: MyWidget())))); | |
Future<String> callAsyncFetch() => Future.delayed(Duration(seconds: 2), () => "hi"); | |
class MyWidget extends StatelessWidget { | |
@override | |
Widget build(context) { | |
return FutureBuilder<String>( |
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
import {HttpClient} from '@angular/common/http'; | |
import {Component, ViewChild, AfterViewInit} from '@angular/core'; | |
import {MatPaginator} from '@angular/material/paginator'; | |
import {MatSort} from '@angular/material/sort'; | |
import {merge, Observable, of as observableOf} from 'rxjs'; | |
import {catchError, map, startWith, switchMap, debounceTime} from 'rxjs/operators'; | |
import { Patient } from 'src/app/common/patient'; | |
import {MatDatepickerInputEvent} from '@angular/material/datepicker'; | |
/** |
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
<div class="dynamic-table-container mat-elevation-z8"> | |
<div class="card-header-tab card-header"> | |
<div class="card-header-title font-size-lg text-capitalize font-weight-normal"> | |
PATIENTS | |
</div> | |
<div class="btn-actions-pane-right"> | |
<div role="group" class="btn-group-sm btn-group"> | |
<button class="mb-2 mr-2 btn-icon btn-pill btn btn-success" (click)="refresh()"> | |
<i class="fa fa-refresh btn-icon-wrapper"></i> | |
Actualiser |
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
/* Structure */ | |
.dynamic-table-container { | |
position: relative; | |
} | |
.dynamic-table-table-container { | |
position: relative; | |
max-height: 400px; | |
overflow: auto; | |
} |
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
PHP_VERSION=7.4 | |
MYSQL_VERSION=8 | |
APACHE_VERSION=2.4.32 | |
DB_ROOT_PASSWORD=root | |
DB_NAME=promed | |
DB_USERNAME=user | |
DB_PASSWORD=root | |
PROJECT_ROOT=./public_html |
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
ServerName localhost | |
LoadModule deflate_module /usr/local/apache2/modules/mod_deflate.so | |
LoadModule proxy_module /usr/local/apache2/modules/mod_proxy.so | |
LoadModule proxy_fcgi_module /usr/local/apache2/modules/mod_proxy_fcgi.so | |
<VirtualHost *:80> | |
# Proxy .php requests to port 9000 of the php-fpm container | |
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://php:9000/var/www/html/$1 |
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
FROM httpd:2.4.33-alpine | |
RUN apk update; \ | |
apk upgrade; | |
# Copy apache vhost file to proxy php requests to php-fpm container | |
COPY apache.conf /usr/local/apache2/conf/apache.conf | |
RUN echo "Include /usr/local/apache2/conf/apache.conf" \ | |
>> /usr/local/apache2/conf/httpd.conf |
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
FROM php:7.2.7-fpm-alpine3.7 | |
RUN apk update; \ | |
apk upgrade; | |
RUN docker-php-ext-install mysqli |
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
MYSQL_VERSION=8 | |
APACHE_VERSION=2.4.32 | |
DB_ROOT_PASSWORD=root | |
DB_NAME=db | |
DB_USERNAME=user | |
DB_PASSWORD=root | |
PROJECT_ROOT=./public_html |
OlderNewer