Skip to content

Instantly share code, notes, and snippets.

Silin Nick silin

  • IG
  • Krakow, Poland
Block or report user

Report or block silin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2e803a856a6080717db2b4c5097f96b9
# List flavor dependencies - ./gradlew :app:dependencies --configuration flavorCompileClasspath
./gradlew :app:dependencies --configuration debugCompileClasspath
# Commands for installing Android Stuiod on fresh Ubuntu
# Also covered creating of `devs` user group
# List groups for exisiting user to check existing groups
groups $LOGNAME
# Create new group 'devs'
sudo groupadd devs
# Add existing user to 'devs' group
silin / AndroidManifest.xml
Created Mar 17, 2015
Save app LogCat logs to file
View AndroidManifest.xml
<!--To fetch LogCat logs-->
<uses-permission android:name="android.permission.READ_LOGS" />
silin / OnlinePdfViewActivity
Last active Aug 29, 2015
Online .pdf file viewer activity
View OnlinePdfViewActivity
public class OnlinePdfViewActivity extends Activity {
public static final String KEY_PDF_URL = "KEY_PDF_URL";
private static final String GOOGLE_API_URL = "";
protected void onCreate(Bundle savedInstanceState) {
WebView view = new WebView(this);
You can’t perform that action at this time.