Skip to content

Instantly share code, notes, and snippets.

View krllus's full-sized avatar
🏠
Working from home

João Carlos Ferreira Marques krllus

🏠
Working from home
  • Stone Pagamentos
  • Goiania, Goias
View GitHub Profile
/*
MIT License
Copyright (c) 2016 Henry Chladil
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@krllus
krllus / AdbCommands
Created February 11, 2021 12:03 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
#!/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 September 10, 2016 13:23 — forked from keyboardr/ParcelableUtils.java
Utility class for dealing with Parcelables. Handles null checks for objects, and parcels some common non-Parcelable classes
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;
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
/*
* 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