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を保 ...

Java

説明
1.public String format(DateTimeFormatter formatter)
指定されたフォーマッタを使用してこの日付/時間を書式設定します。
2.public static L ...

C++

サンプルコード

#include <stdio.h>int main( ) { char str; int i; printf( "Enter a value :"); scanf("%s %d", str, &am ...

JavaScript

1.htmlコード
<div>data 11</div>
data2 11
<div>test 12</div>
<button>削除< ...