(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| chrome.storage.local.get("state", o => ( | |
| ((f, t) => { | |
| let e = document.createElement("a"); | |
| e.setAttribute("href", `data:text/plain;charset=utf-8,${encodeURIComponent(t)}`); | |
| e.setAttribute("download", f); | |
| e.click(); | |
| })(`TobyBackup${Date.now()}.json`, o.state) | |
| )); |
| start "" C:\Users\m.qasim\AppData\Local\Android\Sdk\emulator\emulator.exe @Pixel_XL_API_27 |
| <style name="AppCompatAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert"> | |
| <item name="colorAccent">@color/ra_red_primary</item> | |
| <item name="android:textColorPrimary">@color/text_grey</item> | |
| <item name="android:background">#ffffff</item> | |
| </style> |
| A foreground service with a partial WakeLock is supposed to block Doze mode (usecases: music-players etc). If the process with the foreground service also has the foreground activity, Doze mode takes over again. | |
| To avoid this start the foreground service in a separate process. |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /** | |
| * Detects left and right swipes across a view. | |
| */ | |
| public class OnSwipeTouchListener implements OnTouchListener { | |
| private final GestureDetector gestureDetector; | |
| public OnSwipeTouchListener(Context context) { | |
| gestureDetector = new GestureDetector(context, new GestureListener()); | |
| } |
Note: This is an opinionated guide. While it is most effective for on-site, the same pattern can work with remote candidates.
Interviewing is hard. It's not easy to find good people, and once you do, it's often difficult to find out what they can do and how they work. A badly-run interview can pass over a great engineer. Conversely, some engineers are good at passing traditional tech interviews, but bring major problems with work habits or team fit.
The first priority of any manager is to hire the best people. Everything else must wait.
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
This is a quick guide to Kotlin programming language. The previous part of this guide is here
#Object Oriented
fun main(args : Array<String>) {
class local (val x : Int)
val y = local(10)
println("${y.x}")| # Built application files | |
| *.apk | |
| *.ap_ | |
| # Files for the ART/Dalvik VM | |
| *.dex | |
| # Java class files | |
| *.class |