Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?xml version="1.0" encoding="utf-8"?><!-- | |
~ Copyright (C) 2015 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 |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Before proceed, you may want to follow up Send Welcome Email Notification with Event and Listener.
Create new migration script to add activation_token
and activated_at
column in users
table.
php artisan make:migration add_activation_column --table=users
export class ClientContainerCtrl { | |
public static $inject = ["$scope", "$http", "$state", "ApiConfig", "popup"]; | |
constructor(public $scope: ng-IScope, public $http: ng.IHttpService | |
, public $state: ng.ui.IStateService, public ApiConfig: IApiConfig, public popup: Common.Services.ModalService | |
) { | |
super($scope, $http); | |
this.init(); | |
} |
module App { | |
"use strict"; | |
//Method name should be exactly "response" - http://docs.angularjs.org/api/ng/service/$http | |
export interface IInterceptor { | |
request: Function; | |
requestError: Function; | |
response: Function; | |
responseError: Function; | |
} |
(function () { | |
angular.module("amks", ['ui.router', 'restangular', 'aluno']) | |
.run(congiruarApp) | |
.factory('authInterceptor', Interceptador) | |
.config(adicionarInterceptador); | |
congiruarApp.$inject = ['Restangular']; | |
function congiruarApp(restangular) { | |
restangular.setBaseUrl('/api'); |
angular.module('ConsoleUIApp', ['ui.router','ui.bootstrap','ngAnimate','angular-growl', 'restangular','http-auth-interceptor']) | |
.config(function ($stateProvider, $urlRouterProvider, growlProvider, RestangularProvider, $httpProvider) { | |
// For any unmatched url, redirect to /state1 | |
$urlRouterProvider.otherwise("/home"); | |
$stateProvider | |
.state('home', { | |
url: "/home", | |
templateUrl: "views/home.html", |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* Created by lorenzorigato on 11/01/2017. | |
*/ |
import android.util.Log; | |
import java.util.Map; | |
/** | |
* | |
*/ | |
@SuppressWarnings("unused") | |
public final class Logger { |