전체 글

전체 글

    vscode git 깃허브 연동

    기본 스토리지 초기화 > 깃허브 스토리지 생성 > 메인 이름을 master 로 변경/ // 다른방법 초기화 없이 바로 깃허브 연결하기 // 이미 연결된 저장소 지우기 git remote rm origin 1번 git remote add origin + 링크 2번 git pull origin master --allow-unrelated-histories //필수 필수 필수 처음 이걸 안해주면 오류남 오리진은 필수고 마스터는(메인으로 변경될 수 있음) 3번 git push -u origin master //마스터가 메인으로 변경될 수 있음 최종 푸쉬

    폰트 구글 마테리얼 라이브러리 사용법

     fonts.google.com/icons?selected=Material+Icons developers.google.com/fonts/docs/material_icons Material Icons Guide | Google Fonts | Google Developers An overview of material icons—where to get them and how to integrate them with your projects. What are material icons? Material design system icons are simple, modern, friendly, and sometimes quirky. Each icon is created using our design guideli..

    css 애니메이션 라이브러리 사용법

    $ npm install animate.css --save 설치 또 는 링크첨부 .클래스 { display: inline-block; margin: 0 0.5rem; animation: bounce; /* 애니메이션 이름 필수 */ animation-duration: 2s; /*시전 시간 필수 */ animation-duration : 한 싸이클의 애니메이션이 얼마에 걸쳐 일어날지 지정합니다. animation-delay :엘리먼트가 로드되고 나서 언제 애니메이션이 시작될지 지정합니다. animation-direction : 애니메이션이 종료되고 다시 처음부터 시작할지 역방향으로 진행할지 지정합니다. animation-iteration-count : 애니메이션이 몇 번 반복될지 지정합니다. infinit..

    css 스킬 모음

    꽉찬화면 *{ margin: 0; padding: 0; box-sizing: border-box; } 마우스 반응 색변화 .container .nav ul li a:hover { color: #1fdfdf; } //태그 옆에 : hover 백그라운드 불투명 이미지 삽입 width: 100%; height: 100vh; background: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),url(./images/room.jpg); css 폰트 불러오기 @font-face { font-family: abster; // 사용자지정 이름 src: url(font/abster-webfont.woff) format('woff'); css폰트 사용하기 color: white; ..

    html풀스크린 무한반복자동재생 코드

    .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

    html 유튜브 링크 영상자동재생 삽입 코드

    --> 무한반복 재생으로 바꾸는법 : autoplay=1&mute=1&playlist=mxm5-mkj-90&loop=1" playlist="mxm5-mkj-90" -< 영상 아이디값

    코드펜 사용요령

    hover - 마우스를 갖다대었을 때 변하는 효과 button - 버튼 종류 sticky - 따라다니는 네비게이션 메뉴 같은 종류 layout - 웹페이지의 기본이 되는 레이아웃 종류 gooey - 물컹물컹한 효과를 지닌 버튼이나 메뉴 slider - 홈페이지 메인에 주로 쓰이는 슬라이더, carousel라는 표현도 자주 쓰인다 infinite scroll - 무한 스크롤 media card - 포스트를 담은 카드 썸네일 메뉴

    인텔리제이 JAVA if문,while문 예제

    String A = "안녕하세요"; if(A=="안녕하세요"){ System.out.println("반갑습니다"); } else { System.out.println("안녕못합니다"); } while(A == "안녕하세요"){ System.out.println("반가워요"); break; } int a = 1; int b = 2; int c = 3; if(a==1 || a==0){ if(a==1 && b ==2) { if(a==1 || b == 10) { System.out.println("or 연산자 성공"); } } }

    인텔리제이 단축키 메모장

    System.out.println() = sout

    인텔리제이 JAVA try catch (예외처리)

    public class javastudy { public static void main(String[] args) { int intarray []= new int[5]; //012345 try { intarray[3] = 10; intarray[6] = 1; //인덱스 초과 할당 } catch (Exception e) // try 문 오류시 실행 { e.printStackTrace(); //문제 찾기 System.out.println("배열 범위 초과"); System.exit(0); } System.out.println("프로그램이 끝났어요"); } }

    안드로이드 스튜디오 shared preferences 예시(뒤로가기 저장)

    선언 EditText et_save; String shared = "file"; @Override//종료시 값 저장 protected void onDestroy() { super.onDestroy(); SharedPreferences sharedPreferences = getSharedPreferences(shared,0); SharedPreferences.Editor editor = sharedPreferences.edit(); String value = et_save.getText().toString(); editor.putString("힌트",value); editor.commit(); } 시작 et_save = (EditText)findViewById(R.id.et_save); //재 시작시 저장..

    안드로이드 스튜디오 화면전환(intent)

    메인화면에서 리스트 버튼 클릭시 리스트 뷰 엑티비티로 이동 list_btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(getApplicationContext(),ilstview.class); startActivity(intent); } });