Skip to content

Instantly share code, notes, and snippets.

View noopable's full-sized avatar

Tomoaki Kosugi noopable

  • Kipsproduction co. ltd.
  • Yokohama-city, Japan
View GitHub Profile
@koriym
koriym / meida_query.php
Last active January 31, 2021 04:28
Minimum repository pattern with AOP
<?php
// The next Rqy.Query
namespace Ray\Query\Fake\Media;
use Ray\Query\Annotation\Sql;
interface RegisterUserInterface
{
@tushargupta51
tushargupta51 / app.js
Last active February 24, 2021 04:25
App reloading inside iFrame when renewing token - Solution 2
'use strict';
angular.module('todoApp', ['ngRoute','AdalAngular'])
.config(['$routeProvider', '$httpProvider', 'adalAuthenticationServiceProvider', function ($routeProvider, $httpProvider, adalProvider) {
$routeProvider.when("/Home", {
controller: "homeCtrl",
templateUrl: "/App/Views/Home.html",
}).when("/TodoList", {
controller: "todoListCtrl",
templateUrl: "/App/Views/TodoList.html",
@seanzx85
seanzx85 / navbar.js
Last active August 29, 2015 13:57
Gumby Framework mobile navigation in AngularJS
//Wrapped for requireJS
define([
'angular'
], function (angular) {
angular.module('Gumby', [])
/**
* Controller is used to map the factory functions to the scope
*/
.controller('GumbyNavbarCtrl', ['$scope', 'gumbyNavbarState', function ($scope, NavbarState) {
$scope.isActive = NavbarState.isActive;