Ubuntu 20.04にapt-get removeでlighttpdをアンインストール
OSバージョンを確認
# cat/etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=20.04DISTRIB_CODENAME=focalDISTRIB_DESCRIPTION="U ...「GitLab」ls-remoteコマンドでリモートのコミットIDを取得する方法
書式
git ls-remote オプション
–heads HEADのみ取得
–tags タグのみ
–get-url リモートURL
使用例
1.リモ ...
「SQL」left outer join左外部結合のサンプル
書式
select カラム名from テーブルA left join テーブルBon 結合条件where 抽出条件使用例
select aa.customername , bb.orderid from custo ...[Swift]イニシャライザ(initメソッド)のサンプル
書式
init(引数1: String, 引数2: Int, 引数3: String)
使用例
「Spring」@RequestMappingのproducesでxmlタイプを指定する
書式
@RequestMapping(value = パス名, produces = “application/xml”)
@RequestMapping(value = パス名, produc ...
「Windows10」Excel2013に最近使ったブックを削除する方法
操作方法
1.Excel2013を起動します。
2.左上の「ファイル」をクリックします。
3.「最近使ったブック」を右クリックします。
4.「固定されていない項目をクリア(E)」をクリックし ...
「JavaScript」setInterval()で遅延間隔を設定するサンプル
書式
var intervalID = scope.setInterval(func, delay);
var intervalID = scope.setInterval(code, delay);
一定の遅 ...
「Python」iter()とnext()で文字列の要素を取り出すサンプル
書式
iter(文字列)
使用例
Stinger 12.1.0.1073 のダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
majorgeeksサイトからダウンロード
更新内容:
Enhanced Detections:「Git入門」git checkoutコマンドの使い方
説明
git checkout:作業ブランチを切り替えます。
使用例
1.リモートブランチ「2020Dev01」からローカルブランチ「2020Dev01」を作成
$ git checkout -b ...
BullZip PDF Printer 10.8.0.2282 のダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
cnetサイトからダウンロード
更新内容:
Fix of possible deadlock when ...CentOS8.3にmake をインストールする方法
操作方法
# sudo yum install make
================================================================================ ...
Apache 2.2.29のダウンロード
ダウンロード:
提供元サイトからダウンロード
更新内容:
*) Corrected docs/manual pages for new MergeTrailers directive and other ou ...PSPad editor4.5.8のダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
PSPad is a comprehensive text and code editor that provides n ...
DOS攻撃を防御するためにiptablesのrecentモジュールを利用する
設定内容:
#各IPのHTTP併発要求の最大値を設定
iptables -I INPUT -p tcp –dport 80 -m connlimit –connlimit-above 1 ...
Linuxでファイアウォールのforwardサンプルコード
firewallコード下記:
# 転送トルール
iptables -A FORWARD -d 192.168.1.34 -p tcp –dport 80 -j ACCEPT
iptables -A ...
Linuxサーバーのファイアウォールの基本設定(http、ftp、ssh)
firewallコード下記:
iptables -N httpd_in
iptables -A httpd_in -m time ! –weekdays Mon -m string –alg ...
iptableを利用してファイアウォールルールを設定するサンプル
# 192.168.1.69でfirewallを設定
iptables -A INPUT -p tcp –dport 80 -m time ! –weekdays Mon -m string ̵ ...