- Open Android Studio
- Go to: Tools > Create Command-line Launcher
- Leave as default, Press OK
- Add the following lines to your
.gitconfig
/* | |
* Copyright (C) 2014 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
import android.content.Context; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import org.jetbrains.annotations.NotNull; | |
import org.jetbrains.annotations.Nullable; | |
public class EmptyRecyclerView extends RecyclerView { | |
@Nullable View emptyView; |
/* | |
* Created by Krishan Patel. | |
* Copyright (c) 2014. Rocko Labs Ltd. All Rights Reserved. | |
*/ | |
package com.rockolabs.kites.adapters; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Canvas; |
/* | |
--------------------------------------------------------------------------------------- | |
Obj-C Literal Dictionary Syntax - Multiple reasons for allowing nil values | |
Radar 19747372 | |
--------------------------------------------------------------------------------------- | |
The obj-c literal syntax for dictionaries does not allow nils. | |
@{key : nil}; // Exception (and compiler error) | |
//wearversion | |
//wearlog | |
//wearvoiceinputenable | |
//wearvoiceinputdisable | |
//weargoogleapi | |
//assert | |
//pushassert | |
//uplog | |
//upcrash | |
//switchnotificationstatus |
[I'm an inline-style link](https://www.somewebsite.com) | |
[I'm an inline-style link with title](https://www.somewebsite.com "somewebsite's Homepage") | |
[I'm a reference-style link][Arbitrary case-insensitive reference text] | |
[I'm a relative reference to a repository file](../blob/master/LICENSE) | |
[You can use numbers for reference-style link definitions][1] |
package com.github.pedramrn; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.drawable.Drawable; | |
import android.support.v4.graphics.drawable.DrawableCompat; | |
import android.support.v7.widget.AppCompatTextView; | |
import android.util.AttributeSet; | |
import com.github.pedramrn.slick.parent.R; |
# Add windows Explorer Right-Click menu to paste copied item as Junction or SymbolicLink with PowerShell | |
# Locate file on C:\CMD\ | |
param ( | |
[Parameter(Mandatory=$true)][string]$location | |
) | |
Set-Location $location | |
$files = Get-Clipboard -Format FileDropList | |
$count = $files.count; | |
if($count -eq 0) |