AngularJS

構文
<element ng-class=”expression”></element>
<要素 class=”ng-class: {expressio ...

AngularJS

構文
<要素 ng-bind-template=”テンプレート式” ng-controller=”xxx”>
htmlコード

<head>& ...

AngularJS

説明
<要素 ng-bind-html=”{条件式}”>
some code
</要素>
htmlコード

<head><meta ...

Struts2

使用例1
<s:textarea name=”userdata.memo” cssStyle=”width:80%”/>

使用例2
<s:t ...

AngularJS

htmlコード

<script src="/angular.js/1.4.6/angular.min.js"></script></head><body><div ng-ap ...

C言語

構文
void srand(unsigned seed);
srand関数は引数に適当な値を渡し、rand関数で乱数を生成

サンプルコード

#include <stdio.h>#inclu ...

C言語

構文
乱数を生成 rand()
RAND_MAX 最大値
使用例

#include <stdio.h>#include <stdlib.h> int main(void){ int ...

Perl

構文
foreach my $変数名 (@配列名){
some code
}
使用例

#!/usr/bin/perluse strict;use warnings;my @cft = ("A01" ...

Python

構文
 Y以外の文字を指定
サンプルコード

# coding: utf-8import rex = ""res = re.findall(x,'KFC')if res: print(res) print(res) ...

Perl

構文
push @配列名,文字列;
使用例

#!/usr/bin/perluse strict;use warnings;my @cft = ("A001","B002","C003");print ($cft) ...

Perl

構文
@配列名 = (値1,値2);
サンプルコード

#!/usr/bin/perl @cft= (39, 49, 59); @names = ("A001", "B002", "C003"); print "\ ...

JavaScript

構文
<a href=”JavaScript:関数名();”>
htmlコード

<a href="JavaScript:funcA();">testlink< ...

Perl

構文
if(条件式1 ||条件式2)
サンプルコード

#!/usr/bin/perluse strict;use warnings;my $x = 34;my $y = 59;if ($x == 25 || $y ...

Perl

構文
if(boolean_expression){//some code}
サンプルコード

#!/usr/bin/perluse strict;use warnings;my $x = "abcd";my $y ...

Vue.js

構文
<li v-for=”item in 配列名” :key=”item.key”>
htmlコード

<ul id="arkgame"> ...

Vue.js

構文
<div v-show=”条件式” ></div>
使用例

<div id="arkgame"> <div v-show="cftA" st ...

Vue.js

構文
<div v-else-if=”条件式”>
some code
</div>
使用例

<div id="arkgame"> < ...

Java

説明
public boolean equalsIgnoreCase(String anotherString)
大文字と小文字を区別せずに、このStringを別のStringと比較します。

使用例 ...