IT

nagiosでcpuのプラグインを検査する。

@echo off
rem 現在batの役割

echo ==================begin========================

IT

@echo off
rem 現在batの役割

echo ==================begin========================

cls
SET NGINX_PATH=D: ...

IT

SET NGINX_PATH=D:
SET NGINX_DIR=D:\web\nginx-1.3.11\
SET PHP_DIR=D:\web\php-5.4.11-nts-Win32-VC9-x86\

+ ...

Source

#!/bin/bash
#backup mysql data
#Auther:arezone
#website:

DBDIR=/data/mysql
BACKDIR=/data/bak/my ...

Source

二つのファイルを処理する,一つは発送成功のケースです。もう一つは発送失敗場合、エラーログを書きこむ。

#!/bin/bash

#—————— ...

Source

1.あるポートの応用を殺す
port=9996
netstat -anp | grep $port | head -1 | awk ‘{print $7}’| awk ‘BEGIN{ ...

Windows10

操作方法
1.「開始」 ->「Windows システムツール」 ->「コントロール パネル」をクリックします。

2.「日付、時刻、数値形式の変更」をクリックします。

3.「管理」タブをクリッ ...

Source

cp nginx.sh/etc/init.d/nginx
chmod a+x/etc/init.d/nginx
chkconfig –add nginx
chkconfig nginx on

Source

#!/bin/bash

cat/dev/stdin | while read -r line
do
for word in $line
do
/usr/bin/printf $word; ...

Source

#!/bin/bash
##################################
haproxy_path=/usr/local/haproxy
haproxy_conf=/usr/local/ha ...

Source

@echo off
:start
set/p n=Please input your odd integer:
set/a p=n%%2
if %p% equ 0 echo Input error!&# ...

Source

#!/bin/bas
#
################################################################################
# process s ...

Source

oracleありかのサーバーの上でrootユーザーを使ってこのシナリオを実行する
$1:当oracleのユーザです

#!/bin/sh

function _oracleplus(){
su &# ...

Oracle

SQL構文

DECLARE PA_USER MEMBERTBL.USERNAME%TYPE; PA_ADDR MEMBERTBL.ADDRESS%TYPE; BEGIN SELECT USERNAME,ADDRESS INTO ...

jQuery

①htmlコード
<a id=”fileDL” href=”#” >ダウンロード
</a>

②JSコード
$(‘a ...

IT

ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
Webブラウザでの文字列の入力→キーストロークを暗号化→復号化してブラウザ に届く。
このとき、キーロガーが読み取 ...

IT

ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
ウイルスやスパイウェアなどのマルウェアを検出して駆除してくれます。 オートアップデート機能により、常に最新の状態でPCを保 ...