(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
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 |