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
package seleniumtest; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.openqa.selenium.support.events.WebDriverEventListener; | |
public class test1 { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub |
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
package seleniumtest; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.openqa.selenium.firefox.FirefoxDriver; | |
import org.openqa.selenium.support.events.WebDriverEventListener; | |
public class test1 { | |
public static void main(String[] args) { |
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
package seleniumtest; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.openqa.selenium.firefox.FirefoxDriver; | |
import org.openqa.selenium.support.events.WebDriverEventListener; | |
/** | |
* @Rajesh Kumar via DevOpsSchool.com | |
*/ |
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
composer create-project laravel/laravel <Project Name> "5.5.*" --prefer-dist | |
# Move to new project directory: <Project Name> | |
cd <Project Name> | |
Install Passport: | |
---------------- | |
composer require paragonie/random_compat:2.* | |
composer require laravel/passport "4.0.*" |
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
use GuzzleHttp\Exception\GuzzleException; | |
use GuzzleHttp\Exception\RequestException; | |
use GuzzleHttp\Client; | |
public static function getTestApiRespone(string $access_token) { | |
try { | |
$http = new Client(); //GuzzleHttp\Client | |
$response = $http->get( | |
'http://surgery-planet-quote-booking/api/test', | |
[ |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>My First Heading</h1> | |
<p>My first paragraph.</p> | |
</body> | |
</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
Terraform Notes - October - First Week - 2019 - Bangalore | |
submit your details - https://docs.google.com/forms/d/e/1FAIpQLScrY0Y4iex47e7bfxVKiYBVcalH9TRT-Qqe_8WTbusB1jeVoA/viewform | |
JENKINS - ANSIBLE | |
AZURE | |
========================================== | |
WWW.DevOpsSchool.com/slides | |
-------------------------------------------------- |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "EC2-SecurityGroup-ElasticIP", | |
"Parameters": { | |
"VPC": { | |
"Description": "The default VPC", | |
"Type": "AWS::EC2::VPC::Id" | |
}, | |
"Subnet": { | |
"Description": "A public subnet of VPC.", |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Resources: | |
## Security group for WebInstance enabling port 80 | |
## from all IP addresses | |
WebSecurityGroup: | |
Type: AWS::EC2::SecurityGroup | |
Properties: | |
GroupDescription: Web server | |
GroupName: web |
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
# http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/sample-templates-services-us-west-2.html#w1ab2c21c45c15c15 | |
# Amazon EC2 instance in a security group Creates an Amazon EC2 instance in an Amazon EC2 security group. | |
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'AWS CloudFormation Sample Template EC2InstanceWithSecurityGroupSample: | |
Create an Amazon EC2 instance running the Amazon Linux AMI. The AMI is chosen based | |
on the region in which the stack is run. This example creates an EC2 security group | |
for the instance to give you SSH access. **WARNING** This template creates an Amazon | |
EC2 instance. You will be billed for the AWS resources used if you create a stack | |
from this template.' |