Skip to content

Instantly share code, notes, and snippets.

View boyaq's full-sized avatar

bulutbazar boyaq

View GitHub Profile
@boyaq
boyaq / HTTPInterface.js
Created August 10, 2016 10:13 — forked from LucaColonnello/HTTPInterface.js
Loopback React SDK Proposals
// it could be part of the LoopBackSDK module
// evaluate usage of node http module for ajax call
var http = require( 'http' );
// LoopBack HTTP Interface
// Class that has the responsibility to call
// the LoopBack Application, must be instantiated for each models
function HTTPInterface(
@boyaq
boyaq / Elfinder connector
Created March 29, 2016 05:04
Elfinder connector
```php
elFinderConnector Object
(
[elFinder:protected] => elFinder Object
(
[version:protected] => 2.1
[volumes:protected] => Array
(
[l1_] => elFinderVolumeLocalFileSystem Object
/**
* author Remy Sharp
* url http://remysharp.com/tag/marquee
*/
(function ($) {
$.fn.marquee = function (klass) {
var newMarquee = [],
last = this.length;
<?php
// API access key from Google API's Console
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' );
$registrationIds = array( $_GET['id'] );
// prep the bundle
$msg = array
<?php
$queries = DB::getQueryLog();
$last_query = end($queries);