Contents

1 tar
2 moniwiki latext 蠍 蟆 蟲
3 讌覓碁
4
5 IP谿/伎
6
7 豕蠏 覲蟆暑 蠍
8 .htaccess
9 一 佔
10 螻給 覦覯
11 覲願屋
12 蠍覿: 朱慨豺
13 IP襦 願鍵
14 蟲蠍 伎
15 貉 襯
16
17 觜貊 j鍵
18 Hello World
19 Menu
20 sas 蠏覿 襦 螳譴豺 伎 豸′ 願鍵
21
22 URL
23 襴れ 朱伎 轟 覓語 覦蠑瑚鍵
24 VB.NET
25 伎 糾
26 蠍?


1 tar #

tar cf moniwiki_20100216.tar moniwiki

moniwiki 蠍(font) 覦蠑瑚鍵..

http://moniwiki.kldp.net/wiki.php/MoniWiki%EB%AC%B8%EB%B2%95-%EA%B8%80%EC%94%A8%EC%83%89%EC%83%81%EC%A3%BC%EA%B8%B0

tar -czf 豢朱.tar.gz 豢襴覈
tar -xzf 豢朱.tar.gz

tar -czf /home/yasicom/backup_20161118.tar.gz /var/www/html

tar -czf /home/yasicom/backup_20160829.tar.gz /var/www/html/moniwiki/data/text

tar -czf /home/yasicom/text_backup_20161119.tar.gz /var/www/html/moniwiki/data/text

螻糾
df -h

谿剰鍵
find / -type f -size +20M | xargs du -h | sort -nr

襦蠏 殊 螳 譟一
echo "" > /var/log/httpd/access_log
echo "" > /var/log/httpd/error_log
echo "" > /var/log/httpd/error_log.3


2 moniwiki latext 蠍 蟆 蟲 #

yum install tetex
yum install ghostscript
yum install tetex-latex

3 讌覓碁 #

  • inner join螻 left join 焔レ姶願 螳?
  • '蟯螻 一危 覈' '蟯螻' 覓伎瑚?

4 #

vi /etc/httpd/conf/httpd.conf
service httpd restart

5 IP谿/伎 #

cd /var/www/html/moniwiki/data/
vi editlog

IP谿
iptables -A INPUT -s 123.141.239.11 -j DROP

IP谿 伎
iptables -A INPUT -s 123.141.239.11 -j ACCEPT

朱郁鍵
cat /dev/null > editlog

6 #

覈1覈2
伎1 蟇語 伎
伎2豌覯讌 覯讌


貂′
貂′ 企
1 1-1 1-2
1-3 1-4

7 豕蠏 覲蟆暑 蠍 #



8 .htaccess #

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?databaser.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?cloudingservice.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?cloudingservice.net[NC]
RewriteCond %{HTTP_REFERER} !search\.naver\.com [NC]
RewriteCond %{HTTP_REFERER} !search\.daum\.net[NC]
RewriteCond %{HTTP_REFERER} !search\.nate\.com [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteRule \.(jar|r|_xe|ppt|pptx|png|jpg|jpeg|gif|mp3|zip|tgz|gz|txt|css|exe|hw

SetEnvIfNoCase remote_addr 80.73.5. go_out
SetEnvIfNoCase remote_addr safehouse.dk go_out
Order Allow,Deny
Allow from all
Deny from env=go_out

9 一 佔 #

(Dotum) 豌 (DotumChe)
蟲企 (Gulim) 蟲企殊牡 (GulimChe)
覦 (Batang) 覦豌 (BatangChe)
蟠 (Gungsuh) 蟠豌 (GungsuhChe)
蟲企 (New Gulim) 襷 螻 (Malgun Gothic)

10 螻給 覦覯 #

  • 螻給襯 蠍 覈襯 語磯. 讌蠍 願 企ゼ螻給伎 讌襯 一碁慨螻 蠏瑚覿 .
  • 襭 觜讌 蟆 覓伎覲企 譴.
  • 企ゼ 蟲企 伎 覯襴 覯襴. 蠍磯蓋覓, 蠏碁Μ螻 蠍一 蟆壱螻 覲 蟲譟磯ゼ 襷 讌譴朱 螻給覃 伎 伎螳 觧 語碁り 蠏碁(豌) ル危.
  • j鍵螻給 讌襴蠍語 覦郁鍵. 磯殊 蟾蟆 .
  • 企ゼ 讀蟆. 企ゼ 豬覩 朱 蟆襷 譬 覦覯 .

11 覲願屋 #

  • 襦襷(螻襦 螳 襦襷旧 )
  • 覓語願屋 覦覯襦(焔ロ)
  • 覓語 るゴ
  • 覓語 襭 case
  • 朱一

12 蠍覿: 朱慨豺 #

1.618

1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987

13 IP襦 願鍵 #

http://www.webservicex.net/geoipservice.asmx/GetGeoIP?IPAddress=222.122.147.24

14 蟲蠍 伎 #

豺危螻襴
h 瑚鍵伎
w
b 觜讌
p
n
e
t 覲願骸
s ろ豸
h 蟇願


15 貉 襯 #

HandDescript    Occurrences PercentOccurred
-------------------------------------------
Nothing           1,303,701      50.162411%
Two of a Kind     1,098,481      42.266176%
Two Pair            123,259       4.742628%
Three of a Kind      54,955       2.114500%
Straight              9,095       0.349948%
Flush                 5,007       0.192654%
Full House            3,777       0.145327%
Four of a Kind          653       0.025125%
Straight Flush           24       0.000923%
Royal Flush               8       0.000308%
-------------------------------------------
GRAND TOTAL       2,598,960     100.000000%

16 #

bug.gif

17 觜貊 j鍵 #

  1. 16 * 16 曙蠍一 伎 襷.
  2. 蠏碁狩 *.bmp襦 讌 , favicon.ico襦
  3. HEAD蠏語 < LINK REL="SHORTCUT ICON" href="favicon.ico" >曙
  4. http://www.chami.com/html-kit/services/favicon/ 蠍一 襷る ..

18 Hello World #

谿碁.. 伎蟲螳 伎襴..

19 Menu #

20 sas 蠏覿 襦 螳譴豺 伎 豸′ 願鍵 #


proc reg data=sashelp.class;
model weight = height coffee /p;
weight weight覲;
run;


21 #

#include <iostream>

using namespace std;

void sort(int *a, int n)
{
 	int temp;
	for(int i = 0; i < n;i++)
	{
		for(int j = i+1; j < n;j++)
		{
			if(a[j] < a[i]) 
			{
				temp = a[i];
				a[i] = a[j];
				a[j] = temp;
			}
		}
	}
 }

int main(int argc, char *argv[])
{
 	int a[10] = {5,2,3,7,1,4,8,6,9,0};
	sort(a, 10);

	for(int i = 0; i <= 9; i++)
	{
		cout << a[i];
	}
	cout << endl;
	return 1;
}

22 URL #

23 襴れ 朱伎 轟 覓語 覦蠑瑚鍵 #

vi襦 覦一 襷れ..
for i in `grep '谿城覓語' * -R | cut -d : -f 1 | sort | uniq`; do 
sed 's/谿城覓語/覦蠖覓語/g' $i > tmp && mv tmp $i 
done 

chmod 777 譴れ..
./襦 ろ..

24 VB.NET #


讌 覦 螳  覦覯 覲伎. 覯 襦語  れ j  覲伎.

 

[1]  螳


' 螳
Dim ClickTime As Date
ClickTime = Date.Now    'Date襯 牛企 譬.
TextBox1.Text = ClickTime  '... 2004-03-21 ろ 1:33:21
TextBox1.Text = ClickTime.Year   '... 2004
TextBox1.Text = ClickTime.Month   '... 3
TextBox1.Text = ClickTime.Day    '... 21
TextBox1.Text = ClickTime.Date   '... 2004-03-21
TextBox1.Text = ClickTime.Hour   '... 13
TextBox1.Text = ClickTime.Minute   '... 33
TextBox1.Text = ClickTime.Second   '... 21
TextBox1.Text = ClickTime.Millisecond   '... 561

TextBox1.Text = ClickTime.DayOfWeek   '... 0(殊), 1(), ..., 6()
TextBox1.Text = ClickTime.DayOfYear   '... 81(11=1)

 

' 讌
Dim ClickTime As Date
ClickTime = Date.Today
TextBox1.Text = ClickTime  '... 2004-03-21
TextBox1.Text = ClickTime.Hour  '... 0 '讌危 覲企 .
TextBox1.Text = ClickTime.DayOfYear  '... 81

 

[2] 螳 襷り鍵


'螳覲 襷り鍵
Dim myTime As Date
myTime = New Date(2004, 3, 21)
myTime = New Date(2004, 3, 21, 13, 33, 21)
TextBox1.Text = myTime

 

[3] 螳 螳蟆


'螳覲 襷り鍵
Dim myTime1, myTime2 As Date

myTime1 = New Date(2004, 3, 21, 13, 33, 21)
myTime2 = New Date(2004, 3, 15, 4, 18, 33)

Dim TimeDiff As TimeSpan = myTime1.Subtract(myTime2)


TextBox1.Text = TimeDiff.ToString '6.09:14:48
TextBox1.Text = TimeDiff.Days '6
TextBox1.Text = TimeDiff.Hours '9
TextBox1.Text = TimeDiff.TotalHours  '153.246666666667

'蠍壱 Minutes, Seconds, Milliseconds  襷谿螳讌
'蟇郁掌襦 覃 螳 襷企り .

 

[4] 螳 螳螳


Dim myTime1, myTime2 As Date
myTime1 = New Date(2004, 3, 21, 13, 33, 21)
myTime2 = myTime1.AddYears(-2)
myTime2 = myTime2.AddMonths(5)
TextBox1.Text = myTime2    '...2002-08-21 ろ 1:33:21

 

るジ
Dim myTime1, myTime2 As Date
myTime1 = New Date(2004, 3, 21, 13, 33, 21)
myTime2 = myTime1.AddMonths(-22)
TextBox1.Text = myTime2    '...2002-05-21 ろ 1:33:21

 

[5] TimeSpan  螳 螳螳
Dim myTime1, myTime2 As Date
Dim TimeDiff = New TimeSpan(150, 0, 0, 0) '150
myTime1 = New Date(2004, 3, 21, 13, 33, 21)
myTime2 = myTime1.Add(TimeDiff)
TextBox1.Text = myTime2    '...2004-08-18 ろ 1:33:21

 

るジ
Dim myTime1, myTime2 As Date
Dim TimeDiff = New TimeSpan(150, 0, 0, 0) '150
myTime1 = New Date(2004, 3, 21, 13, 33, 21)
myTime2 = myTime1.Subtract(TimeDiff)
TextBox1.Text = myTime2    '...2003-10-23 ろ 1:33:21

 

[6] 襦 覲


Dim myTime1, myTime2 As Date
myTime1 = New Date(2004, 3, 21, 13, 33, 21)
myTime2 = New Date(2004, 3, 21, 13, 33, 22)
Dim X1 As Double = myTime1.ToOADate      '38067.5648263889
Dim X2 As Double = myTime2.ToOADate      '38067.564837963
TextBox1.Text = X2 - X1 '1.15740767796524E-05 = 0.0000115740
[豢豌] vb.net 讌 螳 蟯|煙 伎拘襭

25 伎 糾 #

<iframe src=http://databaser.net/moniwiki/bbclone/show_main.php?lng=ko
scrolling=auto marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0 height=400px width=100%></iframe>

26 蠍? #