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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3] | |
"140C"=dword:00000000 |
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
/** | |
* メッセージ表示 | |
*/ | |
private void showMessage(){ | |
final String KEY_OF_PREFERENCES = "KEY_OF_PREFERENCES"; | |
final SharedPreferences preferences = getPreferences(MODE_PRIVATE); | |
boolean showMessage = preferences.getBoolean(KEY_OF_PREFERENCES, true); | |
if(showMessage) { | |
new AlertDialog.Builder(MainActivity.this) |
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
import java.util.List; | |
import java.util.ArrayList; | |
public class Main{ | |
public static void main(String[] args) { | |
List<String> list = new ArrayList(); | |
list.add("one"); |
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
// gulpとgulpプラグインを読み込む。 | |
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var minifyCss = require('gulp-minify-css'); | |
var rev = require('gulp-rev'); | |
var revReplace = require('gulp-rev-replace'); | |
var clean = require('gulp-clean'); | |
// ファイルパス |
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 gulp = require('gulp'); | |
// gulpプラグイン | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var minifyCss = require('gulp-minify-css'); | |
// タスクを定義 | |
gulp.task('js', function () { | |
gulp.src([ | |
'./path-to/js/*.js' |
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 gulp = require('gulp'); | |
// gulpプラグイン | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var minifyCss = require('gulp-minify-css'); | |
// タスクを定義 | |
gulp.task('js', function () { | |
gulp.src([ | |
'./path-to/js/modernizr-2.6.2.min.js' |
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 gulp = require('gulp'); | |
// gulpプラグイン | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var minifyCss = require('gulp-minify-css'); | |
// タスクを定義 | |
gulp.task('js1', function () { | |
gulp.src([ | |
'./path-to/js/modernizr-2.6.2.min.js' |
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
// ---------------------------------------- | |
// String型を使った大文字・小文字変換 | |
// ---------------------------------------- | |
let uppercase:String = "TEST" | |
print( "大文字→小文字:" + uppercase.lowercased() ) | |
let lowercase:String = "test" | |
print( "小文字→大文字:" + lowercase.uppercased() ) | |
// ---------------------------------------- |
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
// ***************************************** | |
// 1 から 5 までループ | |
// ***************************************** | |
print("-----<A-1>-----") | |
for index in (1...5) { | |
print(index) | |
} | |
print("-----<A-2>-----") | |
(1...5).forEach { (index) in |
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 html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> | |
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="selenium.base" href="http://search.allabout.co.jp" /> | |
<title>aa_search_test</title> | |
</head> | |
<body> | |
<table cellpadding="1" cellspacing="1" border="1"> |