ApplicationContext context = new AnnotationConfigApplicationContext(AppConfiguration.class);
This file contains 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
npm install -g @angular/cli |
@Bean
MessageProvider messageProvider() {
return new HelloWorldMessageProvider();
}
jar {
manifest {
attributes(
'Main-Class': 'com.romach007.App'
)
}
}
git config -e --local
[user]
name = username
email = [email protected]
This file contains 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
import { StoreDevtoolsModule } from '@ngrx/store-devtools'; | |
@NgModule({ | |
imports: [ | |
StoreModule.forRoot(rootReducer), | |
// Instrumentation must be imported after importing StoreModule (config is optional) | |
StoreDevtoolsModule.instrument({ | |
maxAge: 50 | |
}) | |
] |
test
- in
/etc/ssh/sshd_config
setPermitRootLogin no
- run
service ssh restart
sudo adduser <username> sudo
execute passwd usermname
with root
user