Skip to content

Instantly share code, notes, and snippets.

@krllus
krllus / AdbCommands
Created Feb 11, 2021 — forked from Pulimet/AdbCommands
Adb useful commands list
View AdbCommands
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
View firefox-nightly-download.sh
#!/usr/bin/env bash
cd ~/
mkdir -p ~/.local/bin
#Download app
wget "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US" -O firefox-nightly.tar.bz2
tar -jxvf firefox-nightly.tar.bz2 -C ~/.local/bin
sudo ln -s ~/.local/bin/firefox/browser/icons/mozicon128.png /usr/share/icons/firefox-nightly.png
sudo ln -s ~/.local/bin/firefox/firefox /usr/bin/firefox-nightly
@krllus
krllus / ParcelableUtils.java
Created Sep 10, 2016 — forked from keyboardr/ParcelableUtils.java
Utility class for dealing with Parcelables. Handles null checks for objects, and parcels some common non-Parcelable classes
View ParcelableUtils.java
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.os.Parcel;
import android.os.Parcelable;
View UdacityPortfolio_.gitignore
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
View CharsPerLineActivity.java
/*
* Copyright 2013 Google Inc.
*
* 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