Hugo 0.65.1ダウンロード
更新内容
hugolib: Fix 2 Paginator.Pages taxonomy regressions 7ef5a4c8 @bep #6921#6918hugolib: Fix deletion of orph ...
「Java」ServletConfigオブジェクトで初期化パラメータを取得するサンプル
書式
1.getServletContext()
ServletContextのオブジェクトを返します。
2.getInitParameter(String)
引数に指定されたパラメータ名に対するパラメ ...
ReSharper Ultimate 2019.3.3 ダウンロード
更新内容
No more false “constant expressions” warnings with nullable context enabled.StackOverFlow exceptions in C ...
CudaText 1.95.0ダウンロード
更新内容
add:
– RegExpr engine updated, with lot of patches, see
– Python API speed optimized a ...
[Java]Iteratorでループ処理を行う方法
書式
public interface Iterator<E>
hasNext() :反復処理でさらに要素がある場合にtrueを返します。
使用例
import java.util.Arr ...Rocket.Chat 3.0.2ダウンロード
更新内容
ie11 support (#16682)Omnichannel Inquiry queues when removing chats (#16603)
users.info endpoint not h ...
Rider 2019.3.3 ダウンロード
更新内容
Rider 2019.3.3 comes with these fixes:
The IDE remembers the custom position of the Commit window.N ...
RxJava 2.2.18ダウンロード
更新内容
Pull 6894: Fix groupBy not requesting more if a group is cancelled with buffered items.
ダウンロード
CodeMirror 5.52.0ダウンロード
更新内容
Fix a bug in handling of bidi text with Arabic numbers in a right-to-left editor.
Fix a crash when c ...
Grafana 6.6.2ダウンロード
更新内容
@grafana/ui: Fix displaying of bars in React Graph. #21968, @ivanahuckovaAPI: Fix redirect issue when con ...
「C#」文字列のMD5値を取得するサンプル
書式
MD5.Create().ComputeHash(Encoding.UTF8.GetBytes(文字列))
使用例
「javascript」replaceメソッドの使い方
書式
str.replace(pattern,rep)
説明
str:置き換え対象文字列 pattern:正規表現 rep:置き換え後文字列
サンプルコード
var phone = R ...
「JavaScript」search()で文字列を検索する
書式
str.search(pattern)
指定された正規表現で最初にマッチした文字位置を返す。
サンプルコード
var city = “TOKYOCFTG”;
v ...
「javascript」RegExp() のフラグの使い方
i 大文字・小文字を区別しない
“def”.match(/DEF/)//マッチしない
“def”.match(/DEF/i)//マッチする;
m 複数行に対し ...
「JavaScript入門」match(regexp)で文字列に対してマッチングをするサンプル
サンプルコード
cft = "77:88:99:00".match(/\d+/g);console.log(cft.length); console.log(cft); console.log(cft); console.log ...「PHP」正規表現で文字列のスペースを削除する
1.文字列の先頭のスペース(半角、全角)を削除
$usernamer = preg_replace(‘/^+/u‘, ”, $username);
2.文字列の末尾のスペース(半 ...
「PHP」関数を書くサンプルコード
サンプルコード
<?php
function writeName()
{
echo “This is a test data”;
}
echo R ...
「TypeScript」関数を書くサンプルコード
//返り値がある
function add(a: number, b: number): number{
//some code
return a + b
}
//返り値がない
fu ...