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
| from flask import Flask, render_template, request | |
| import xmltodict | |
| import urllib.request | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def index(): | |
| return render_template('index.html', title='API TEST') |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>{{ title }}</title> | |
| <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| $(document).ready(function(){ | |
| $('#submit').on("click", function() { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>{{ title }}</title> | |
| <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| $(document).ready(function(){ | |
| $('#submit').on("click", function() { |
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
| # coding: utf-8 | |
| Vagrant.configure("2") do |config| | |
| config.vm.provider :virtualbox do |v| | |
| v.name = "centos7_test" | |
| v.customize ["modifyvm", :id, "--memory", 2048] | |
| end | |
| config.vm.box = "centos/7" | |
| config.vm.hostname = "vagrant-test" |
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
| #!/bin/sh | |
| #パッケージを更新 | |
| sudo yum -y update | |
| #wgetインストール | |
| sudo yum -y install wget | |
| #unzipインストール | |
| sudo yum -y install unzip |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>{{ title }}</title> | |
| <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| $(document).ready(function(){ | |
| $('#submit').on("click", function() { |
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
| var Index = React.createClass({ | |
| getInitialState: function() { | |
| return {data: "test"}; | |
| }, | |
| testHandler: function(event) { | |
| console.log("test"); | |
| } | |
| render: function(){ | |
| return ( | |
| <input type="button" value={this.state.data} onClick = {this.testHandler} /> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>{{ title }}</title> | |
| <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> | |
| <script src="../static/libs/pdf.js"></script> | |
| </head> | |
| <body> |
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
| # coding: utf-8 | |
| Vagrant.configure("2") do |config| | |
| config.vm.provider :virtualbox do |v| | |
| v.name = "centos7-redmine" | |
| v.customize ["modifyvm", :id, "--memory", 2048] | |
| end | |
| config.vm.box = "centos/7" | |
| config.vm.hostname = "centos7-redmine" |
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.ArrayList; | |
| import java.util.Scanner; | |
| public class AggregateSample { | |
| public static final String LINE_SEPARATOR_PATTERN = "\\r\\n|[\\n\\r\\u2028\\u2029\\u0085]"; | |
| public static void main(String[] args) { | |
| ArrayList<Integer> dataList = new ArrayList<>(); | |
| Scanner scan = new Scanner(System.in); |