(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.
| web: node server.js |
(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.
| // Enviando e-mails usando o Node.js e o famoso nodemailer | |
| var nodemailer = require('nodemailer'); | |
| // Vamos criar a conta que irá mandar os e-mails | |
| var conta = nodemailer.createTransport({ | |
| service: 'Gmail', // Existem outros services, você pode procurar | |
| // na documentação do nodemailer como utilizar | |
| // os outros serviços | |
| auth: { | |
| user: '[email protected]', // Seu usuário no Gmail |
| /* | |
| * Copyright (C) 2014 The Android Open Source Project | |
| * | |
| * 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 |
| /* | |
| * The function searchPlaces can be called continuously, no matter how many times it got invoked | |
| * the Handler will remove all the last sequence request, and execute the last one. | |
| * */ | |
| String fieldValue = ""; | |
| final private Handler handler = new Handler(); | |
| final private Runnable runnable = new Runnable() { | |
| @Override | |
| public void run() { |
| package codepath.com.recyclerviewfun; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class Contact { | |
| private String mName; | |
| private boolean mOnline; | |
| public Contact(String name, boolean online) { |
| package com.foo.RecyclerViewMatcher; | |
| import android.content.res.Resources; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.view.View; | |
| import org.hamcrest.Description; | |
| import org.hamcrest.Matcher; | |
| import org.hamcrest.TypeSafeMatcher; |
| # Open Terminal | |
| vim ~/.vimrc | |
| # Mac OS-X -> .vimrc ; Window -> .gvimrc | |
| # Add it in the file and adjust the font size (h12) accordingly | |
| set guifont=Menlo\ Regular:h15 |
| android.permission.ACCESS_ALL_DOWNLOADS | |
| android.permission.ACCESS_BLUETOOTH_SHARE | |
| android.permission.ACCESS_CACHE_FILESYSTEM | |
| android.permission.ACCESS_CHECKIN_PROPERTIES | |
| android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY | |
| android.permission.ACCESS_DOWNLOAD_MANAGER | |
| android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED | |
| android.permission.ACCESS_DRM_CERTIFICATES | |
| android.permission.ACCESS_EPHEMERAL_APPS | |
| android.permission.ACCESS_FM_RADIO |