2010년 1월 20일 수요일

Document Class 자동완성쓰기.


FDT나 Flex에서 Fla에 있는

객체를 참조 해서 쓸경우 문법은 오류가 없지만,

에디터에선 오류로 인식.

플래시가 주업이 아니라.. 예전에 찾았다가 다시 하려니까 또 까먹어서 메모. -_-


fla에 my_mc 라는 MovieClip 이 있는 경우..

에디터에서

      public var my_mc:MovieClip;

선언 해주면 끝..

2010년 1월 7일 목요일

잠재적 위험이 있는 Request.Form 값을 발견했습니다.


Page
------------------------------------------------------
validateRequest=false


MVC
------------------------------------------------------
[ValidateInput(false)]

2009년 12월 23일 수요일

ExtJs xtype List.

xtype            Class

------------- ------------------

box Ext.BoxComponent

button Ext.Button

buttongroup Ext.ButtonGroup

colorpalette Ext.ColorPalette

component Ext.Component

container Ext.Container

cycle Ext.CycleButton

dataview Ext.DataView

datepicker Ext.DatePicker

editor Ext.Editor

editorgrid Ext.grid.EditorGridPanel

flash Ext.FlashComponent

grid Ext.grid.GridPanel

listview Ext.ListView

panel Ext.Panel

progress Ext.ProgressBar

propertygrid Ext.grid.PropertyGrid

slider Ext.Slider

spacer Ext.Spacer

splitbutton Ext.SplitButton

tabpanel Ext.TabPanel

treepanel Ext.tree.TreePanel

viewport Ext.ViewPort

window Ext.Window



Toolbar components

---------------------------------------

paging Ext.PagingToolbar

toolbar Ext.Toolbar

tbbutton Ext.Toolbar.Button (deprecated; use button)

tbfill Ext.Toolbar.Fill

tbitem Ext.Toolbar.Item

tbseparator Ext.Toolbar.Separator

tbspacer Ext.Toolbar.Spacer

tbsplit Ext.Toolbar.SplitButton (deprecated; use splitbutton)

tbtext Ext.Toolbar.TextItem



Menu components

---------------------------------------

menu Ext.menu.Menu

colormenu Ext.menu.ColorMenu

datemenu Ext.menu.DateMenu

menubaseitem Ext.menu.BaseItem

menucheckitem Ext.menu.CheckItem

menuitem Ext.menu.Item

menuseparator Ext.menu.Separator

menutextitem Ext.menu.TextItem



Form components

---------------------------------------

form Ext.FormPanel

checkbox Ext.form.Checkbox

checkboxgroup Ext.form.CheckboxGroup

combo Ext.form.ComboBox

datefield Ext.form.DateField

displayfield Ext.form.DisplayField

field Ext.form.Field

fieldset Ext.form.FieldSet

hidden Ext.form.Hidden

htmleditor Ext.form.HtmlEditor

label Ext.form.Label

numberfield Ext.form.NumberField

radio Ext.form.Radio

radiogroup Ext.form.RadioGroup

textarea Ext.form.TextArea

textfield Ext.form.TextField

timefield Ext.form.TimeField

trigger Ext.form.TriggerField



Chart components

---------------------------------------

chart Ext.chart.Chart

barchart Ext.chart.BarChart

cartesianchart Ext.chart.CartesianChart

columnchart Ext.chart.ColumnChart

linechart Ext.chart.LineChart

piechart Ext.chart.PieChart



Store xtypes

---------------------------------------

arraystore Ext.data.ArrayStore

directstore Ext.data.DirectStore

jsonstore Ext.data.JsonStore

simplestore Ext.data.SimpleStore (deprecated; use arraystore)

store Ext.data.Store

xmlstore Ext.data.XmlStore

2009년 12월 11일 금요일

Google Goggles.

 

구글에서 안드로이드용 검색 App 을 개발한듯 하다.

 

정확한 표현을 하기 힘들지만..

 

아이폰의 증강 현실도 얼마 안있으면 안드로이드에서도 가능할듯하다.

 

안드로이드는 구글의 막강한 검색 엔진을 이용하여,

 

이미지를 통한 웹 검색을 하는듯하다..

 

이제 세계 모바일 시장은

 

 

심비안 > 안드로이드 => 아이폰 >>> WM

 

 

정도가 되지 않을까 싶다. (그래서 android 카테고리도 만들었다?)

 

 

 

 

 

 

2009년 12월 2일 수요일

X1 - Tmap 저장소 카드 변경 파일

출처 : http://cafe.naver.com/bjphone/485637

 

12월 1일 부로 올인원 요금제를 이용하는 고객에게

 

TMAP 이 무료다.

 

근데 X1 순정롬에선 설치가 되지만, 해외롬이나 기타롬에서는

 

설치가 안된다. 이유는 메모리의 해당하는 폴더 이름이

 

"저장소 카드" 로 Tmap은 설치 경로를 잡기 떄문이다.. 이게 뭔지 참.. -_-;

 

저장소 카드가 없으면 "Storage Card" 폴더를 찾도록 하면 되지..

 

그리고 굳이 한글로 "저장소 카드" 라는 폴더를 만들어 놓는지도 의문..

 

일부 프로그램에선 호환안되는..

 

그럼 Windows 폴더도 "윈도우즈" 라고 다 바꾸던가 :)

 

 

스마트 폰 카페에서 TMAP 설치 경로를 Storage Card 로 변경 해주는 파일을 올려주셨다.

 

첨부파일 다운후, 로컬에 Tmap 이 깔린 폴더에 덮고, TransferCab.exe 실행하면된다.

 

 

 

잘 설치 하셨으면, 출처의 해당 자료를 제공해 주신 분에게 감사의 댓글을...

 

 

2009년 11월 17일 화요일

2009년 11월 12일 목요일

JQuery 와 다른 라이브러리 충돌시.

http://docs.jquery.com/Using_jQuery_with_Other_Libraries



Using jQuery with Other Libraries

From jQuery JavaScript Library

Jump to: navigation, search

Contents

General

The jQuery library, and virtually all of its plugins are constrained within the jQuery namespace. As a general rule, "global" objects are stored inside the jQuery namespace as well, so you shouldn't get a clash between jQuery and any other library (like Prototype, MooTools, or YUI).

That said, there is one caveat: By default, jQuery uses "$" as a shortcut for "jQuery"

Overriding the $-function

However, you can override that default by calling jQuery.noConflict() at any point after jQuery and the other library have both loaded. For example:

 <html>
<head>
<script src="prototype.js"></script>
<script src="jquery.js"></script>
<script>
jQuery.noConflict();

// Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery("div").hide();
});

// Use Prototype with $(...), etc.
$('someid').hide();
</script>
</head>
<body></body>
</html>

This will revert $ back to its original library. You'll still be able to use "jQuery" in the rest of your application.

Additionally, there's another option. If you want to make sure that jQuery won't conflict with another library - but you want the benefit of a short name, you could do something like this:

 <html>
<head>
<script src="prototype.js"></script>
<script src="jquery.js"></script>
<script>
var $j = jQuery.noConflict();

// Use jQuery via $j(...)
$j(document).ready(function(){
$j("div").hide();
});

// Use Prototype with $(...), etc.
$('someid').hide();
</script>
</head>
<body></body>
</html>

You can define your own alternate names (e.g. jq, $J, awesomeQuery - anything you want).

Finally, if you don't want to define another alternative to the jQuery name (you really like to use $ and don't care about using another library's $ method), then there's still another solution for you. This is most frequently used in the case where you still want the benefits of really short jQuery code, but don't want to cause conflicts with other libraries.

 <html>
<head>
<script src="prototype.js"></script>
<script src="jquery.js"></script>
<script>
jQuery.noConflict();

// Put all your code in your document ready area
jQuery(document).ready(function($){
// Do jQuery stuff using $
$("div").hide();
});

// Use Prototype with $(...), etc.
$('someid').hide();
</script>
</head>
<body></body>
</html>

This is probably the ideal solution for most of your code, considering that there'll be less code that you'll have to change, in order to achieve complete compatibility.

Also see: Custom Alias

Including jQuery before Other Libraries

If you include jQuery before other libraries, you may use "jQuery" when you do some work with jQuery, and the "$" is also the shortcut for the other library. There is no need for overriding the $-function by calling "jQuery.noConflict()".

 <html>
<head>
<script src="jquery.js"></script>
<script src="prototype.js"></script>
<script>
// Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery("div").hide();
});

// Use Prototype with $(...), etc.
$('someid').hide();
</script>
</head>
<body></body>
</html>

Referencing Magic - Shortcuts for jQuery

If you don't like typing the full "jQuery" all the time, there are some alternative shortcuts:

  • Reassign jQuery to another shortcut
    • var $j = jQuery;
    • (This might be the best approach if you wish to use different libraries)
  • Use the following technique, which allows you to use $ inside of a block of code without permanently overwriting $:
    • (function($) { /* some code that uses $ */ })(jQuery)
    • Note: If you use this technique, you will not be able to use Prototype methods inside this capsuled function that expect $ to be Prototype's $, so you're making a choice to use only jQuery in that block.
  • Use the argument to the DOM ready event:
    • jQuery(function($) { /* some code that uses $ */ });
    • Note: Again, inside that block you can't use Prototype methods

2009년 10월 7일 수요일

RD Tab 2.1.21

 

최근 자주쓰게 되는 Windows Remote Desktop 가 기본 유틸이 허졉해서

 

찾아보니 RD Tab 이라는 좋은 탭 유틸이 있어서 사용해보니

 

기본보다 많이 좋음.

 

 

 

 

RD Tab 2.1.21

 

 

최신버젼을 원한다면? http://www.avianwaves.com/Tech/Tools/RDTabs/

2009년 9월 22일 화요일

WinTail 3.4



WinTail 3.4


윈도우용 Tail 입니다. unix 운영체제에서 사용하던 것 처럼 편리하게 이용할수 있습니다.

GOOD~~




2009년 9월 17일 목요일

간단한 Stored Procedure 예제.


Oracle Store Procedure 를 사용하게 되어서, 처음으로 SP를 사용해 보았다.
아래는 아주 간단한 예제..
예제를 쉽게 만들어서 이해 하기 아주 쉬울꺼라고 생각한다..
좀더 응용적인건 계속 추가 예정..

create table MEMBER(
  id         varchar2(12)      primary key,
  name    varchar2(10)      not null
)

insert into MEMBER values('taesuz', '조태수');

create or replace
procedure hello_proc( in_id IN VARCHAR2, out_name OUT VARCHAR2 )
is
  begin
    select name INTO out_name from MEMBER
    where id=in_id;
    dbms_output.put_line( out_name );

EXCEPTION
  WHEN NO_DATA_FOUND THEN
    out_name:='NO_DATA_FOUND';
end hello_proc;


실행:

VARIABLE name varchar2(10);
execute hello_proc('taesuz', :name);
print name;

 

결과값:

name
---
조태수


2009년 9월 15일 화요일

Microsoft Office for Mac SP2 Serial

   from : http://paste2.org/p/359169



    Microsoft Office 2008 for Mac
    
    NEW Serials ~ Support SP2:
    
    PCVGG-GBCF3-72PW4-GRMFK-Q7DD3
    W339P-JRCPB-XX8XD-YK49M-7DYCW
    FWCQQ-3XX2G-3CD89-4VRJK-CR4YD
    WG667-BW4JP-M8KXV-CVPQD-6J49J
    QCDK8-9P4FC-8P6D4-QC22F-TT468
    JKQK8-KKDG8-2T729-TCKY8-3XJ8Q
    GHRHF-PMKVD-VWCGF-WQTCT-CGKJY
    GK46R-PT7KB-VCHGB-QDCQV-VYTGT
    Q8WDK-VD4YV-MXTT8-KYPPC-YPYMM
    TRHH8-F6P34-DBY2Q-BMQBT-RMMJ8
    RJCW4-K4388-GMYXY-YKQWX-2BVQJ
    FM9RP-GQ6XV-H8JCB-X9BMF-H2WF8
    GW7Y6-F977W-7Y6YD-82FJG-29C4Y
    DP87B-DXX8G-24TKP-PRTPF-VBTT3
    CC9CH-DT9DP-JD6R6-XWXBD-HQP8Y
        
        
    OLD Serials (blocked by SP2):
    
    MCX6K-J8YQP-CGMTM-X3XQ8-K6KDY
    RMG8D-KP8WT-DBCDV-QVRD2-V3WQY
    QYGR3-CJWQM-9HK4T-WX32G-F7XVM
    VTJG8-94R7P-RTQVT-8CK98-79THM
    J3JT3-8J2PM-VMYD8-8WT9X-BCM7M
    XH4P8-PQ2KW-JDM9P-YW2BV-PCF3Y
    TTTCG-JRGVX-R3J29-2XRG2-GP6BB
    DV4XH-WWB2F-9BGX2-WR82D-JGWBB
    PQRFY-VCW3V-8MBF4-2H8Y8-KDBBB
    FR7YV-P38TR-83V4C-G2RXD-VTF3Y
    
  Reactivate ~ Remove/Renew Serial:
    Delete these 2 .plist files:
    ./Users/username/Library/Preferences/Microsoft/Office 2008/Microsoft Office 2008 settings.plist
    ./Applications/Microsoft Office 2008/Office/OfficePID.plist

NodLogin 10b 32/64bit

 

NOD32 업데이트를 도와주는 NodLogin 입니다.

 

 

2009년 9월 8일 화요일

log4sql Query 의 대한 모든것을 보여준다.


http://log4sql.sourceforge.net/index_kr.html

개발시 쿼리 부분에 대한 것을 적나라 하게 보여준다.

필수 라이브러리라고 생각이 듬..

 

JDBC TYPE Origin Your Driver Class -> log4sql Driver Class
[ORACLE DRIVER CLASS] 'oracle.jdbc.drirver.OracleDriver' -> 'core.log.jdbc.driver.OracleDriver'
[MYSQL DRIVER CLASS] 'com.mysql.jdbc.Driver' or'org.gjt.mm.mysql.Driver' -> 'core.log.jdbc.driver.MysqlDriver'
[SYBASE DRIVER CLASS] 'com.sybase.jdbc2.jdbc.SybDriver' -> 'core.log.jdbc.driver.SybaseDriver'
[DB2 DRIVER CLASS] 'com.ibm.db2.jcc.DB2Driver' -> 'core.log.jdbc.driver.DB2Driver'
[INFOMIX DRIVER CLASS] 'com.informix.jdbc.IfxDriver' -> 'core.log.jdbc.driver.InfomixDriver'
[POSTGRESQL DRIVER CLASS] 'org.postgresql.Driver' -> 'core.log.jdbc.driver.PostgresqlDriver'
[MAXDB DRIVER CLASS] 'com.sap.dbtech.jdbc.DriverSapDB' -> 'core.log.jdbc.driver.MaxDBDriver'
[FRONTBASE DRIVER CLASS] 'com.frontbase.jdbc.FBJDriver' -> 'core.log.jdbc.driver.FrontBaseDriver'
[HSQL DRIVER CLASS] 'org.hsqldb.jdbcDriver' -> 'core.log.jdbc.driver.HSQLDriver'
[POINTBASE DRIVER CLASS] 'com.pointbase.jdbc.jdbcUniversalDriver' -> 'core.log.jdbc.driver.PointBaseDriver'
[MIMER DRIVER CLASS] 'com.mimer.jdbc.Driver' -> 'core.log.jdbc.driver.MimerDriver'
[PERVASIVE DRIVER CLASS] 'com.pervasive.jdbc.v2.Driver' -> 'core.log.jdbc.driver.PervasiveDriver'
[DAFFODILDB DRIVER CLASS] 'in.co.daffodil.db.jdbc.DaffodilDBDriver' -> 'core.log.jdbc.driver.DaffodiLDBDriver'
[JDATASTORE DRIVER CLASS] 'com.borland.datastore.jdbc.DataStoreDriver' -> 'core.log.jdbc.driver.JdataStoreDriver'
[CACHE DRIVER CLASS] 'com.intersys.jdbc.CacheDriver' -> 'core.log.jdbc.driver.CacheDriver'
[DERBY DRIVER CLASS] 'org.apache.derby.jdbc.ClientDriver' -> 'core.log.jdbc.driver.DerbyDriver'
[ALTIBASE DRIVER CLASS] 'Altibase.jdbc.driver.AltibaseDriver' -> 'core.log.jdbc.driver.AltibaseDriver'
[MCKOI DRIVER CLASS] 'com.mckoi.JDBCDriver' -> 'core.log.jdbc.driver.MckoiDriver'
[JSQL DRIVER CLASS] 'com.jnetdirect.jsql.JSQLDriver' -> 'core.log.jdbc.driver.JsqlDriver'
[JTURBO DRIVER CLASS] 'com.newatlanta.jturbo.driver.Driver' -> 'core.log.jdbc.driver.JturboDriver'
[JTDS DRIVER CLASS] 'net.sourceforge.jtds.jdbc.Driver' -> 'core.log.jdbc.driver.JTdsDriver'
[INTERCLIENT DRIVER CLASS] 'interbase.interclient.Driver' -> 'core.log.jdbc.driver.InterClientDriver'
[PURE JAVA DRIVER CLASS] 'org.firebirdsql.jdbc.FBDriver' -> 'core.log.jdbc.driver.PureJavaDriver'
[JDBC-ODBC DRIVER CLASS] 'sun.jdbc.odbc.JdbcOdbcDriver' -> 'core.log.jdbc.driver.JdbcOdbcDriver'
[MSSQL 2000 DRIVER CLASS] 'com.microsoft.jdbc.sqlserver.SQLServerDriver' -> 'core.log.jdbc.driver.MssqlDriver'
[MSSQL 2005 DRIVER CLASS] 'com.microsoft.sqlserver.jdbc.SQLServerDriver' -> 'core.log.jdbc.driver.Mssql2005Driver'

2009년 9월 2일 수요일

Java Properties 사용.

 

Java 설정 파일로 많이 쓰이는 Properties 사용법

 

String openProp = request.getRealPath("/taesuz/") + "/taesuz.properties";
try{
 Properties props = new Properties();
 props.load( new FileInputStream( openProp ));
 props.setProperty("type", type );

 FileOutputStream fos = new FileOutputStream( openProp );
 
 props.save(fos, "open type change");
 
 out.println( "open type change: " + type );
 
} catch (IOException ioe){
 out.println( ioe );
 
} catch (Exception e){
 out.println( e );
}

2009년 8월 28일 금요일

Snow Leopard Java 관련 문제들..



1.6 10432A 업데이트 후

MyEclipse 에서 Tomcat 설정 후

톰캣이 JDK 관련 오류를 내뱉고 있었다.

원인이 무언고 하니..


1.6 으로 넘어가면서 64비트가 기본으로 잡혀있어서 발생한 문제?

32비트로 전환해주니 아주 잘된다 흠..