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
sudo apt-get install php5-xdebug | |
sudo php5enmod xdebug | |
sudo service php5.6-fpm restart | |
open /etc/php/5.6/mods-available/xdebug.ini & add lines: | |
zend_extension=xdebug.so | |
xdebug.remote_autostart=on | |
xdebug.remote_enable=on | |
xdebug.remote_handler="dbgp" | |
xdebug.remote_host="127.0.0.1" |
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
ln -s /usr/bin/nodejs /usr/bin/node |
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
gradlew clean |
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
quote - это заказ покупателя | |
quote_address, quote_address_item - это адреса, связанные с заказом покупателя | |
quote_item - это статья заказа | |
quote_item_option - это опция, выбранная покупателем при заказе настраиваемого товара | |
quote_payment - это данные о способе оплате и его параметрах для заказа | |
quote_shipping_rate - это тарифы доставки для заказа |
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
class PAV_Insurances_Model_Observer | |
{ | |
public function orderSaveBefore(Varien_Event_Observer $observer) | |
{ | |
} | |
} |
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
import React from 'react' | |
import { Route, IndexRedirect } from 'react-router' | |
import App from './containers/App' | |
import List from './components/List' | |
import Video from './components/Video' | |
import NotFound from './components/NotFound' | |
export const routes = ( | |
<div> |
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
import React, { Component } from 'react' | |
import { Link } from 'react-router' | |
export default class App extends Component { | |
render() { | |
return ( | |
<div className='container'> | |
<ul> | |
<li><Link to='/' activeClassName='active' onlyActiveOnIndex={true}>Home</Link></li> | |
<li><Link to='/admin' activeClassName='active'>Admin panel</Link></li> |
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 artisan route:cache | |
php artisan route:clear |
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
ln -s /var/www/public /var/www/public_html |