This file contains hidden or 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
set clipboard=unnamed,unnamedplus | |
" 自動縮排:啟用自動縮排以後,在貼上剪貼簿的資料時排版可能會亂掉,這時可以手動切換至貼上模式 :set paste 再進行貼上。 | |
set ai | |
" 啟用暗色背景模式。 | |
set background=dark | |
" 啟用行游標提示。 | |
" set cursorline |
This file contains hidden or 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
public class AddToPlaylistTaskOperatorTests { | |
+ private AddToPlaylistTaskOperator addToPlaylistTaskOperator; | |
+ | |
+ private APIManager mockAPIManager; | |
+ private Playlist mockPlaylist; | |
+ | |
+ @Before | |
+ public void setup() { | |
+ mockAPIManager = mock(APIManager.class); | |
+ mockPlaylist = mock(Playlist.class); |
This file contains hidden or 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
let mapleader = "\<space>" | |
set clipboard+=unnamed,unnamedplus | |
" 自動縮排:啟用自動縮排以後,在貼上剪貼簿的資料時排版可能會亂掉,這時可以手動切換至貼上模式 :set paste 再進行貼上。 | |
set ai | |
" 啟用暗色背景模式。 | |
set background=dark | |
" 啟用行游標提示。 |
This file contains hidden or 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
[user] | |
name = Ray-Yuan Liu | |
email = [email protected] | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
log = auto | |
[alias] | |
st = status |
This file contains hidden or 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
# custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html | |
-Xms1024m | |
-Xmx3072m | |
-XX:MaxPermSize=1024m | |
-XX:ReservedCodeCacheSize=440m | |
-XX:+UseCompressedOops | |
-XX:+HeapDumpOnOutOfMemoryError | |
-Dfile.encoding=UTF-8 |
This file contains hidden or 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
public void SomeClass : MonoBehavior { | |
private CameraControllerClass cameraControllerClass; // 其他的 C# Script | |
public Start() { | |
cameraControllerClass = new CameraControllerClass(); | |
} | |
public Update() { | |
int x = newBlock.transform.position.x; | |
int y = newBlock.transform.position.y; |
This file contains hidden or 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
public Observable<Response<Page<GenericItem>>> fetchFeed(int offset, int limit) { | |
return endpoint.getFeed(offset, limit) | |
.compose(SchedulerProvider.NETWORK.<Response<Page<GenericItem>>>applySchedulers()) | |
.compose(new Observable.Transformer<Response<Page<GenericItem>>, Response<Page<GenericItem>>>() { | |
@Override | |
public Observable<Response<Page<GenericItem>>> call(Observable<Response<Page<GenericItem>>> responseObservable) { | |
return responseObservable.observeOn(Schedulers.newThread()) | |
.subscribeOn(AndroidSchedulers.mainThread()) | |
.map(new Func1<Response<Page<GenericItem>>, Response<Page<GenericItem>>>() { | |
@Override |
This file contains hidden or 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
/* screen split size follow Bootsraps. */ | |
/* | |
** small screen | |
*/ | |
@media screen and (max-width: 576px) { | |
.main_content { | |
width: 100%; | |
bottom: 0; | |
position: relative; |
This file contains hidden or 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
class Node { | |
internal var text: String = "" | |
internal var nextNode: Node? = null | |
} |
This file contains hidden or 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
class Node { | |
internal var text: String = "" | |
internal var nextNode: Node? = null | |
} |
OlderNewer