StoryCode

'분류 전체보기'에 해당되는 글 563건

  1. VMWARE.macOS Catalina 설치.오류.디스크가 안보일경우 1
  2. 소스 코드 정리, Source
  3. Count, 카운트
  4. 설치
  5. 실수를 정수로 바꾸는 방법
  6. CSS1,2,3
  7. SQL Developer 설치
  8. AutoHotkey.좌표계
  9. 아래한글 ( HWP ) 텍스트 처리
  10. DJango Debug Toolbar

VMWARE.macOS Catalina 설치.오류.디스크가 안보일경우

OS 설치, VMWare 설치 관련
반응형

VM 에 Mac 설치시 디스크가 안보일경우, 

Mac 을 재 시작후

 

Erase 후에 다시 설치 시도하면 디스크가 나타남.

 

 

 

Erase 후에 다시 설치해보기

반응형

소스 코드 정리, Source

Web Dev, HTML, CSS, SVG, BootStrap/Tool
반응형

1. http://prettydiff.com/?m=beautify

   코드 정리 및 비교도 하고 최소화도 해줍니다.

 

2. http://jsbeautifier.org/

   몇가지 속성을 주어서 사용자 입맞에 맞게 코드를 정리할 수 있습니다.

3. http://tools.arantius.com/tabifier

   그냥 간단하게...

 

4. http://html.segio.com/ko/?shell=index.shell:0

   코드 정리라기 보다는 불필요한 태그등을 "미리보기"화면을 보면서 정리할 수 있는 사이트

 

5. http://www.dpriver.com/pp/sqlformat.htm

   SQL 코드를 정리해주는 사이트

반응형

Count, 카운트

JavaScript, ECMAScript
반응형

index.html
0.00MB
script.js
0.00MB
style.css
0.00MB

반응형

'JavaScript, ECMAScript' 카테고리의 다른 글

문법 기본  (0) 2020.10.07
자바스크립트 역사.  (0) 2020.09.21
실수를 정수로 바꾸는 방법  (0) 2020.03.04
Hoisting.호이스팅  (0) 2020.02.12
자바스크립트.변수.모니터링워처  (0) 2020.02.01

설치

Google, Flutter
반응형

1) https://flutter-ko.dev/docs/get-started/install/windows

 

2) bin 디렉토리를 PATH 추가

 

3) flutter 디렉토리에 flutter_console.bat 을 관리자 권한으로 실행

* 관리자 권한으로 실행하지 않으면 flutter 명령이 멈춘 상태로 가만히 있게 된다.

 

4) flutter_console> flutter doctor

안드로이드 SDK 설치에 [x] ,[!] 등등이 나오므로 안나오게 하자.

 

 

반응형

실수를 정수로 바꾸는 방법

JavaScript, ECMAScript
반응형

참조 : https://www.geeksforgeeks.org/how-to-convert-a-float-number-to-the-whole-number-in-javascript/

 

 

 

How to convert a float number to the whole number in JavaScript?

There are various methods to convert float number to the whole number in JavaScript.

  1. Math.floor (floating argument): Round off the number passed as parameter to its nearest integer in Downward direction.
    Syntax:Math.floor(value)

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 4.59;

       var x = 4.59;

       var z = Math.floor(x);

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 4.59 is 4
  2. Math.ceil (floating argument): Return the smallest integer greater than or equal to a given number.
    Syntax:Math.ceil(value)

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 4.59;

       var x = 4.59;

       var z = Math.ceil(x);

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 4.59 is 5
  3. Math.round (floating argument): Round a number to its nearest integer.
    Syntax:Math.round(var);

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 4.59;

       var x = 4.59;

       var z = Math.round(x);

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 4.59 is 5
  4. Math.trunc (floating argument): Return the integer part of a floating-point number by removing the fractional digits.
    Syntax:Math.trunc(value)

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 4.59;

       var x = 4.59;

       var z = Math.trunc(x);

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 4.59 is 4
  5. parseInt (floating argument): Accept the string and convert it into an integer.
    Syntax:parseInt(Value, radix)

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 3.54;

       var x = 3.54;

       var z = parseInt(x);

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 3.54 is 3
  6. double bitwise not (~~) operator: Round a number to towards zero. If the operand is a number and it’s not NaN or Infinity.
    Syntax:~~value

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 4.59;

       var x = 4.59;

       var z = ~~x;

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :


    Converted value of 4.59 is 4
  7. bitwise OR (|) operator: Round a number to towards zero.
    Syntax:var = value | 0;

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 5.67;

       var x = 5.67;

       var z = x | 0;

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 5.67 is 5
  8. Using shift (>>) operator: Round a number to towards zero.
    Syntax:var = value >> 0;

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 5.63;

       var x = 5.63;

       var z = x >> 0; 

       //it is same as we are dividing the value by 1.

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 5.63 is 5
  9. Using unsigned shift (>>>) operator Round a number to towards zero.
    Syntax:var = value >>> 0;

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 5.68;

       var x = 5.68;

       //it is same as we are dividing the value by 1.

       var z = x >>> 0; 

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 5.68 is 5
  10. By subtracting the fractional part
    Syntax:var = val - val%1;

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 5.48;

       var x = 5.48;

       var z = x - x%1;

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 5.48 is 5
  11. Using XOR (^) operator
    Syntax:var = value ^ 0;

    filter_none

    edit

    play_arrow

    brightness_4

    <script>

      //float value is 5.49;

       var x = 5.49;

       var z = x ^ 0;

       document.write("Converted value of " + x + " is " + z);

    </script>

    Output :

    Converted value of 5.49 is 5

 

반응형

'JavaScript, ECMAScript' 카테고리의 다른 글

자바스크립트 역사.  (0) 2020.09.21
Count, 카운트  (0) 2020.03.09
Hoisting.호이스팅  (0) 2020.02.12
자바스크립트.변수.모니터링워처  (0) 2020.02.01
한글 받침 구별법  (0) 2019.04.15

CSS1,2,3

Web Dev, HTML, CSS, SVG, BootStrap/CSS
반응형

반응형

SQL Developer 설치

Database 관리/Oracle
반응형

1) https://www.oracle.com/tools/downloads/sqldev-v192-downloads.html

 

 

반응형

'Database 관리 > Oracle' 카테고리의 다른 글

sql to csv  (0) 2020.04.07
IOT (Indexed Organized Table)  (0) 2020.02.11
NESTED TABLE Column  (0) 2020.02.11
Oracle.Client.SQLPlus.1x.Ubuntu21 설치 ( window, linux 방식 동일 )  (0) 2020.01.17

AutoHotkey.좌표계

사무
반응형

CoordMode 를 안쓰면 상대좌표계다.

 

절대좌표계를 쓰려면 아래와 같이 해줘야 한다.
CoordMode, Mouse, Screen

반응형

아래한글 ( HWP ) 텍스트 처리

Python, 파이썬
반응형

# 참조 1 : https://pypi.org/project/pyhwp/

# 참조 2 : https://pyhwp.readthedocs.io/ko/latest/

 

 

 

반응형

'Python, 파이썬' 카테고리의 다른 글

(작성중) Python.QT5.mathplotlib.막대그래프  (0) 2020.04.02
Application.PyQT5.Anaconda.PyCharm  (0) 2020.04.02
DJango Debug Toolbar  (0) 2020.02.17
디렉토리검색  (0) 2020.02.13
DJango 의 장점  (0) 2020.02.12

DJango Debug Toolbar

Python, 파이썬
반응형

https://github.com/jazzband/django-debug-toolbar

 

 

반응형

'Python, 파이썬' 카테고리의 다른 글

Application.PyQT5.Anaconda.PyCharm  (0) 2020.04.02
아래한글 ( HWP ) 텍스트 처리  (0) 2020.02.17
디렉토리검색  (0) 2020.02.13
DJango 의 장점  (0) 2020.02.12
DJango.ORM  (0) 2020.02.12