hello-world's People
Forkers
ramyasbalaji ptrikkur ganapathe sriawscloud bharathkasani devopsdemo4us vinaybaws nagarajijal gnsunny gmkbabu acsharma rajcdlmec boriphuth kontis75 sandeep000 shwetaasap babyfaroque gitchandru dhilber dharmatej183 raheem88 pekalaanil spkumar0507 himanshuvaish bujjiis n43621a yashas93 akshayjenkins venkatagajara prats85 harwansh paulwoode agoy3012 venkatponna uppalavijaygit jnanadas zohorul satishyandamuri cnivasvemula dsreekant211 harinath120 bnraghav srahman85 rajesh2k3 rganjare1 shivachirra natepk7 gajuk prmetta ramavarapu1 srgali jajapaul amargithub999 srinivasadhu sreddy9676 srknthsddgn vvkgdm amitagrawalhm awalia1983 gsrepo2018 ashishsarkar gpreddyjgl ravikirankits jyotiprakash84 nvnkr sujinthomas18us vinil14 sanjeev1610 maherbaccouche shufai iandguzman rkdevops2018 sudheer194 sivasankarakvd nagashivaji5 chiragch yunlily jennieliu bjdevopsmail kushwaha1980 babubalagani sandhyapulavarthi venkatbhimisetty gideonisele lokhandwalayusuf angeld25 mohanmanureddy niranjanahcrv rktendolkar irla2 hotkey123 leanautomation91 bagasiva standard-sic devopstechguru koppsrinu girishms187 chaitanya295 harsha1341 pamarthikhello-world's Issues
The repository is for practicing the GitHub flow
Hsbtff
No it r to ugh
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
add these lines of code
FROM centos:latest
RUN rpm -i 'centos-gpg-keys-8-3.el8.noarch.rpm'
RUN dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y
RUN dnf distro-sync -y
RUN yum install java -y
First repository
Hello world file
Hello-world
First day repository on GitHub
How are you
- [ login] - - WhatsApp[adekunlewoldbezr]()
- [ login] - - WhatsAppadekunlewoldbezr
Unable to install java
[root@dockerhost etc]# vi Dockerfile
[root@dockerhost etc]# docker build -t mytomcat .
Sending build context to Docker daemon 28.79MB
Step 1/9 : FROM centos
---> 5d0da3dc9764
Step 2/9 : RUN yum install java -y
---> Running in c6093995c672
CentOS Linux 8 - AppStream 152 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Hello world
This repository is for practicing the GitHub Flow
create a new issue
Demo issue.
Hello World
Btc
Code
Source option 6 is no longer supported. Use 7 or later.
I'm using Mac to practice because my AWS account has some problem, but when I try to build maven, there are some problems.
My java is : /Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home
nvm:
$ mvn --version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T13:00:29-06:00) Maven home: /opt/maven Java version: 12.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.1", arch: "x86_64", family: "mac"
Error messages:
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project server: Compilation failure: Compilation failure:
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :server
Seems like as long as you update the pom.xml with
<properties> <maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.target>1.6</maven.compiler.target> </properties>
Then, the problem could be resolved.
Kjh
Hello Beautiful
I love ๐ ๐ and ๐บ
A
New
Docker hub issue while push docker image into it.
ansible playbook:-
-
hosts: all
become: yestasks:
-
name: create docker image from war file
command: docker build -t simple-devops-image:latest .
args:
chdir: /opt/docker -
name: create tag from docker image
command: docker tag simple-devops-image kishore0072/simple-devops-image -
name: push the image into docker hub
command: docker push kishore0072/simple-devops-image
ignore_errors: yes -
name: remove docker images from machine
command: docker rmi simple-devops-image:latest kishore0072/simple-devops-image
ignore_errors: yes
-
Error:-
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["docker", "push", "kishore0072/simple-devops-image"], "delta": "0:00:02.345420", "end": "2020-08-02 19:07:57.913026", "msg": "non-zero return code", "rc": 1, "start": "2020-08-02 19:07:55.567606", "stderr": "denied: requested access to the resource is denied", "stderr_lines": ["denied: requested access to the resource is denied"], "stdout": "The push refers to repository [docker.io/kishore0072/simple-devops-image]\nd038c088ac76: Preparing\nd0f3f4011f28: Preparing\n583dc95d65c9: Preparing\nf26731984f9b: Preparing\n9f052711b40a: Preparing\n81242e1e644e: Preparing\n39a6e47c4ae6: Preparing\nfc6174f0df4a: Preparing\n425325c72d90: Preparing\nc596d5191368: Preparing\ndaf45b2cad9a: Preparing\n8c466bf4ca6f: Preparing\n81242e1e644e: Waiting\n39a6e47c4ae6: Waiting\nfc6174f0df4a: Waiting\n425325c72d90: Waiting\nc596d5191368: Waiting\ndaf45b2cad9a: Waiting\n8c466bf4ca6f: Waiting", "stdout_lines": ["The push refers to repository [docker.io/kishore0072/simple-devops-image]", "d038c088ac76: Preparing", "d0f3f4011f28: Preparing", "583dc95d65c9: Preparing", "f26731984f9b: Preparing", "9f052711b40a: Preparing", "81242e1e644e: Preparing", "39a6e47c4ae6: Preparing", "fc6174f0df4a: Preparing", "425325c72d90: Preparing", "c596d5191368: Preparing", "daf45b2cad9a: Preparing", "8c466bf4ca6f: Preparing", "81242e1e644e: Waiting", "39a6e47c4ae6: Waiting", "fc6174f0df4a: Waiting", "425325c72d90: Waiting", "c596d5191368: Waiting", "daf45b2cad9a: Waiting", "8c466bf4ca6f: Waiting"
Hello world
Deploy of war file from this location not working.
We are unable to deploy war file in Apache server
Getting an-> no war found
Below are the location
https://github.com/yankils/hello-world
Hello world
My first respiratory
My first repository on GitHub
Initialize this repository with a README.
H
My first repository on GitHub
permission denied
A
Tokuninasi
Hello World
This is a test from me
deskripsi
sjjs
nike
- [ login] - - WhatsAppadekunlewoldbezr
The command '/bin/sh -c yum install java -y' returned a non-zero code: 1
[root@dockerhost ~]# docker build -t mytomcat .
Sending build context to Docker daemon 17.41kB
Step 1/9 : FROM centos:latest
---> 5d0da3dc9764
Step 2/9 : RUN yum install java -y
---> Running in 96de11fbb9a8
CentOS Linux 8 - AppStream 66 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
The command '/bin/sh -c yum install java -y' returned a non-zero code: 1
Solved
add the following lines to Dockerfile
add these lines of code
FROM centos:latest
RUN rpm -i 'centos-gpg-keys-8-3.el8.noarch.rpm'
RUN dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y
RUN dnf distro-sync -y
RUN yum install java -y
Example
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICtzwkbC3OqyoFyomrdDd1zNyz044ws/qlkw2Cjblg/X [email protected]
ssh key
PA 20
My account
HTML:
<!DOCTYPE html>
<html>
<head>
<title>Bird Flight Game</title>
<style>
/* Add some basic styling */
body {
background-color: #f0f0f0;
}
.bird {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background-color: #ff0000;
border-radius: 50%;
}
.obstacle {
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 200px;
background-color: #000;
}
.score {
position: absolute;
top: 10px;
left: 10px;
font-size: 24px;
font-weight: bold;
}
</style>
</head>
<body>
<div class="bird"></div>
<div class="obstacle"></div>
<div class="score">Score: 0</div>
<script src="game.js"></script>
</body>
</html>
JavaScript (game.js):
// Get elements
const bird = document.querySelector('.bird');
const obstacle = document.querySelector('.obstacle');
const scoreDisplay = document.querySelector('.score');
// Set initial values
let birdX = 250;
let birdY = 250;
let velocity = 0;
let score = 0;
let obstacleX = 500;
let obstacleY = Math.random() * 300;
// Handle tap event
document.addEventListener('touchstart', () => {
velocity = -10;
});
// Update game state
function update() {
birdY += velocity;
velocity += 0.5; // Gravity
// Move bird element
bird.style.top = `${birdY}px`;
bird.style.left = `${birdX}px`;
// Move obstacle
obstacleX -= 2;
obstacle.style.left = `${obstacleX}px`;
obstacle.style.top = `${obstacleY}px`;
// Check collision
if (checkCollision()) {
endGame();
}
// Check score
if (obstacleX < birdX && obstacleX + 50 > birdX) {
score++;
scoreDisplay.textContent = `Score: ${score}`;
obstacleX = 500;
obstacleY = Math.random() * 300;
}
// Request next frame
requestAnimationFrame(update);
}
// Check collision between bird and obstacle
function checkCollision() {
const birdRect = bird.getBoundingClientRect();
const obstacleRect = obstacle.getBoundingClientRect();
return (
birdRect.top < obstacleRect.bottom &&
birdRect.bottom > obstacleRect.top &&
birdRect.left < obstacleRect.right &&
birdRect.right > obstacleRect.left
);
}
// End game
function endGame() {
alert(`Game Over! Score: ${score}`);
score = 0;
scoreDisplay.textContent = `Score: ${score}`;
birdY = 250;
obstacleX = 500;
obstacleY = Math.random() * 300;
}
// Start game loop
update();
Not able to commit .. i am using your course from Udemy
Ola
Intuitive and initiative ideas only
Source option 6 is no longer supported. Use 7 or later.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project server: Compilation failure: Compilation failure:
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :server
Can you Help me this errors.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.