add bahdem
This commit is contained in:
		
							parent
							
								
									23ff6678f9
								
							
						
					
					
						commit
						b43ed91084
					
				
							
								
								
									
										5
									
								
								bahdem/.buildpath
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								bahdem/.buildpath
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<buildpath>
 | 
				
			||||||
 | 
						<buildpathentry kind="src" path=""/>
 | 
				
			||||||
 | 
						<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
 | 
				
			||||||
 | 
					</buildpath>
 | 
				
			||||||
							
								
								
									
										28
									
								
								bahdem/.project
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								bahdem/.project
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,28 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<projectDescription>
 | 
				
			||||||
 | 
						<name>bahdem</name>
 | 
				
			||||||
 | 
						<comment></comment>
 | 
				
			||||||
 | 
						<projects>
 | 
				
			||||||
 | 
						</projects>
 | 
				
			||||||
 | 
						<buildSpec>
 | 
				
			||||||
 | 
							<buildCommand>
 | 
				
			||||||
 | 
								<name>org.eclipse.wst.common.project.facet.core.builder</name>
 | 
				
			||||||
 | 
								<arguments>
 | 
				
			||||||
 | 
								</arguments>
 | 
				
			||||||
 | 
							</buildCommand>
 | 
				
			||||||
 | 
							<buildCommand>
 | 
				
			||||||
 | 
								<name>org.eclipse.wst.validation.validationbuilder</name>
 | 
				
			||||||
 | 
								<arguments>
 | 
				
			||||||
 | 
								</arguments>
 | 
				
			||||||
 | 
							</buildCommand>
 | 
				
			||||||
 | 
							<buildCommand>
 | 
				
			||||||
 | 
								<name>org.eclipse.dltk.core.scriptbuilder</name>
 | 
				
			||||||
 | 
								<arguments>
 | 
				
			||||||
 | 
								</arguments>
 | 
				
			||||||
 | 
							</buildCommand>
 | 
				
			||||||
 | 
						</buildSpec>
 | 
				
			||||||
 | 
						<natures>
 | 
				
			||||||
 | 
							<nature>org.eclipse.php.core.PHPNature</nature>
 | 
				
			||||||
 | 
							<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
 | 
				
			||||||
 | 
						</natures>
 | 
				
			||||||
 | 
					</projectDescription>
 | 
				
			||||||
							
								
								
									
										2
									
								
								bahdem/.settings/org.eclipse.core.resources.prefs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								bahdem/.settings/org.eclipse.core.resources.prefs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					eclipse.preferences.version=1
 | 
				
			||||||
 | 
					encoding/<project>=UTF-8
 | 
				
			||||||
							
								
								
									
										2
									
								
								bahdem/.settings/org.eclipse.php.core.prefs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								bahdem/.settings/org.eclipse.php.core.prefs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					eclipse.preferences.version=1
 | 
				
			||||||
 | 
					include_path=0;/bahdem
 | 
				
			||||||
@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<faceted-project>
 | 
				
			||||||
 | 
					  <fixed facet="php.core.component"/>
 | 
				
			||||||
 | 
					  <fixed facet="php.component"/>
 | 
				
			||||||
 | 
					  <installed facet="php.core.component" version="1"/>
 | 
				
			||||||
 | 
					  <installed facet="php.component" version="7.4"/>
 | 
				
			||||||
 | 
					</faceted-project>
 | 
				
			||||||
							
								
								
									
										48
									
								
								bahdem/.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								bahdem/.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,48 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					    // IntelliSense を使用して利用可能な属性を学べます。
 | 
				
			||||||
 | 
					    // 既存の属性の説明をホバーして表示します。
 | 
				
			||||||
 | 
					    // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
 | 
				
			||||||
 | 
					    "version": "0.2.0",
 | 
				
			||||||
 | 
					    "configurations": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "Listen for Xdebug",
 | 
				
			||||||
 | 
					            "type": "php",
 | 
				
			||||||
 | 
					            "request": "launch",
 | 
				
			||||||
 | 
					            "port": 9003
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "Launch currently open script",
 | 
				
			||||||
 | 
					            "type": "php",
 | 
				
			||||||
 | 
					            "request": "launch",
 | 
				
			||||||
 | 
					            "program": "${file}",
 | 
				
			||||||
 | 
					            "cwd": "${fileDirname}",
 | 
				
			||||||
 | 
					            "port": 0,
 | 
				
			||||||
 | 
					            "runtimeArgs": [
 | 
				
			||||||
 | 
					                "-dxdebug.start_with_request=yes"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "env": {
 | 
				
			||||||
 | 
					                "XDEBUG_MODE": "debug,develop",
 | 
				
			||||||
 | 
					                "XDEBUG_CONFIG": "client_port=${port}"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "Launch Built-in web server",
 | 
				
			||||||
 | 
					            "type": "php",
 | 
				
			||||||
 | 
					            "request": "launch",
 | 
				
			||||||
 | 
					            "runtimeArgs": [
 | 
				
			||||||
 | 
					                "-dxdebug.mode=debug",
 | 
				
			||||||
 | 
					                "-dxdebug.start_with_request=yes",
 | 
				
			||||||
 | 
					                "-S",
 | 
				
			||||||
 | 
					                "localhost:0"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "program": "",
 | 
				
			||||||
 | 
					            "cwd": "${workspaceRoot}",
 | 
				
			||||||
 | 
					            "port": 9003,
 | 
				
			||||||
 | 
					            "serverReadyAction": {
 | 
				
			||||||
 | 
					                "pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
 | 
				
			||||||
 | 
					                "uriFormat": "http://localhost:%s",
 | 
				
			||||||
 | 
					                "action": "openExternally"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										18
									
								
								bahdem/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								bahdem/index.html
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="ja">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					    <meta charset="UTF-8">
 | 
				
			||||||
 | 
					    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
				
			||||||
 | 
					    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
				
			||||||
 | 
					    <link rel="stylesheet" type="text/css" href="main.css">
 | 
				
			||||||
 | 
					    <title>BACH=DEMO MACHINE</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					    <h1>BACH=DEMO MACHINE</h1>
 | 
				
			||||||
 | 
					    <h2 id="expl">CLICK BACH TO GET THEM CONNECTED</h2>
 | 
				
			||||||
 | 
					    <div class="block" id="bachblock"><div>BACH</div></div>
 | 
				
			||||||
 | 
					    <div class="block" id="demoblock"><div>DEMO</div></div>
 | 
				
			||||||
 | 
					    <h3 id="text"></h3>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					<script src="main.js"></script>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
							
								
								
									
										30
									
								
								bahdem/main.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								bahdem/main.css
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					.block{
 | 
				
			||||||
 | 
					    width: 30vh;
 | 
				
			||||||
 | 
					    height: 30vh;
 | 
				
			||||||
 | 
					    background-color: yellowgreen;
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.block div{
 | 
				
			||||||
 | 
					    position: absolute;
 | 
				
			||||||
 | 
					    left: 50%;
 | 
				
			||||||
 | 
					    top: 50%;
 | 
				
			||||||
 | 
					    transform: translateY(-50%) translateX(-50%);
 | 
				
			||||||
 | 
					    font-size: 5vh;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#demoblock{
 | 
				
			||||||
 | 
					    display: none;
 | 
				
			||||||
 | 
					    animation: 3s linear demowelcome;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#text{}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@keyframes demowelcome {
 | 
				
			||||||
 | 
					0%{
 | 
				
			||||||
 | 
					margin-top: 20vh;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					100%{
 | 
				
			||||||
 | 
					margin-top: 0;
 | 
				
			||||||
 | 
					} 
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										23
									
								
								bahdem/main.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								bahdem/main.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					let bachblock = document.getElementById("bachblock");
 | 
				
			||||||
 | 
					let demoblock = document.getElementById("demoblock");
 | 
				
			||||||
 | 
					let text = document.getElementById("text");
 | 
				
			||||||
 | 
					let expl = document.getElementById("expl");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					bachblock.addEventListener('click', function(){
 | 
				
			||||||
 | 
					    if(text.innerText == "" || text.innerText == "DEAD..."){
 | 
				
			||||||
 | 
					        text.innerText = "SUCCESS!!!";
 | 
				
			||||||
 | 
					        text.style.color = "black";
 | 
				
			||||||
 | 
					        setTimeout(()=>{
 | 
				
			||||||
 | 
					            expl.innerText = "CLICK BACH TO GET HER DEAD";
 | 
				
			||||||
 | 
					        },3000);
 | 
				
			||||||
 | 
					    }else{
 | 
				
			||||||
 | 
					        text.innerText = "DEAD...";
 | 
				
			||||||
 | 
					        text.style.color = "red";
 | 
				
			||||||
 | 
					        expl.innerText = "CLICK BACH TO GET THEM CONNECTED AGAIN";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if(window.getComputedStyle(demoblock).display=="none"){
 | 
				
			||||||
 | 
					        demoblock.style.display = "block";
 | 
				
			||||||
 | 
					    }else{
 | 
				
			||||||
 | 
					        demoblock.style.display = "none";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
							
								
								
									
										14
									
								
								index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								index.html
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="ja">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					    <meta charset="UTF-8">
 | 
				
			||||||
 | 
					    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
				
			||||||
 | 
					    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
				
			||||||
 | 
					    <title>Qrhlhplhp's Works</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					    <h1>Qrhlhplhp's Works</h1>
 | 
				
			||||||
 | 
					    <h2>BACH=DEMO MACHINE</h2>
 | 
				
			||||||
 | 
					    <a href="bahdem/">Link</a>
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user