Skip to content

Instantly share code, notes, and snippets.


Shono Shono1207

View GitHub Profile
View template.json
"$schema": "",
"contentVersion": "",
"parameters": {
"location": {
"type": "string",
"metadata": {
"description": "The region to deploy the resources into"
View palo_vm.json
"$schema": ""
contentVersion: ""
type: stri
description: "The region to deploy the resources into"
type: string
description: "Your source public IP address. Added to the inbound NSG on eth0 (MGMT)"
View Vagrantfile
Vagrant.configure("2") do |config| = "Shono/CentOSIaC"
config.vm.provider "virtualbox" do |vb| = "Vagrant-CentOS"
vb.cpus = 2
vb.gui = true
vb.memory = "2048"
vb.customize [
"modifyvm", :id,
View homepage.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="" type="text/css">
<link rel="stylesheet" href="theme.css" type="text/css"> </head>
View Test.js
(function () {
'use strict';
const userNameInput = document.getElementById('user-name');
const assessmentButton = document.getElementById('assessment');
const resultDivided = document.getElementById('result-area');
const tweetDivided = document.getElementById('tweet-area');
* 指定した要素の子どもを全て除去する
* @param {HTMLElement} element HTMLの要素
View Test.css
body {
background-color: #04A6EB;
color: #FDFFFF;
width: 500px;
margin-right: auto;
margin-left : auto;
button {
padding: 5px 20px;
background-color: #337AB7;
View Test.html
<!DOCTYPE html>
<html lang="ja">
<meta charset="UTF-8">
<link rel="stylesheet" href="Test.css">
<input type="text" id="user-name" size="40" maxlength="20">