Skip to content

Instantly share code, notes, and snippets.

# PythonでSeleniumのwebdriverモジュールをインポート
from selenium import webdriver
from selenium.webdriver.support.select import Select
from selenium.webdriver.chrome.options import Options
# 操作するブラウザを開く
# e.g. /Users/Kenta/Desktop/Selenium/chromedriver
options = webdriver.ChromeOptions()
# options.add_argument('--kiosk')
<!DOCTYPE html>
<html lang="en">
<head>
<style type="text/css">
section {
display: flex;
}
.wrapper::before {
display: block;
# Switch to root user
sudo su - << EOF
# Setting time zone
timedatectl set-timezone Asia/Tokyo
# Change the character code to Japanese.
sed -i "s/en_US\.UTF-8/ja_JP\.UTF-8/g" /etc/sysconfig/i18n
# Updating the package management tool yum
# This shell commands will re-install ec-cube plugin from your git remote repository.
# A command example is as follows.
# $ ./install_my_plugin.sh https://github.com/HogeUser/HogePlugin HogePlugin xxxxxxxxxxxxxxxxxxx
bin/console eccube:plugin:uninstall --code=$2
cd app/Plugin
rm -rf ./$2