This file contains 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
gcloud composer environments run foo-composer --project foo-project --location asia-northeast1 variables -- --set foo bar |
This file contains 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
$ErrorActionPrefence = "Stop" | |
Set-StrictMode -Version 2.0 | |
$baseDir = $args[0] # ショートカットのリンク先で指定する送り先ディレクトリ | |
$destDir = Join-Path $baseDir "$(Get-Date -Format yyyyMMdd)_$((Get-Item $args[1]).BaseName)" | |
New-Item $destDir -ItemType Directory | |
Move-Item -Path $args[1..$args.Length] -Destination $destDir |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<datasources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://www.ironjacamar.org/doc/schema" | |
xsi:schemaLocation="http://www.ironjacamar.org/doc/schema http://www.ironjacamar.org/doc/schema/datasources_1_1.xsd"> | |
<datasource jndi-name="java:jboss/jdbc/HogeSystem" pool-name="HogeSystemDS"> | |
<connection-url>jdbc:h2:file:~/hogesystem</connection-url> | |
<driver>h2</driver> | |
<security> | |
<user-name>sa</user-name> | |
<password>password</password> |
This file contains 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
<data-source> | |
<name>java:app/jdbc/HogeSystem</name> | |
<class-name>org.h2.jdbcx.JdbcDataSource</class-name> | |
<url>jdbc:h2:file:~/hogesystem</url> | |
<user>sa</user> | |
<password>password</password> | |
</data-source> |
This file contains 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
<?php phpinfo(); ?> |
This file contains 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
fastcgi.impersonate = 1 | |
fastcgi.logging = 0 | |
cgi.fix_pathinfo = 1 | |
cgi.force_redirect = 0 |
This file contains 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
asadmin add-resources glassfish-resources.xml |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd"> | |
<resources> | |
<jdbc-connection-pool datasource-classname="org.h2.jdbcx.JdbcDataSource" res-type="javax.sql.DataSource" name="SamplePool"> | |
<property name="user" value="sa"/> | |
<property name="password" value="password"/> | |
<property name="url" value="jdbc:h2:fle:~/sample"/> | |
</jdbc-connection-pool> | |
<jdbc-resource jndi-name="jdbc/SampleDS" pool-name="SamplePool/> | |
</resources> |
This file contains 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
asadmin create-jdbc-resource --connectionpoolid SamplePool java:app/jdbc/Sample |
This file contains 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
asadmin create-jdbc-connection-pool --datasourceclassname org.h2.jdbcx.JdbcDataSource --restype javax.sql.DataSource --property user=sa:password=password:url="jdbc:h2:file:~/sample" SamplePool |
NewerOlder