스탭코딩



What is Ethereum?



Ethereum is an open blockchain platform that lets anyone build and use decentralized applications that run on blockchain technology. Like Bitcoin, no one controls or owns Ethereum – it is an open-source project built by many people around the world. But unlike the Bitcoin protocol, Ethereum was designed to be adaptable and flexible. It is easy to create new applications on the Ethereum platform, and with the Homestead release, it is now safe for anyone to use those applications.


-       누구나 블록 체인 기술록 실행되는 분산된 애플리케이션을 구축하고 사용할 수 있는 개방형 블록 체인 플랫폼

-       오픈소스 프로젝트

-       적용도와 유연성이 높게 고안됨





출처

Ethereum Homestead Documentation

(http://www.ethdocs.org/en/latest/index.html)

Docs » Introduction » What is Ethereum?


* 대부분의 이클립스 버전에 동일하게 적용돼요.



1. 이클립스 실행 후 상단의 Window텝에서 preferences 클릭




2. General > Appearance 에서 Theme를 Dark로 설정해줍니다. 

요즘 버전은 에이터화면 배경이 자동으로 바뀌지만 예전 버전은 따로 설정해 줘야 바뀌니 에이터 화면이 다크 테마 적용안되신 분은 3번을 진행해주세요.





3. 에디터 배경화면 설정

General > Editors >Text Editors 에서 Background color 선택 > System Default 체크박스 해제 > 배경색 변경



셀렉트 박스에서 이미 선택된 값을 출력하고 변경을 못하게 하고 싶을때 쓰면 유용합니다.


* disabled를 사용하게 되면 폼데이터를 컨트롤러로 보낼 수 없게됩니다.

* 당연히 아래 코드를 사용하면 데이터를 보낼 수 있습니다 ^^


샘플예제 입니다.


1
2
3
4
5
6
7
8
9
10
11
12
<select name="fruit" id="fruit" readonly 
        style="background-color:#ababab" 
        onFocus="this.initialSelect = this.selectedIndex;" 
        onChange="this.selectedIndex = this.initialSelect;">
 
<option value=''>ALL</option>
 
<option value='apple' selected>apple</option>
 
<option value='banana'>banana</option>
 
</select>

cs



selected 옵션의 apple이 기본으로 출력되고 다른 선택옵션을 클릭해도 변경되지 않습니다.