- Set an environment variable called
CMDER_ROOTto your root Cmder folder (in my caseC:\Program Files (x86)\Cmder). It seems to be important that this does not have quotes around it because they mess with concatenation in the init script. - In your IntelliJ terminal settings, use
"cmd" /k ""%CMDER_ROOT%\vendor\init.bat""as the Shell path. The double-double-quotes are intentional, as they counteract the missing double quotes in the environment variable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sử dụng kiểu xuống dòng LF thay vì CRLF trong Git | |
| Không ít lần project có cấu hình eslint gặp lỗi Expected linebreaks to be 'LF' but found 'CRLF'. Lỗi này thực sự dẫn đến sự bế tắc khi lần đầu gặp phải. Tại sao lập trình trên windows cứ hay gặp mấy vấn đề dễ gây bối rối như vậy? Shit… chê tí thôi chứ dùng MacOS hay Linux thì đừng mơ chơi đc PUBG Mobile giả lập. | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf | |
| Gõ 2 dòng lệnh trên vào bất cứ CLI tool nào bạn có (powershell, cmd, terminal…). Done! | |
| Giải ngố 1 chút: | |
| core.autocrlf là để tự động sử dụng CRLF cho các file mới được tạo hoặc sau khi git add |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Mô tả | |
| Xây dựng trang web quản lý timesheet với các mô tả nghiệp vụ như sau: | |
| 1.1, Có 2 loại người dùng cơ bản: quản trị viên và nhân viên | |
| 1.2, Mỗi timesheet có các nội dung như sau: | |
| - Ngày (ví dụ 2018-08-14) | |
| - Các công việc đã làm trong ngày (multiple line). Mỗi line có dạng: | |
| - Task ID (nếu không có thì để là "N/A") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Preferences > General > Edittor > AnyEdit Tools: unchecked 5 options in Auto-Convert > Before edditor buffer will be saved | |
| Preferences > Ant > Editor > Content Assist > checked "Insert single proposals automatically" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Docker for Windows + Git for Windows環境で、dockerコンテナに入るために、docker execコマンドを実行すると、以下のエラーとなった。 | |
| $ docker exec -it my-container bash | |
| the input device is not a TTY. | |
| If you are using mintty, try prefixing the command with 'winpty' | |
| winptyをつければエラーとならずにコンテナに入ることができる。 | |
| $ winpty docker exec -it my-container bash | |
| bash-4.2# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
- Take the
download.shfile and put it into a directory where you want the files to be saved. cdinto the directory and make sure that it has executable permissions (chmod +x download.shshould do it)- Run
./download.shand wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.