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
void main() => myTasks(); | |
myTasks() { | |
printMessage(); | |
acknowledgeFileUpload(); | |
thankyouMessage(); | |
} | |
void printMessage() { | |
print("Task Started"); |
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
--- | |
# tasks file for haproxy | |
- name: install haproxy | |
package: | |
name: haproxy | |
state: present | |
register: haproxystate | |
- name: haproxy config | |
template: |
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
--- | |
# handlers file for haproxy | |
- name: restart haproxy service | |
service: | |
name: haproxy | |
state: restarted |
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
--- | |
# vars file for haproxy | |
loadbalancer_port: 8080 |
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
global | |
log 127.0.0.1 local2 | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
maxconn 4000 | |
user haproxy | |
group haproxy | |
daemon |
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
- hosts: localhost | |
vars_files: | |
- secret.yml | |
roles: | |
- role: ec2_instance | |
count: 3 | |
tag_name: "Auto_webserver" | |
accesskey: "{{ aws_access }}" | |
secretkey: "{{ aws_secret }}" |
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'; | |
class Auth extends StatefulWidget { | |
@override | |
_AuthState createState() => _AuthState(); | |
} | |
class _AuthState extends State<Auth> { | |
@override | |
Widget build(BuildContext context) { |
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:chat_app/screens/chat.dart'; | |
import 'package:chat_app/auth/auth.dart'; | |
import 'package:chat_app/auth/reg.dart'; | |
import 'package:chat_app/auth/login.dart'; | |
import 'package:chat_app/screens/home.dart'; | |
import 'package:chat_app/screens/profile.dart'; | |
import 'package:chat_app/screens/location.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_statusbarcolor/flutter_statusbarcolor.dart'; |
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:chat_app/screens/chat.dart'; | |
import 'package:chat_app/auth/auth.dart'; | |
import 'package:chat_app/auth/reg.dart'; | |
import 'package:chat_app/auth/login.dart'; | |
import 'package:chat_app/screens/home.dart'; | |
import 'package:chat_app/screens/profile.dart'; | |
import 'package:chat_app/screens/location.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:flutter_statusbarcolor/flutter_statusbarcolor.dart'; |
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:cloud_firestore/cloud_firestore.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:flutter/material.dart'; | |
class AccountRegistration extends StatefulWidget { | |
@override | |
_AccountRegistrationState createState() => _AccountRegistrationState(); | |
} |
OlderNewer