[링크] How to use Selenium automation with HttpWatch and Chrome
How to use Selenium automation with HttpWatch and Chrome
How to use Selenium automation with HttpWatch and Chrome
http://starcraft.wikia.com/wiki/StarCraft_unit_quotations
https://www.youtube.com/watch?v=CmXttFgTCiM
InputStream in = getResources().openRawResource(R.raw.oss_license); StringBuilder sb = new StringBuilder(); Scanner sc = new Scanner(in); while (sc.hasNextLine()) { sb.append(sc.nextLine()).append(“\n”); } sc.close(); String contents = sb.toString(); * /res/raw 디렉토리에 있는 파일은 컴파일되지 않는다고 해서 raw 디렉토리를 별도로 생성하여 oss_license.txt 파일을 그 안에 넣어 둠. * /res/raw 디렉토리 안에 있는 파일을 읽을 수 있는 openRawResource() 메서드를 Android… Read More »
http://honeygil.tistory.com/62
먼저 찾아 놓은 창들이 계속 사라져서 짜증났었는데, 설정에서 변경 가능한 것을 확인했다. Eclipse > Window > Preferences > General > Search 에서 Reuse editors to show matches 의 체크박스를 해제 하면 된다.
윈도우 포트 사용 프로세스 확인
빔프로젝터 설치 DIY + HDMI분배기 + 나비앙카 + 몰딩이 있으면 완성! 나비앙카보다 천공직경이 작은 토우앙카 석고보드 벽 수리 천장 구멍 셀프 수리 문의드려요
https://support.apple.com/ko-kr/ht201236 * 프로그램 프로그램 종료: Command + Q * 에디터 End키 대용: Command 한 줄 끝까지 선택: Shift + Command + 방향키
(1) 회사 인터넷망에서 이클립스-메이븐 사용을 하려는데 아래와 같은 에러가 발생하였다. Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (2) 검색을 해 보니, 회사 인증서 같은 것을 jdk에 import 해야 한다고 하는데, 잘 모르겠고 너무나 귀찮은 작업… (3) 그래서… Read More »
– 출처: http://blog.naver.com/yagd_mirage/10042944461 – 정보 이론에서, 해밍 거리(해밍距離 , Hamming distance)는 같은 길이를 가진 두 개의 문자열에서 같은 위치에 있지만 서로 다른 문자의 개수이다. 즉, 한 문자열을 다른 문자열로 바꾸기 위해서 몇글자를 바꾸어야 하는지를 나타낸 것이다. 리처드 해밍이 제안했다. 컴퓨터 통신등에서 문자열의 전송 도중 몇 글자에서 오류가 났나를 측정하는 방법 중 하나이다. ‘1011101’과 ‘1001001’사이의 해밍 거리는 2이다. (1011101,… Read More »
일단 내 경우는 이랬다. – release 버전인데 signature 가 없을 경우 – signature 버전을 v2로 했을 경우 (이건 어떻게 해야 정상 처리되지?)
https://medium.com/@nomanr/constraintlayout-chains-4f3b58ea15bb
* file I/O 를 사용하는 작업이기 때문에 반복해서 실행하지는 않도록 하자. Resource resource = new ClassPathResource(“/my.properties”); Properties props = PropertiesLoaderUtils.loadProperties(resource);
<ScrollView xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:layout_height=”fill_parent” android:layout_width=”fill_parent” > <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:tag=”buttonParent” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:layout_editor_absoluteY=”81dp” tools:layout_editor_absoluteX=”0dp”> <!– ConstraintLayout 안에 TableLayout을 넣어 보았다 –> <TableLayout android:id=”@+id/tableLayout1″ android:layout_width=”0dp” android:layout_height=”wrap_content” app:layout_constraintLeft_toLeftOf=”parent” app:layout_constraintRight_toRightOf=”parent” app:layout_constraintTop_toTopOf=”parent” android:layout_marginTop=”10dp”> <TableRow android:id=”@+id/tableRow1″ android:layout_width=”match_parent” android:layout_height=”match_parent” android:padding=”5dip”> <TextView style=”@style/FormLabel02″ android:layout_width=”0dp” android:layout_height=”match_parent” android:layout_gravity=”center_vertical” android:layout_weight=”3″ android:gravity=”center_vertical|end” android:text=”호출 서버 : ” /> <RadioGroup xmlns:android=”http://schemas.android.com/apk/res/android” android:id=”@+id/rgSvr” android:layout_width=”0dp” android:layout_height=”wrap_content” android:orientation=”horizontal”… Read More »
탐새끼(^^)… 우상단의 설정 버튼(톱니바퀴) 클릭 후 ‘auto scroll from source’ 를 체크한다.
– package explorer 에 붙여넣으면 사라진다 (왜때문에??) – project explorer 에 붙여넣으면 보존된다. – 붙여넣은 후 git commit 을 해 보면 잘 들어왔는지 알 수 있다.
* 정의부 (MainActivity > Navigation Drawer 생성) protected void onCreate(Bundle savedInstanceState) { … Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); // actionbar 좌측에 뒤로가기 화살표 표시 DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); drawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); drawer.setDrawerListener(drawerToggle); drawerToggle.syncState(); NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); navigationView.setNavigationItemSelectedListener(this); … } * 정의부 (MainActivity > 뒤로가기… Read More »
인터넷에 널린 유사한 글들을 살짝 수정함. * 뒤로가기 핸들러 정의 package and.bruce.com.handler; import android.app.Activity; import android.content.pm.ApplicationInfo; import android.support.v4.app.ActivityCompat; import android.widget.Toast; import and.bruce.com.App; /** * 뒤로가기 버튼을 두 번 눌렀을 때 앱을 종료하게 하는 핸들러 */ public class BackPressCloseHandler { private long backKeyPressedTime = 0; private static final long checkInterval = 2000; private Toast toast;… Read More »
java package 이름을 android. 로 시작하게 하면 ButterKnife가 이를 거부하여 처리할 수 없다.