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
View install_android_studio_on_ubuntu.sh
# 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
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
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 = "https://docs.google.com/gview?embedded=true&url=";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView view = new WebView(this);
view.getSettings().setJavaScriptEnabled(true);
You can’t perform that action at this time.