Find a 9 letter string of characters that contains only letters from
acdegilmnoprstuw
such that the hash(the_string) is
910897038977002
if hash is defined by the following pseudo-code:
Find a 9 letter string of characters that contains only letters from
acdegilmnoprstuw
such that the hash(the_string) is
910897038977002
if hash is defined by the following pseudo-code:
app = require '../app' | |
app.constant 'APIv1', -> | |
api = {} | |
# Base (alias) | |
base = '/api/v1' | |
# Base | |
api.base = base |
app.config(['$stateProvider', function($stateProvider) { | |
var auth = { | |
name: 'auth', | |
abstract: true, | |
template: '<div ui-view></div>', | |
resolve: { | |
auth: ['AuthSrvc', function(AuthSrvc) { | |
return AuthSrvc.check() | |
}] |
app.config([ | |
'$stateProvider', | |
function($stateProvider) { | |
var state = { | |
name: 'login', | |
url: '/login', | |
// resolve: { | |
// guest: ['AuthSrvc', function(AuthSrvc) { | |
// return AuthSrvc.guest(); | |
// }] |
Controller: | |
// calls repository | |
// repository calls its abstract parent | |
// abstract parent calls query / command | |
// has validabletrait (which valides itself with the given rules) | |
// abstract parent calls transformer | |
// return | |
// repository does it the eloquent way or mongo or whatever way | |
// repository returns transformed data |
Controller: | |
// calls command / query | |
// has validabletrait (which valides itself with the given rules) | |
// command / query calls repository | |
// repository does the eloquent, mongo, or whatever way | |
// calls transformer | |
// returns a json response |
app/ | |
Core/ | |
Common/ | |
UserManagement/ | |
Bindings/ | |
Command/ | |
Exceptions/ | |
Queries/ | |
Repositories/ | |
Transformers/ |
- app/ | |
- MyOwnNameSpace/ | |
- Filters | |
- Controllers | |
- .. | |
- .. | |
- .. | |
- .. | |
- .. | |
- Models |
<html> | |
<head> | |
<title>PAHIRAP!</title> | |
</head> | |
<body> | |
<form> | |
Enter Code Here!<br> | |
<textarea class="code_input" rows="30" cols="50" id="code_input"> |
<?php | |
use Acme\Repositories\Interfaces\User as UserRepository; | |
class UserController extends BaseController { | |
// left blank for brevity | |
} |