본문 바로가기

전체 글345

[Windows] Hibernate 켜기 윈도우를 사용하게 되면 기본적으로 sleep만 사용 가능하고, hibernate 기능은 꺼져 있죠. 그런데, sleep 같은 경우는 이런저런 이유로 강제로 wake up 되는 경우가 자주 발생을 하더라고요. 그래서, sleep 보단 hibernate를 선호합니다. 하지만, 기본적으로는 off 상태라 사용을 하려면 몇 가지 작업을 해줘야 합니다. PowerShell을 administrator권한으로 실행을 시키고, 다음 명령어를 입력해 줍니다. $ powercfg /H ON Command Prompt에서도 동일하게 하시면 되요. 다음으로, Windows Settings 메뉴에서 System -> Power & sleep 메뉴로 갑니다. 여기서 Additional power settings 메뉴를 선택합니다.. 2022. 3. 8.
[Flutter] Getting Started on Android Studio Flutter is a cross-platform app development framework made by Google. Let's get started flutter on Android Studio. I'm going to use MAC. Installing Android Studio You can download it through the official homepage. https://developer.android.com/studio You can also download it through homebrew. $ brew install --cask android-studio Installing Flutter SDK Please refer to the previous post. 2022.02.2.. 2022. 2. 27.
[Flutter] Getting Started on VSCode Flutter is a cross-platform app development framework made by Google. Let's get started flutter on VSCode. Prerequisite Xcode has to be installed already. And, this command should be run in order to use the iOS simulator in VSCode. $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer $ sudo xcodebuild -license accept Installing VSCode You can download it through the official h.. 2022. 2. 27.
[Git] Tip: Using BeyondCompare4 as Diff Tool Prerequisite BC4(BeyondCompare 4)가 설치되어 있고, 환경변수에 등록이 되어 command line에서 사용이 가능해야합니다. Setting BC4를 git의 diff tool로 사용하기 위하여 등록을 해줍니다. $ git config --global diff.tool bc4 Usage 단순히 diff를 하게되면 파일 단위로 하기 때문에 사용에 불편함이 있습니다. 따라서, 전체 폴더 단위로 하도록 사용하는 편을 추천드립니다. $ git difftool --dir-diff 2022. 2. 23.
[Linux] Install Python using Source Prerequisites We need to gcc, openssl, bzip, and libffi. $ sudo yum install gcc openssl-devel bzip2-devel libffi-devel Download Python Download Python source from FTP storage via wget. $ cd /opt $ sudo wget https://www.python.org/ftp/python/3.x.x/Python-3.x.x.tgz Extract the Archive Python File $ sudo tar xzf Python-3.x.x.tgz Install Python $ cd Python-3.x.x $ sudo ./configure --enable-optimizat.. 2022. 2. 2.
Development on AWS EC2 through Termius and VSCode Create AWS EC2 Instance > Go to the console of AWS. https://console.aws.amazon.com/console/ > Select the Launch a virtual machine. > Select a machine that you want to use. I just select this machine. 😁 > Select instance type and click the Review and Launch button > Click Launch button > Create a new key pair for SSH. Input the name of the key pair and download it. You have to keep this file impo.. 2022. 1. 30.
[Python] Pandas Course on Kaggle - 6 This is the solution of pandas course (Renaming and Combining) on Kaggle site. 1. Rename Columns renamed = reviews.rename(columns={'region_1': 'region', 'region_2': 'locale'}) 2. Rename an Index reindexed = reviews.rename_axis('wines', axis='rows') 3. Combine Data Frames combined_products = pd.concat([gaming_products, movie_products]) 4. Combine Data Frames by Index powerlifting_combined = power.. 2022. 1. 22.
[Python] Pandas Course on Kaggle - 5 This is the solution of pandas course (Data Types and Missing Values) on Kaggle site. 1. Get Data Type of Column dtype = reviews.points.dtype # or dtype = reviews["points"].dtype 2. Change Data Type of Column point_strings = reviews.points.astype(str) # or point_strings = reviews.points.astype('str') # or point_strings = reviews["points"].astype(str) # or point_strings = reviews["points"].astype.. 2022. 1. 21.
[Python] Pandas Course on Kaggle - 4 This is the solution of pandas course (Grouping and Sorting) on Kaggle site. 1. Group by Column reviews_written = reviews.groupby('taster_twitter_handle').size() # or reviews_written = reviews.groupby('taster_twitter_handle') .taster_twitter_handle .count() # or reviews_written = reviews.groupby("taster_twitter_handle")[ "taster_twitter_handle" ].count() 2. Group by Column and Sort by Index best.. 2022. 1. 20.