View paginator.go
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
// Copyright 2014 beego Author. All Rights Reserved. | |
// | |
// 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 | |
// distributed under the License is distributed on an "AS IS" BASIS, |
View RNPaypalWrapperModule.java
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
package com.namasaya.RNPaypalWrapper; | |
import android.app.Activity; | |
import android.content.Intent; | |
import com.facebook.react.bridge.ReactApplicationContext; | |
import com.facebook.react.bridge.ReactContextBaseJavaModule; | |
import com.facebook.react.bridge.ReactMethod; |
View Sulaeman\PaypalWebService\Plugin\Paypal\Model\Express.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 | |
/** | |
* This file is part of the Sulaeman Paypal Web Service package. | |
* | |
* @author Sulaeman <me@sulaeman.com> | |
*/ | |
namespace Sulaeman\PaypalWebService\Plugin\Paypal\Model; | |
use Magento\Framework\Registry; | |
use Magento\Framework\Model\Context; |
View CorsHeader.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\Middleware; | |
use Closure; | |
class CorsHeader | |
{ | |
/** | |
* Handle an incoming request. |
View Translator.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 | |
use Symfony\Component\Translation\Translator as SymfonyTranslator; | |
use Symfony\Component\Translation\MessageSelector; | |
use Symfony\Component\Translation\Loader\PhpFileLoader; | |
class Translator | |
{ | |
/** |
View UploadDirS3.py
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
#!/usr/bin/python | |
import os | |
import sys | |
import boto3 | |
# get an access token, local (from) directory, and S3 (to) directory | |
# from the command-line | |
local_directory, bucket, destination = sys.argv[1:4] |
View UploadDirDropbox.py
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
#!/usr/bin/python | |
import os | |
import sys | |
from dropbox.client import DropboxClient | |
# get an access token, local (from) directory, and Dropbox (to) directory | |
# from the command-line | |
access_token, local_directory, dropbox_destination = sys.argv[1:4] |
View aname-async.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
/** | |
* Module dependencies. | |
*/ | |
var async = require('async') | |
, countryTemplate = require('./country') | |
, _ = require('underscore'); | |
function aname(models, model, options, callback) { | |
if ( ! _.isObject(model)) { | |
if (typeof callback != 'undefined') { |
View SomeClass.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 | |
class SomeClass | |
{ | |
/** | |
* Hold options data for later use. | |
* | |
* @var Array | |
*/ |
View Controller.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 | |
return Response::json(new SettingTemplate($data)); |
NewerOlder