Steps:
- edit
/etc/hostname: only 1 line with thenew-hostname
new-hostname
- edit
/etc/hosts: 2 lines
127.0.0.1 localhost new-hostname
127.0.1.1 new-hostname
Steps:
/etc/hostname: only 1 line with the new-hostnamenew-hostname
/etc/hosts: 2 lines127.0.0.1 localhost new-hostname
127.0.1.1 new-hostname
| if has("gui_running") | |
| au ColorScheme * hi EndOfBuffer guifg=#002b36 | |
| else | |
| au ColorScheme * hi EndOfBuffer ctermfg=bg | |
| endif |
| /** | |
| * The data source instance that need to be public so we can close it in on-app-exit hook | |
| */ | |
| private DataSource initDataSource(HikariConfig config) { | |
| return new HikariDataSource(config); | |
| } | |
| private ConnectionSource initConnectionSource(DataSource ds) throws SQLException { | |
| return new DataSourceConnectionSource(ds, new MySql6DbType()); | |
| } |
| import com.j256.ormlite.db.MysqlDatabaseType; | |
| /** | |
| * Created by Hoang on 2016-05-21. | |
| */ | |
| class MySql6DbType extends MysqlDatabaseType { | |
| @Override | |
| protected String getDriverClassName() { | |
| return "com.mysql.cj.jdbc.Driver"; | |
| } |
| package kotlintest.playground | |
| import io.kotlintest.KTestJUnitRunner | |
| import io.kotlintest.specs.StringSpec | |
| import org.junit.runner.RunWith | |
| /** | |
| * Created by hoang on 7/13/16. | |
| */ | |
| @RunWith(KTestJUnitRunner::class) |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
I hereby claim:
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |