PHP

 

方法1:sort()
<?php
$my_array=array(1,2,3,6,7,8,9,4,5);//配列を作成
sort($my_array);
foreach( ...

PHP

PHPコード:
<?php
$my_array=array(//配列を作成
“hehe”=>”小沢”,
“A”=> ...

PHP

PHPコード:
<?php
$my_array=array(//配列を作成
“hehe”=>”haha”,
“A”=& ...

Linux

1.msmtpインストールパッケージをダウンロードして解凍
wget
tar xvf msmtp-1.4.17.tar.bz2

2.gccパッケージをインストール
rpm -ivh gcc-4.1. ...

DataBase

1.RPMインストールパッケージのアンインストール
1.1 mysqlをインストールしたかどうか確認
# rpm -qa | grep mysql
mysql-devel-5.1.73-3.el6_5.x86_ ...

PHP

1.Apacheとphpをインストール
yum install -y httpd php*

2.Oracleパッケージをインストール
oracle-instantclient-basic-10.2.0.4- ...

Linux

shellコード:
#!/bin/bash
NAME=java
NOP=/bin/true
DATE=$(/bin/date +”%Y-%m-%d %H:%M:%S”)

Rocky Linux 8

1.有効Node.jsのバージョンを確認

# dnf module list nodejsRocky Linux 8 - AppStreamName Stream Profiles Summarynodejs 10 commo ...

Mac OS X

ダウンロード:
提供元サイトからダウンロード
cnetサイトからダウンロード

TotalFinder for Mac offers a number of powerful upgrades over th ...

Python

構文
class int(x, base=10)
x が数値でない、あるいは base が与えられた場合、 x は文字列、 bytes インスタンス、 bytearray インスタンスのいずれかで、基数 base の ...

Node.js

構文
fs.open(path, flags, callback)

使用例 openfile.js

var fs = require("fs");//非同期でファイルを読み込むconsole.log("ope ...

C++

説明:
#include <sys/uio.h>
ssize_t readv(int fd, const struct iovec *vector, int count);
ssize_t writ ...

Oracle

1.tnsnames.ora
説明:tnsnames.oraは接続先DBを指定するための記述をするファイルです。
クライアント側に配置します。
場所 C:\app\client\username\product ...

DataBase

PL/SQLコード:
/**
全てのtableをクリア(ロールバック可能)
**/
declare
— tableのカーソルを指す
cursor c_t is
sel ...

Ubuntu

1.ファイルで確認
# cat/etc/issue
Ubuntu 20.04.2 LTS \n \l

# cat/etc/lsb-release
DISTRIB_ID=Ubuntu
DIST ...

Windows10

ダウンロード:
提供元サイトからダウンロード
cnetサイトからダウンロード
softpediaサイトからダウンロード

PointerStick offers a flexible and incr ...

Rocky Linux 8

1.有効Node.jsのバージョンを確認

# dnf module list nodejsRocky Linux 8 - AppStreamName Stream Profiles Summarynodejs 10 commo ...

DataBase

1.エラーメッセージ:
ORA-01502: index ‘xxx.xxxxx’ or partition of such index is in unusable state

2.解決方法 ...