BLOG main image
분류 전체보기 (313)
교육 (13)
NEIS (6)
Edufine (0)
Programmer (5)
Android Programming (1)
Internet W3 (18)
JAVA Programming (9)
JSP/Servlet (1)
Framework (7)
Spring For Beginner (4)
eGovFrame (10)
MEAN Stack (2)
NodeJS (5)
SublimeText (30)
SublimeText_Tips (18)
Eclipse (16)
JavaScript (8)
jQuery (12)
jQuery_tips (1)
Ajax (3)
DWR(Direct Web Remote) (4)
JSON(JS Object Notation) (4)
Oracle (2)
MySQL (28)
OS (16)
Download (3)
Life (10)
Favorit Site (1)
Books (2)
Healthy (1)
Stocks (1)
HTML5/CSS (1)
Python (4)
Security (7)
CISSP (0)
Ruby On Rails (5)
일기장 (0)
영어 교과서(중2) (3)
알고리즘 (0)
Go Lang (3)
VB 2010 (12)
C# (1)
정보보안기사(네트워크보안) (0)
업무 활용 엑셀 (11)
틈틈이 활용팁 (14)
하루 하루 살아가며 ……. (2)
기술 (1)
파이썬 & 데이터분석 (1)
Visitors up to today!
Today hit, Yesterday hit
daisy rss
tistory 티스토리 가입하기!
2015. 7. 10. 07:18

 

 

  Sublime Text 3 Build 3083

 

Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance. Sublime Text is a cross-platform text and source code editor, with a Python application programming interface (API). Sublime Text is proprietary software. Its functionality is extendable with plugins. Most of the extending packages have free-software licenses and are community-built and maintained. Sublime Text lacks graphical setting dialogues and is entirely configured by editing text files.

 

 


Download

Sublime Text 3 is currently in beta. The latest build is 3083.

For notification about new versions, follow sublimehq on twitter.

Even more bleeding-edge versions are available in the dev builds.


Build 3083

Release Date: 26 March 2015
  • Fixed high CPU usage caused by a corrupt index. This was occuring for some users upgrading from 3065
  • Added setting index_workers to control the number of threads used for file indexing. By default the number of threads is based on the number of CPU cores. By setting index_workers to 1 or 2, indexing will be slower, but less intrusive
  • Fixed a crash when showing the Command Palette with an empty .sublime-build file
  • Tab completion no longer completes numbers. Edit/Show Completions can still be used for this

관련 동영상

How to activate sublime text 3 build 3083 (https://www.youtube.com/watch?v=y_LRkCcY1Tg)

 

HOW TO ACTIVATE:

1: Unpack rar arhive.
2: Install the Program
3: Lunch sublime text3  
4: Now Click on Help and find 'Enter License'. 
5:Click on 'Enter License' a white box will pop up
6:Now copy Any one license key and paste in white box, Hit Enter!
COPY FROM  {—– BEGIN LICENSE —– FROM —— END LICENSE ——}

 

## Sublime Text 3 Serial key build is 3176 >

* Added these lines into C:\Windows\System32\drivers\etc\hosts

127.0.0.1 www.sublimetext.com

127.0.0.1 license.sublimehq.com

 

* Used the license key

 

LICENCE KEY (Mouse Drag it) 활성화 안될경우 

hosts file 수정 후 할것

127.0.0.1    sublimetext.com

127.0.0.1    www.sublimetext.com

127.0.0.1    sublimehq.com

127.0.0.1    telemetry.sublimehq.com

127.0.0.1    license.sublimehq.com


3.2.2 build 3211 file


----- BEGIN LICENSE -----

Member J2TeaM

Single User License

EA7E-1011316

D7DA350E 1B8B0760 972F8B60 F3E64036

B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD

FA0A2ABE 25F65BD8 D51458E5 3923CE80

87428428 79079A01 AA69F319 A1AF29A4

A684C2DC 0B1583D4 19CBD290 217618CD

5653E0A0 BACE3948 BB2EE45E 422D2C87

DD9AF44B 99C49590 D2DBDEE1 75860FD2

8C8BB2AD B2ECE5A4 EFC08AF2 25A9B864

------ END LICENSE ------

반응형
2015. 7. 9. 17:33
먼저 window와 document 객체의 차이점 부터 알아보겠다.


- window는 document의 부모객체로서 브라우저 자체를 의미할 수 있으며 접근할 수 있는
자식객체로는 document, self, nvigator, screen, forms, history, location 등이 있다.

- document 객체는 트리형태의 HTML 을 접근할 수있는 객체다.

 


 

$(window).load(function(){

// code

});

⇒ 모든 include 되는 프레임들과 object들, 이미지까지 로드된 이후에 실행된다.

window를 로드하고 난 후 이후에 실행되는 코드들은 모든 객체나 프레임들,
이미지까지 로드한 이후에 실행되므로 document에서 제한된 작업을 진행할 수 있다.

단, 페이지의 로드타임만큼 사용자는 모니터앞에서 기다려야한다.


⇒ 문제점

- This only executes when the page has completely loaded, including all images

- It over-writes existing load or click handlers

- It leaks memory in IE 6

- Solving these problems requires cross-browser workarounds.

That's where libraries come in


 


 

$(document).ready(function(){

// code

});

⇒ 브라우저에서 DOM 트리를 생성하고난 후에 실행되게 되는 코드다.(DOM is ready)

즉, Dom에 대한 접근만이 자유로움.

아직 브라우저에서 다른 객체들이나 이미지들을 로드하지 않은 상황이므로 어떤 페이지를 사용자가

접근할 때 이미지에 대한 가공을 하려 한다면 실패하게 된다.


종합하자면,

외부자원이나 window 객체가 모두 로드되었을 때에 그 자원들을 가공할 필요가 있다면 $(window).load() 를 씀

그것이 아닌 브라우저에서 보이게 될 html 코드들에 대해서만 가공할 필요가 있다면 $(document).ready()를 사용하면 좋은 것 같다.

 

 

[출처] http://enterkey88.tistory.com/148

반응형
2015. 7. 9. 17:31

1. checked 여부 확인

 

$("input:checkbox[id='ID']").is(":checked") == true : false /* by ID */

$("input:checkbox[name='NAME']").is(":checked") == true : false /* by NAME */

 


2. checked/unchecked 처리

$("input:checkbox[id='ID']").attr("checked", true); /* by ID */

$("input:checkbox[name='NAME']").attr("checked", false); /* by NAME */


3. 특정 라디오버튼 선택 / 모든 라디오버튼 선택해제

 

$("input:radio[name='NAME']:radio[value='VALUE']").attr("checked",true);

$("input:radio[name='NAME']").removeAttr("checked");

전체선택 체크박스를 선택하면 그 아래의 모든 체크박스를 선택해주는 것을 만들어보자.

HTML 코드는 아래와 같이 체트박스 6개로 구성되어 있다..

<label><input type='checkbox' id='check_all' class='input_check' /> <b>전체선택</b></label>

<ul class='select_subject'>

<label><input type='checkbox' class='input_check' name='class[1]' value='1' /> <b>One</b></label>

<label><input type='checkbox' class='input_check' name='class[2]' value='2' /> <b>Two</b></label>

<label><input type='checkbox' class='input_check' name='class[3]' value='3' /> <b>Three</b></label>

<label><input type='checkbox' class='input_check' name='class[4]' value='4' /> <b>Four</b></label>

<label><input type='checkbox' class='input_check' name='class[5]' value='5' /> <b>Five</b></label>

</ul>

 

jQuery 코드는 다음과 같다.

$(function(){

$("#check_all").click(function(){

var chk = $(this).is(":checked");//.attr('checked');

if(chk) $(".select_subject input").attr('checked', true);

else $(".select_subject input").attr('checked', false);

});

});

 

결과화면

 

 

 

 

 

반응형
2015. 7. 9. 17:26

 

 

예전 예전에 prototype, Script.aculo.us, Dojo 등등 수많은 자바스크립트 프로토타입이 각축을 벌이던

시기가 있었는데 당시에는 상상하지 못했던 자바스크립트가 서버사이드에서도 두각을 벌이고

당시 자바스크립트 대전의 승자는 Jquery로 대세가 결정된듯해 보입니다.


전 prototype, Script.aculo.us에 한표를 던졌는데 .... 역시 대세를 수긍해야겠죠?


그 전쟁의 승자 jQuery2.0을 발표했습니다.

전 jQuery 신 버전을 항상 좋아하는데요 대게 검토를 해보면 대부분 jQuery 신버전의 수혜자에 속하기

때분입니다. 속력 향상/여러종류의 브라우저 지원/골치 썩히던 버그 수정같은 거죠


그래서 이번 2.0도 기쁜 마음으로 보던중 얼굴이 찌그러져 버렸습니다.

일단 2.0 릴리즈 자체는 좋습니다.

일단 1.9.1 대비 12퍼센트 용량이 줄어들었습니다.

jQuery 1.9 에서 업그레이드 가이드를 제공합니다.

바로가기: http://jquery.com/upgrade-guide/1.9/


문제는 IE 6 7 8 지원을 제거해버렸습니다. ㅠ.ㅠ 아놔~~~

IE 6,7,8이 지구에서 사라져야될 브라우저인건 진실이지만

jqeury가 지원을 안해버리면 어쩌라는겁니다.~~~~

다행히도 1.9를 지속적으로 지원하겠다고는 합니다.

아마도 제가 2.0을 사용할때는 구글 애널리틱스에서 IE 6,7,8 합쳐서 10%이하가 될때까지 기다려야되겠습니다.



IE 6,7,8이 없어지던지 아니면 Jqeury2.0은 구경만 하자~~

반응형
2015. 7. 9. 17:23

jQuery로 Checkbox를 선택하는 방법입니다. *^^*

다른 좋은 방법도 있지만 간단히 필터로 선택해 보았습니다.

▣ checkbox.html

 

<!DOCTYPE html>

<html>

<head>

<style>

body {

font-size: 12px;

}

</style>

<script src="http://code.jquery.com/jquery-latest.min.js"></script>

</head>

<body>

<form>

<input type="checkbox" name="test" checked/>1

<input type="checkbox" name="test" checked/>2

<input type="checkbox" />3

<input type="checkbox" name="test" checked/>4

<input type="checkbox" />5

<input type="hidden" />

</form>

<div id="count"></div>

<div id="check"></div>

<script>

var input = $("form input:checkbox");

$("#count").text("Checkbox Count = " + input.length);

$("#check").text("Checkbox Count [checked] = " + $('input:checkbox:checked').length);

</script>

</body>

</html>

 

 

▣ 페이지 로딩

 

반응형