Skip to content

Instantly share code, notes, and snippets.

View danomatic's full-sized avatar

Dan Blaisdell danomatic

View GitHub Profile
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@ghillert
ghillert / Spring Boot and JSPs
Last active August 30, 2017 21:29
Spring Boot (embedded) and JSPs - Remove the last web.xml remnants
...
public class DevNexusApplication implements EmbeddedServletContainerCustomizer {
...
@Override
public void customize(ConfigurableEmbeddedServletContainer container) {
if(container instanceof TomcatEmbeddedServletContainerFactory) {
final TomcatEmbeddedServletContainerFactory tomcatEmbeddedServletContainerFactory
= (TomcatEmbeddedServletContainerFactory) container;
tomcatEmbeddedServletContainerFactory.addContextCustomizers(