Python

1.インストール
yum install iotop
2.iotop
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO US ...

Android

javaコード下記:
new Thread(new Runnable() {

@Override
public void run() {
new Thread(new Runnable() { ...

Android

コード下記:
private void startnews24Toast() {
LinearLayout llMain = new LinearLayout(getApplicationContext());

Android

1.INotificationManager
static private INotificationManager getService() {
if (sService != null) {
return ...

Android

1.Android 4.0以上
RemoteViews rvMain = new RemoteViews(context.getPackageName(), R.layout.notification_layout);

Java

Javaコード:

public class FileIoTest {
public static void main(String[] args) throws IOException {

Path p ...

Java

javaコード:
try {
Files.delete(path);
} catch (NoSuchFileException x) {
System.err.format(“%s: no ...

Java

1.Pathオブジェクトを作成
Path p1 = Paths.get(“/tmp/foo”);
Path p2 = Paths.get(filename);
Path p3 = Pat ...

Nginx

1.access_log
説明:
access_log path ]];
access_log path format gzip ;
access_log syslog:server=address ...

shellscript

shellコード:
#!/bin/bash

df | sed 1d >/tmp/startnews24_hddres.txt
#df | grep -v “Use” >/ ...

shellscript

shellコード下記:
#!/bin/bash
# description: the sum even of 1 to 100

#sum変数を定義

declare -i sum=0
le ...

Nginx

設定内容:
http {
geo $whiteiplist {
default 1;
127.0.0.1 0;
10.0.0.0/8 0;
XXX.XXX.242.0/24 0; ...

Nginx

1.設定内容:
http {
map $http_user_agent $agent {
default “”;
~curl $http_user_agent;
~*ap ...

Nginx

フォワードプロキシ(Forward Proxy)内容下記:
server {
listen 8090;
location/{
resolver XXX.XXX.XXX.XXX   XXX.XXX.XXX ...

Nginx

設定手順:
1.# vim nginx.conf
http{…}に「server_tokens off; 」を追加

http {
……
sendfile on; ...

Vue.js

環境
Windows10 home 64bit
Vue.js 3.0.0
Google Chrome 98.0.4758.102

書式
<button id=”btnReg ...

Windows10

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

Database .NET is an innovative, p ...

Ruby

使用例

#!/usr/bin/ruby# -*- coding: UTF-8 -*-users = puts usersp usersemps = puts empsp emps

実行結果
>ruby test ...