This file contains hidden or 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\components; | |
| class ActiveRecord extends \yii\db\ActiveRecord | |
| { | |
| public function safeAttributes() | |
| { |
This file contains hidden or 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 is project's console commands configuration for Robo task runner. | |
| * | |
| * @see http://robo.li/ | |
| */ | |
| class RoboFile extends \Robo\Tasks | |
| { |
This file contains hidden or 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\commands; | |
| use yii\console\Controller; | |
| use yii\helpers\Inflector; | |
| class GiiQController extends Controller | |
| { | |
| public function actionCrud($table) |
This file contains hidden or 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
| root@test:/vagrant/mzn# composer show -i | |
| almasaeed2010/adminlte 2.1.1 AdminLTE - admin control panel and dashboard that's based on Bootstrap 3 | |
| bower-asset/bootstrap v3.3.2 The most popular front-end framework for developing responsive, mobile first projects on the web. | |
| bower-asset/jquery 2.1.3 | |
| bower-asset/jquery.inputmask 3.1.61 jquery.inputmask is a jquery plugin which create an input mask. | |
| bower-asset/punycode v1.3.2 | |
| bower-asset/typeahead.js v0.10.5 | |
| bower-asset/yii2-pjax v2.0.2 | |
| cebe/js-search 0.9.2 A client side search engine for use on static pages. | |
| cebe/markdown 1.0.2 A super fast, highly extensible markdown parser for PHP |
This file contains hidden or 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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "ubuntu/trusty64" | |
| config.vm.network :private_network, ip: "192.168.33.XX" | |
| config.vm.hostname = "192.168.33.XX.xip.io" |
This file contains hidden or 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 generateGuid() { | |
| return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { | |
| var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); | |
| return v.toString(16); | |
| }); | |
| } |
This file contains hidden or 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
| From 885c04811fa0fdf8301fe45d8fccee49b7c5a7c6 Mon Sep 17 00:00:00 2001 | |
| From: cornernote <[email protected]> | |
| Date: Fri, 10 Apr 2015 09:32:02 +0930 | |
| Subject: [PATCH] #11883 duplicate tickets | |
| --- | |
| upload/include/staff/header.inc.php | 2 ++ | |
| upload/scp/tickets.php | 28 ++++++++++++++++++++++++++++ | |
| 2 files changed, 30 insertions(+) |
This file contains hidden or 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
| root@test:/vagrant/workflow# php composer.phar require --prefer-dist schmunk42/yii2-packaii "*" | |
| ./composer.json has been updated | |
| Loading composer repositories with package information | |
| Updating dependencies (including require-dev) | |
| Your requirements could not be resolved to an installable set of packages. | |
| Problem 1 | |
| - The requested package schmunk42/yii2-packaii could not be found in any version, there may be a typo in the package name. | |
| Potential causes: |
This file contains hidden or 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 | |
| Mustache_Template->render(array("cards" => | |
| array(21567 => array( | |
| array("id" => "21567", | |
| "cardname" => | |
| "Tasigur%2C+the+Golden+Fang", | |
| "rarity" => "R", | |
| "set" => "FRF", ...), | |
| array("id" => "21567", |
This file contains hidden or 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 yii\helpers\Html; | |
| use yii\grid\GridView; | |
| use yii\widgets\DetailView; | |
| use yii\widgets\Pjax; | |
| /** | |
| * @var yii\web\View $this | |
| * @var app\models\System $model |