CTRL + A : Move the cursor to the beginning of the line
CTRL + E : Move the cursor to the end of the line
OPTION + Left Arrow : Move the cursor one word backward
OPTION + Right arrow : Move the cursor one word forward
Left Arrow : Move the cursor one character backward
Right Arrow : Move the cursor one character forward
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
| // 1.@NonNull Example | |
| // ----- [ start | |
| // 1-1.Lombok @NonNull | |
| public class NonNullExample extends Something { | |
| private String name; | |
| public NonNullExample(@NonNull Person person) { | |
| super("Hello"); | |
| this.name = person.getName(); | |
| } |
Go to the egghead website, i.e. Building a React.js App
run
$.each($('h4 a'), function(index, video){
console.log(video.href);
});
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
| package com.neolitec.examples; | |
| import org.apache.commons.codec.binary.Base64; | |
| import org.apache.commons.lang.StringUtils; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import javax.servlet.*; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; |
/**
* Some credits to http://stackoverflow.com/a/18363307/771431
*/
public class MyBasicAuthFilter implements Filter {
@Override
public void init(FilterConfig filterConfig) throws ServletException {
}
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
| <script src="https://gist.github.com/P7h/4388881.js"></script> |
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
| /*! improveIR.js © yamoo9.net, 2014 | |
| * CSS (on), Img (off) 로컬호스팅, 웹서버 환경에서만 테스팅 가능 | |
| * Windows High Contrast 모드 테스팅은 로컬 환경에서도 가능 | |
| */ | |
| // 참조URL | |
| // http://blog.paciellogroup.com/2011/10/detecting-if-images-are-disabled-in-browsers/ | |
| // http://blog.paciellogroup.com/2012/08/notes-on-accessible-css-image-sprites/ | |
| // http://blog.adrianroselli.com/2012/08/css-background-images-high-contrast-mode.html |