based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
- Check if italic font is supported:
$ echo -e "\e[3mitalic\e[23m"
- Also check:
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
""" Map leader to space --------------------- | |
let mapleader = " " | |
""" Plugins -------------------------------- | |
""" set number | |
" Do incremental searching. | |
set incsearch | |
set ignorecase | |
set smartcase | |
set hlsearch | |
""" Needed for which-key pluginset which-key |
based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
$ echo -e "\e[3mitalic\e[23m"
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
source ~/.vimrc | |
set visualbell | |
set noerrorbells | |
set surround | |
set relativenumber | |
" disable mappings from .vimrc | |
inoremap <C-U> <C-U> | |
inoremap <CR> <CR> |
image: java:8-jdk | |
stages: | |
- build | |
- test | |
- deploy | |
before_script: | |
# - echo `pwd` # debug | |
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug |
import java.lang.reflect.Type; | |
import com.fasterxml.jackson.core.type.TypeReference; | |
public class JavaReturnTypeInfer{ | |
private static String speficicType() throws Exception{ | |
TypeReference<String> tr = new TypeReference<String>(){}; | |
Type type = tr.getType(); | |
System.out.println(type.getTypeName()); // => java.lang.String | |
return (String) Class.forName(type.getTypeName()).newInstance(); |
{ | |
"version": "0.1.0", | |
// List of configurations. Add new configurations or edit existing ones. | |
// ONLY "node" and "mono" are supported, change "type" to switch. | |
"configurations": [ | |
{ | |
// Name of configuration; appears in the launch configuration drop down menu. | |
"name": "Run app.js", | |
// Type of configuration. Possible values: "node", "mono". | |
"type": "node", |
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
package com.gae9.android.util; | |
import android.graphics.Bitmap; | |
import android.support.v4.util.LruCache; | |
import com.android.volley.toolbox.ImageLoader.ImageCache; | |
public class BitmapCache implements ImageCache { | |
private LruCache<String, Bitmap> mMemoryCache; |