그림 위에 기름종이를 덧씌워 연필로 배끼던 어린 시절이 생각납니다.
유사하게 Drawing 프로그램을 투명하게 만들어, 프로그램 창 뒤에있는 그림을 배낄 수 있게 환경을 만들어주는 프로그램을 소개합니다.

프로그램명: Transparent window for w2k
플랫폼: MS Windows
제작자: 개나소나 소프트팀
다운로드:

UI 및 사용법이 심플하여 누구나 쉽게 사용할 수 있는 장점이 있습니다.
AND

MySQL은  latin1으로 기본인코딩 설정이 되어있다.
따라서 html 및 php 파일등의 인코딩을 utf-8로 사용할 경우,
잘못된 인코딩으로 데이터가 표현될 수 있다.

MySQL은  /etc/my.cnf파일을 참조하게 되어있으며,
아래의 인코딩 설정을 통해 utf-8을 사용할 수 있다.


[mysql]   
default-character-set = utf8  
  
[mysqld]   
character-set-client-handshake=FALSE  
init_connect="SET collation_connection = utf8_general_ci"  
init_connect="SET NAMES utf8"  
default-character-set = utf8  
character-set-server = utf8  
collation-server = utf8_general_ci  
  
[client]    
default-character-set = utf8  
  
[mysqldump]    
default-character-set = utf8
AND


httpd.conf 파일안에 아래 위치에 진한 부분을 추가한다.
<IfModule mime_module>
    AddType application/x-httpd-php .php .php3 .inc .ph .htm .html
</IfModule>


완료후,
service httpd restart
AND


You have new mail in /var/mail/XXX

위와같은 메세지는 시스템상에서 자동으로 root 게정으로 메일을 보냈을때 나타난다.
이 메일을 확인하려면 아래와 같은 명령을 수행한다.

mail -f /var/mail/XXX

exit 또는 q 명령을 통해 종료할 수 있으며,
전체를 지우는 방법은 아래와 같은 명령을 통해 가능하다.

cat /dev/null > /var/mail/XXX
AND

안드로이드폰 화면을 MAC 또는 PC 에서 원격 제어하는 프로그램입니다.

기본적으로 루팅한 폰에서 사용 가능합니다.


기본 준비사항

  • JDK 설치
  • 안드로이드 SDK 설치
  • 안드로이드 rooting 
  •  phone device의 Mac/PC/Linux 에 연결



문제해결 1) 초기 연결이 아래와 같은 메세지를 띄우며 안될경우,


java.lang.RuntimeException: Timeout getting device list!

at net.srcz.android.screencast.Main.waitDeviceList(Ma in.java:86)

at net.srcz.android.screencast.Main.initialize(Main.j ava:37)

at net.srcz.android.screencast.Main.<init>(Main.java: 25)

at net.srcz.android.screencast.Main.main(Main.java:10 7)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sun.javaws.Launcher.executeApplication(Unknown Source)

at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)


android sdk 의  adb demon을 아래와 같이 실행시켜 주세요.

 

adb devices




문제해결 2) 초기 연결시 제어가 안되면, 아래와 같은 명령을 실행바랍니다.


chmod 777 /data/dalvik-cache





다운로드: http://code.google.com/p/androidscreencast/


Desktop app to control an android device remotely using mouse and keyboard. Should work on Windows/Linux/MacOS with any android device.

I've created a google groups HERE for support, no direct help request please.

Installation

  1. Install the android sdk (download here)
  2. Connect your device through USB cable and ensure it's detected with "adb devices"
  3. Make sure you have Java Runtime Environnement 5 or later installed
  4. Click HERE. You can launch it by typing "javaws <jnlp file>" from a command line.

Features

  • Mouse and keyboard control FOR ROOTED DEVICES ONLY
  • Landscape mode (right click)
  • Video recording
  • Basic file browser

Current limitations

  • Slow refresh rate (about 4-5 fps)
  • Not all keycode are mapped. See KeyMapping

Todo

  • Automatic screen rotation based on the device current state.
  • Improve speed
  • Audio redirection

AND

You can view the live stream of your Network IP Camera without connecting to the camera's login page first. That way it is possible to embed the live video stream directly into your web page.

Basically you can find the solution in the source code of this very web page. This is the portion of the HTML code which embeds the live video. Simply copy and paste this code into your own web page.

Please pay special attention to the yellow text!

<APPLET CODE=LoadJpg.class ARCHIVE=loadjpg.jar name=NCApplet
WIDTH=320 HEIGHT=260
CODEBASE = http://123.456.789.44/web/>
<PARAM NAME=FPS VALUE=30>
<param name=ImageTransferPort value=8080
>
<param name=HashingKey value=0>
<param name=ID value=guest>
<param name=PASSWORD value=guest>
<param name="VER_FLIP" value="0">
<param name="HOR_FLIP" value="0">

<param name="Timestamp" value="true">


</APPLET>

The BLUE parameters have to be adjusted.


CODEBASE = http://123.456.789.44/web/>
Replace the IP Address 123.456.789.44 by the IP Address of your camera.

You can also put in the domain name of your camera.
Example:
CODEBASE = http://mycamera.dyndns.org/>

In case you have changed the default webserver port of the camera from "80" to something else, i.E. 82, the address would be:
CODEBASE = http://123.456.789.44:82/>
or:
CODEBASE = http://mycamera.dyndns.org:82/>

Important Information about the two different versions of Network IP Camera!
The old camera (Barcode 550550, Firmware Version up to Version 0030-199) requires the following address:
CODEBASE = http://123.456.789.44/web/>

The current version (Barcode 550710) only works without the "/web/":
CODEBASE = http://123.456.789.44/>


<PARAM NAME=FPS VALUE=30> If you want to limit the bandwidth the camera uses you may reduce the value here. "30" refers to the maximum frame rate of 30 fps.
If you change that value to "2" then each visitor of your web page would only receive a maximum of 2 fps (frames per second).
Value "0.5" means: 1 frame every other second
Value "0.2" means: 1 frame every 5 seconds
Value "0.1" means: 1 frame every 10 seconds (example above)


<param name=ID value=guest> Username required to login. If you have disabled the guest account you will need to adjust the value here.

<param name=PASSWORD value=guest> Password required to login. If you have disabled or changed the guest account you will need to adjust the value here.


<param name=ImageTransferPort value=8080> Port 8080 is the default value. If you changed the image transfer port of your camera in the network settings you need to enter the new port number here. If you haven't changed anything you must leave the default value.
You have to make sure that the port is not being blocked by a firewall.


<param name="VER_FLIP" value="0"> Change this to value "1" in order to flip the image on your web page vertically.
<param name="HOR_FLIP" value="0"> Change this to value "1" in order to flip the image on your web page horizontally.



Do not use Microsoft Frontpage WebEditor to edit the page as it changes the code which may lead to unexpected results!

AND


I would like to bypass the login screen of the camera and embed the live video stream directly into my web site. How can that be done?



Live Stream on your web page using ActiveX
Instructions for current camera 550710 & UWN-210C

You can view the live stream of your 550710 Network Camera without connecting to the camera's login page first. That way it is possible to embed the live video stream directly into your web page.

Basically you can find the solution in the source code of this very web page. This is the portion of the HTML code which embeds the live video. Simply copy and paste this code into your own web page.

<object id='ImagN' width=0 height=0 classid='CLSID:5DA9D8E0-5A57-11CF-9E36-00C0930198C0'
CODEBASE = ./LNetCam.cab#version=4,0,0,0>
</object>

<object id='LNCActiveX' width=320 height=260 classid='CLSID:9C3EFB8A-DC20-484B-B905-5E337A988C5D'
CODEBASE = ./LNetCam.cab#version=1,0,0,9>
</object>

<script language="JavaScript">
document.LNCActiveX.IsVerticalFlip=false;
document.LNCActiveX.IsHorizontalFlip=false;
document.LNCActiveX.CameraIP = "123.123.123.123";
document.LNCActiveX.ImageWidth=320;
document.LNCActiveX.ImageHeight=240;
document.LNCActiveX.IsBehindFirewall=false;
document.LNCActiveX.FirewallAuthCheck=false;
document.LNCActiveX.HashingKey="0";
document.LNCActiveX.Id="guest";
document.LNCActiveX.PassWord="guest";
document.LNCActiveX.ImageTransferPort=8080;
document.LNCActiveX.Expansion=1.0;
document.LNCActiveX.MaxFrameRate=30;
d
ocument.LNCActiveX.TimeStamp=true;
</script>

The BLUE parameters have to be adjusted to your camera. Those values are pretty much self-explanatory. However, here're some additional comments for better understanding:

doVerticalFlip: Flips image vertically
false: no image flip
true: vertical image flip


doHorizontalFlip: Flips image horizontally
false: no image flip
true: horizontal image flip

CameraIP: Replace the IP Address by the IP Address of your camera

ImageWidth=320; Controls the Video Width, needs to be changed in <object> tag as well.

ImageHeight=240; Controls the Video Height, needs to be changed in <object> tag as well.

IsBehindFirewall: & FirewallAuthCheck:
false: The video stream uses the image transfer port
true: The video stream uses the web server port.
Setting both parameters to 'true' improves compatibility and is the recommended setting.


Id="guest"; Username required to login. If you have disabled the guest account you will need to adjust the value here.

PassWord="guest";
Password required to login. If you have disabled or changed the guest account you will need to adjust the value here.

ImageTransferPort=8080; Port 8080 is the default value. If you changed the image transfer port of your camera in the network settings you need to enter the new port number here. If you haven't changed anything you must leave the default value.

maxFrameRate=30; If you want to limit the bandwidth the camera uses you may reduce the value here. "30" refers to the maximum frame rate of 30 fps.
If you change that value to "2" then each visitor of your web page would only receive a maximum of 2 fps (frames per second).
Value "0.5" means: 1 frame every other second
Value "0.2" means: 1 frame every 5 seconds
Value "0.1" means: 1 frame every 10 seconds (example above)

TimeStamp=true; Display the time top of the live image. "False" = no time

AND

저는 연구실에서 윈도우 데스크탑에 애플키보드를 사용합니다.
이 윈도우 데스크탑과 맥북을 함께 사용할때, 데스크탑의 키보드와 마우스를 Synergy를 사용하여 맥북을 조작할 수 있습니다. 
주로 위도우 데스크탑은 Synergy 서버로, 맥북은 Synergy 클라이언트로 설정하여 사용합니다. 
이때 많은 분들이 데스크탑에 연결되어 있는 애플키보드의 command key와 alt key가 맥북에서는 반대로 작동하게 되는 문제를 겪게 됩니다.
이 키보드 맴핑 문제를 Synergy 서버상에서 다음과 같은 설정을 통해 해결 할 수 있습니다.

1. 윈도우 상에서 Synergy를 연다.
2. "Screen & Links" 옆의 Configure 버튼을 클릭한다.
3. 맥 클라이언트의 이름을 선택 후, Edit 버튼을 클릭한다.
4. Modifier 영역의 Alt를 Super로 변경, 반대로 Super를 Alt로 변경한다.
5. OK 버튼을 클릭 후 Synergy 서버를 재시작 한다.

AND

터미널상에서
아래 명령어를 입력한다.

defaults write -app ezplusForMac AppleLanguages "(ko)"
AND

수겸이 사진 1

Daily Life 2010. 5. 13. 11:40



AND