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
--- | |
- name: Provision an EC2 Instance | |
hosts: local | |
connection: local | |
gather_facts: False | |
tags: provisioning | |
# Necessary Variables for creating/provisioning the EC2 Instance | |
vars: | |
instance_type: t1.micro | |
security_group: testserver # Change the security group name here |
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
[Unit] | |
Description=SonarQube service | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start | |
ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop |
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 javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
public class Panel00 extends JPanel { | |
Timer t = new Timer(1, new Listener()); | |
int ctr = 0; | |
double G = 0.1; //Gravitational Constant | |
final int xpos = 280; |