#vim
shift V
select line, up or down select linesshift >
shift select block or line outshift <
shift select block or line ind
to delete highlighted text and copy to cliboardD
delete everything after cursor to end of liney
to copy (yank)
package in.curtech.android.common; | |
import android.content.BroadcastReceiver; | |
/** | |
* Extension of {@code BroadcastReceiver} meant to be used in conjunction with | |
* {@link OrderEnabledLocalBroadcastManager} | |
* | |
* @author Kiran Rao | |
*/ |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
if ($request_method = OPTIONS) { | |
# Handle OPTIONS method | |
add_header Content-Length 0; | |
add_header Content-Type text/plain; | |
return 204; | |
} | |
# Headers get added no matter the request method | |
more_set_headers "Access-Control-Allow-Credentials: true"; | |
more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE"; |
# LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error | |
# see: http://vkuzel.blogspot.de/2016/03/spring-boot-jpa-hibernate-atomikos.html | |
# Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details. | |
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults: false | |
# Because detection is disabled you have to set correct dialect by hand. | |
spring.jpa.database-platform: org.hibernate.dialect.PostgreSQL9Dialect |