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
| 1. Open /xampp/apache/conf/extra/httpd-vhosts.conf | |
| 2. Add our host: | |
| <VirtualHost *:80> | |
| ServerAdmin admin@mysite.com | |
| DocumentRoot "D:/xampp/htdocs/mysite/public" | |
| ServerName mysite | |
| ServerAlias www.mysite | |
| <Directory "D:/xampp/htdocs/mysite/public"> | |
| AllowOverride All | |
| Require all granted |
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
| 1) Install Apache: | |
| sudo apt-get install apache2 - install | |
| sudo service apache2 restart - restart demon | |
| sudo a2enmod <mod-name> - add mode from /etc/apache2/mods-available | |
| sudo a2enconf <config-name> - add config from /etc/apache2/conf-available | |
| sudo a2ensite <site-name> - add vhost from etc/apache2/sites-available | |
| 2) Add vhost to apache: | |
| open /etc/hosts and add "127.0.0.1 host1.server1" | |
| open /etc/apache2/sites-available/ and add | |
| <VirtualHost *:80> |
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
| sudo npm install selenium-standalone@latest -g | |
| sudo selenium-standalone install | |
| sudo selenium-standalone start |
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
| $csv_strings = array_map('str_getcsv', file('./cut_2c.csv')); | |
| $csv_string = array(); | |
| foreach ($csv_strings as $csv) { | |
| if($csv['1']){ | |
| array_push($csv_string, $csv['1']); | |
| } | |
| } | |
| $csv_line = implode($csv_string, ','); |
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
| 1) open stype chat | |
| 2) /dumpmsnp | |
| 3) /msnp24 | |
| 4) restart skype |
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
| ln -s /var/www/public /var/www/public_html |
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 artisan route:cache | |
| php artisan route:clear |
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
| 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 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
| 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 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
| class PAV_Insurances_Model_Observer | |
| { | |
| public function orderSaveBefore(Varien_Event_Observer $observer) | |
| { | |
| } | |
| } |
OlderNewer