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'; | |
import 'package:flutter/services.dart'; | |
import 'package:rive/rive.dart'; | |
class Search extends StatefulWidget { | |
@override | |
_SearchState createState() => _SearchState(); | |
} | |
class _SearchState extends State<Search> { |
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'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:intl/intl.dart'; | |
class DatePicker extends StatefulWidget { | |
@override | |
_DatePickerState createState() => _DatePickerState(); | |
} |
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'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:flutter/rendering.dart'; | |
class History extends StatefulWidget { | |
@override | |
_HistoryState createState() => _HistoryState(); | |
} |
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'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:flutter/rendering.dart'; | |
class History extends StatefulWidget { | |
@override | |
_HistoryState createState() => _HistoryState(); | |
} |
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
<h1>Successfully configured the webserver on docker container !!!</h1> |
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
[docker] | |
{{ containerinfo.container.NetworkSettings.IPAddress }} ansible_user=root ansible_ssh_pass=ankush ansible_connection=ssh |
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 | |
tasks: | |
- name: Launch a new container | |
docker_container: | |
name: my-container | |
image: cankush625/centos-ssh:v2 | |
state: started | |
detach: yes | |
interactive: yes |
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 centos:centos8 | |
RUN yum install net-tools -y | |
RUN yum install openssh-server -y | |
RUN ssh-keygen -A | |
RUN yum install passwd -y |
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 socket | |
import threading | |
# Using IPv4 and UDP protocol | |
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
ip = input("Enter your IP address: ") | |
port = int(input("Enter your port: ")) | |
# Creating socket |
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: dynamicOS | |
vars_files: | |
- "{{ ansible_os_family }}.yml" | |
tasks: | |
- package: | |
name: "{{ packageName }}" | |
state: present |