This file contains hidden or 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
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>Home | VARIUS</title> | |
| <meta name="google-site-verification" content="Qjxxvj1jYae_WgPQU3DLHEhDgH_DlomNupTymcKRHUc"> | |
| <meta name="description" content="VARIUS development team"> | |
| <meta property="og:url" content="https://varius.technology/"> | |
| <meta property="og:title" content="Home | VARIUS"> |
This file contains hidden or 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 React, { ReactNode } from "react"; | |
| import Layout from "layout/main"; | |
| import { Box, Center, Text } from "@chakra-ui/react"; | |
| import HMeta from "components/headmeta"; | |
| import Image from "next/image"; | |
| export default function About() { | |
| return ( | |
| <Layout> | |
| <BgImage /> | |
| <HMeta pageTitle="About VARIUS" /> |
This file contains hidden or 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
| const anExampleVariable:number [] = [1,2,3,4,5,6,7]; | |
| const anExampleVariable2:number [] = []; | |
| anExampleVariable.map(item => { | |
| anExampleVariable2.push(item * 2) | |
| }) | |
| console.log(...anExampleVariable2) |
This file contains hidden or 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
| const WebToggle = () => { | |
| const [toggle, setToggle] = useState<boolean>(false); | |
| toggle ? '#000' : '#fff'; | |
| return ( | |
| <div> | |
| <h1>WebToggle</h1> | |
| <button onClick={() => { | |
| setToggle(!toggle); | |
| }} | |
| style={{ |
This file contains hidden or 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 React, {useState} from "react"; | |
| export default function Index () { | |
| const [count, setCount] = useState(0); | |
| return ( | |
| <> | |
| test ui app | |
| {count} | |
| <div> |
This file contains hidden or 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 java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| // 最初の#を追加する | |
| StringBuilder sb = new StringBuilder("#"); | |
| for (int i = 0; i < 3; i++ ) { | |
| // 10新数ベースの色入力 (R G B) | |
| int a = sc.nextInt(); |
This file contains hidden or 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 React from 'react'; | |
| interface TextBoxState { | |
| text: string; | |
| } | |
| class TextBox extends React.Component<{}, TextBoxState> { | |
| constructor(props: {}) { | |
| super(props); | |
| this.state = { |
This file contains hidden or 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
| //クラス名は必ずMainにする必要があります。 | |
| import java.util.*; | |
| public class Main { | |
| public static void main(String args[] ) throws Exception { | |
| Scanner sc = new Scanner(System.in); | |
| String s = sc.next(); | |
| String s2 = sc.next(); | |
| String s3 = sc.next(); | |
| int sleng = s.length(); |
This file contains hidden or 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
| String x = "sss"; | |
| if (x.endWith("s") && x.startWith("s") ) { | |
| // other code | |
| } |
This file contains hidden or 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
| public class UpperCaseTest { | |
| public static void main (String[] args) { | |
| // toUpperCaseTest | |
| String stunum = ""; | |
| String upperStunum = stunum.toUpperCase(); | |
| System.out.println(upperStunum); | |
| // toLowerCaseTest | |
| String myName = ""; | |
| String lowerStunum = myName.toLowerCase(); |