View bootstrap_modal_adapter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Modal = (function () { | |
var adapter; | |
function init(modalAdapter) { | |
adapter = modalAdapter; | |
return { |
View test.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val meaningOfLife = 42 |
View TrimmedFormRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Requests; | |
use Illuminate\Foundation\Http\FormRequest; | |
/** | |
* Description of AjaxValidatableFormRequest | |
* | |
* @author msalisu | |
*/ |
View AjaxValidatableRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Requests; | |
use Illuminate\Validation\ValidationException; | |
/** | |
* Description of AjaxValidatableFormRequest | |
* | |
* @author msalisu | |
*/ |
View SpreadSheetGenerator.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Library\Generators; | |
use PHPExcel\PHPExcel; | |
use PHPExcel\PHPExcel_IOFactory; | |
use PHPExcel\PHPExcel_Cell; | |
class SpreadSheetGenerator{ |
View ApiResponse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Library\Response; | |
use GuzzleHttp\Message\Response; | |
class ApiResponse | |
{ | |
/* | |
* The status code of a response represented as a single integer | |
* denoting the general status of the response |
View Dispatcher.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @constructor */ | |
function Dispatcher(context, events) { | |
this.ctx = context; | |
this.events = events; | |
this.listeners = {}; | |
} | |
/** | |
* Adds an event listener to an event | |
* |
View getBrowserEvents.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getBrowserEvents () | |
{ | |
var browserEvents = []; | |
for (var e in document) if (typeof document[e] !== "function" && e !== null && e.substring(0, 2) === "on") browserEvents[browserEvents.length] = e.substring(2); | |
return browserEvents; | |
} |
View git_remove_residual_files_and_folders.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git reset --hard && git clean -f -d |
View ratchet-dispatcher.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Dispatcher = (function(win){ | |
var instance; | |
function init(){ | |
var | |
callbackRegister = {}, | |
pageCheck; |
OlderNewer