Skip to content

Instantly share code, notes, and snippets.

View bioyeneye's full-sized avatar
🎯
Building it

Bolaji Oyeneye bioyeneye

🎯
Building it
View GitHub Profile
@bioyeneye
bioyeneye / include_list_viewpager.xml
Created December 13, 2016 09:24 — forked from iPaulPro/include_list_viewpager.xml
CollapsingToolbarLayout with TabLayout
<?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
@bioyeneye
bioyeneye / frontendDevlopmentBookmarks.md
Created April 7, 2017 18:42 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@bioyeneye
bioyeneye / readme.md
Created September 27, 2017 15:58 — forked from nasrulhazim/readme.md
Send Welcome Email Notification with Event and Listener

Send Welcome Email Notification with Event and Listener

Step 1

Create SendWelcomeEmailNotification notification

php artisan make:notification SendWelcomeEmailNotification
@bioyeneye
bioyeneye / readme.md
Created September 27, 2017 15:58 — forked from nasrulhazim/readme.md
Enable Account Activation in Order to Login to the System.
@bioyeneye
bioyeneye / ClientContainerCtrl.ts
Created October 18, 2017 10:35 — forked from adhamankar/ClientContainerCtrl.ts
Angular popup service
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();
}
@bioyeneye
bioyeneye / AuthenticationInterceptor.ts
Created October 18, 2017 10:39 — forked from adhamankar/AuthenticationInterceptor.ts
Implementing angularjs Interceptor using TypeScript
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;
}
@bioyeneye
bioyeneye / aplicacao.js
Created October 18, 2017 14:08 — forked from yusufola/aplicacao.js
Interceptor
(function () {
angular.module("amks", ['ui.router', 'restangular', 'aluno'])
.run(congiruarApp)
.factory('authInterceptor', Interceptador)
.config(adicionarInterceptador);
congiruarApp.$inject = ['Restangular'];
function congiruarApp(restangular) {
restangular.setBaseUrl('/api');
@bioyeneye
bioyeneye / app.js
Created October 18, 2017 14:52 — forked from xmlking/app.js
angular authentication with angular modules: http-auth-interceptor, angular-growl , angular-ui : UI-Router & UI-Bootstrap , restangular
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",
@bioyeneye
bioyeneye / WDate.java
Created November 7, 2017 18:14 — forked from ar-android/WDate.java
Android date-time wrapper
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.concurrent.TimeUnit;
/**
* Created by lorenzorigato on 11/01/2017.
*/
@bioyeneye
bioyeneye / Logger.java
Created November 7, 2017 18:23 — forked from santi-gonzalez/Logger.java
Simple Android Log wrapper
import android.util.Log;
import java.util.Map;
/**
*
*/
@SuppressWarnings("unused")
public final class Logger {