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
var Hello = { | |
World: 'HelloWorld!' | |
}; | |
alert(Hello.World); |
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
console.log( | |
["愛知県", | |
"岩手県", | |
"愛媛県", | |
"大分県", | |
"石川県", | |
"茨城県", | |
"神奈川県", | |
"岐阜県", |
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
//------------------------------------------------------ | |
// ページ読み込み | |
//------------------------------------------------------ | |
window.onload(function(){ | |
//------------------------------- | |
//パスを見て初期化処理振り分け | |
//------------------------------- | |
switch( location.pathname ){ | |
case '/page1': | |
page1.init(); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello, WebVR! - A-Frame</title> | |
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script> | |
</head> | |
<body> | |
<a-scene> | |
<!-- 立方体/球/円柱 --> |
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 | |
/** | |
* MySQLに接続しデータを取得する | |
* | |
*/ | |
//------------------------------------------------- | |
//準備 | |
//------------------------------------------------- | |
$dsn = 'mysql:dbname=rpgdb;host=localhost'; //接続先 |
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
/** | |
* モバイルプログラミング2 | |
* RDB実習 | |
*/ | |
/*-----------------------------*/ | |
/* 専用のDB作成 */ | |
/*-----------------------------*/ | |
CREATE DATABASE NovelRDB; | |
USE NovelRDB; |
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
/** | |
* Nodejs + expressで80番ポートを使用する(一般ユーザー) | |
* | |
* Usage: | |
* $ sudo node index.js | |
* listening on *:80 | |
* | |
* 親プロセスはrootだが、子プロセスが指定したユーザーになるる。 | |
*/ |
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 | |
/* | |
* [CLI] Create IP address list of request source of Google Apps Script | |
* | |
* Copyright (C) 2018 M.Katsube | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
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
<Directory "/var/www/html"> | |
order deny,allow | |
deny from all | |
## JP | |
allow from 1.0.16.0/20 | |
allow from 1.0.64.0/18 | |
allow from 1.1.64.0/18 | |
allow from 1.5.0.0/16 | |
allow from 1.21.0.0/16 |
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
/** | |
* モバイルプログラミング2 | |
* SQL実習 | |
* | |
* Date: 2018-12-10 | |
*/ | |
/* ----------------------------------------- */ | |
/* データベース作成 */ | |
/* ----------------------------------------- */ |
OlderNewer