코팅부분을 블로그에 올릴 때 유용한 온라인 프로그램 - Online syntax highlighter like TextMate

Posted by 일빵
2018. 5. 17. 14:04 관련자료/유용한 프로그램

"Online syntax highlighter like TextMate"는 코딩 부분을 보기 좋게 바꿔주는 프로그램입니다.

설치 없이 웹 상에서 바로 작업 가능합니다.


http://markup.su/highlighter


사용 방법은 소스코드 부분을 복사해서 붙여넣기 한 다음에 언어랑 스타일을 선택하면 html 코드하고 미리보기 창이 나타납니다.


 

블로그에 적용하기 위해서는 "HTML code" 부분을 복사 후 HTML 모드에서 붙여넣기 하거나

"Preview" 부분을 복사헤서 편집기에 붙여넣기 하면 됩니다.


<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
        android:text="TextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/textView"
        android:layout_marginStart="16dp"
        android:layout_marginTop="16dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginLeft="16dp"
        android:layout_marginEnd="16dp"
        app:layout_constraintRight_toRightOf="parent"
        android:layout_marginRight="16dp" />

</android.support.constraint.ConstraintLayout>


기본적인 레이아웃 관련

Posted by 일빵
2018. 5. 17. 13:55 프로그래밍 구분/안드로이드

안드로이드에서 자주 사용하는 레이아웃과 관련된 글을 정리하면 다음과 같습니다.


1. 제약 레이아웃 - ConstraintLayout

android.support.constraint.ConstraintLayout

https://developer.android.com/reference/android/support/constraint/ConstraintLayout

https://developer.android.com/training/constraint-layout/

https://academy.realm.io/kr/posts/constraintlayout-it-can-do-what-now/

https://www.journaldev.com/13590/android-constraintlayout

입력 코드 및 결과


<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
        android:text="TextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/textView"
        android:layout_marginStart="16dp"
        android:layout_marginTop="16dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginLeft="16dp"
        android:layout_marginEnd="16dp"
        app:layout_constraintRight_toRightOf="parent"
        android:layout_marginRight="16dp" />

</android.support.constraint.ConstraintLayout>



2. 리니어 레이아웃 - LinearLayout


android.widget.LinearLayout


https://developer.android.com/reference/android/widget/LinearLayout


입력 코드 및 결과


3. 상대 레이아웃 - RelativeLayout


입력 코드 및 결과




4. 프레임 레이아웃 - FrameLayout


입력 코드 및 결과


5. 테이블 레이아웃 - TableLayout


입력 코드 및 결과

visual studio - Just-In-Time 디버깅을 활성화

Posted by 일빵
2016. 7. 19. 13:47 카테고리 없음

************** JIT 디버깅 **************

JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의

config 파일(machine.config)의 jitDebugging 값을 

system.windows.forms 섹션에 설정해야 합니다.

또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야

합니다.


예:


<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>


JIT 디버깅을 사용하면 처리되지 않은 모든 예외는

이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT 

디버거에 보내집니다.




출처 : https://msdn.microsoft.com/ko-kr/library/k8kf6y2a(v=vs.90).aspx


Just-In-Time 디버깅을 활성화/비활성화하려면


1. 도구 메뉴에서 옵션을 클릭합니다.


2. 옵션 대화 상자에서 디버깅 폴더를 선택합니다.


3. 디버깅 폴더에서 Just-In-Time 페이지를 선택합니다.


4. 다음 코드 형식에 Just-In-Time 디버깅 사용 상자에서 해당 프로그램 형식(관리, 네이티브 또는 스크립트)을 선택하거나 해제합니다.

활성화되어 있는 Just-In-Time 디버깅을 비활성화하려면 프로그램을 관리자 권한으로 실행해야 합니다. Just-In-Time 디버깅을 활성화하면 레지스트리 키가 설정되고 이 키를 변경하려면 관리자 권한이 있어야 합니다.


5. 확인을 클릭합니다.