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
/***************** WP Config ************************/ | |
define('FS_METHOD', 'direct'); | |
define('FTP_BASE', '/path/to/wordpress/'); | |
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/'); | |
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/'); | |
define('FTP_USER', 'username'); | |
define('FTP_PASS', 'password'); | |
define('FTP_HOST', 'ftp.example.org'); | |
define('FTP_SSL', false); |
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
// /classes/pdf/HTMLTemplate.php | |
public $id_commande = 0 ; | |
// Line ~52 | |
$this->smarty->assign(array( | |
'logo_path' => $path_logo, | |
'img_ps_dir' => 'http://'.Tools::getMediaServer(_PS_IMG_)._PS_IMG_, | |
'img_update_time' => Configuration::get('PS_IMG_UPDATE_TIME'), |
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
public $components = array( | |
"Auth" => array( | |
'authenticate' => array( | |
'Form' => array( | |
'fields' => array('username' => 'email') | |
) | |
) | |
) | |
); |
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
#!/bin/bash | |
for i in *.gif; do convert "$i" "${i%.gif}.png"; done |
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 /mnt/usr/lib/* /usr/lib/ |
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
<navigation:Page | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" | |
xmlns:player="clr-namespace:SilverlightAdvancedPlayer.Player;assembly=Core" | |
xmlns:smf="http://schemas.microsoft.com/smf/2010/xaml/player" | |
xmlns:Microsoft_SilverlightMediaFramework_Utilities_Offline="clr-namespace:Microsoft.SilverlightMediaFramework.Utilities.Offline;assembly=Microsoft.SilverlightMediaFramework.Utilities" | |
xmlns:System="clr-namespace:System;assembly=mscorlib" |
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 | |
$pays = array( | |
"AD" => "Andorre", | |
"AE" => "Emirats arabes unis", | |
"AF" => "Afghanistan", | |
"AG" => "Antigua-et-barbuda", | |
"AI" => "Anguilla", | |
"AL" => "Albanie", | |
"AM" => "Arménie", | |
"AN" => "Antilles", |
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
server { | |
listen 80; | |
server_name example.com; | |
access_log /var/log/nginx/example.access.log; | |
error_log /var/log/nginx/example.error.log; | |
root /home/me/workspace/example/app/webroot/; | |
charset utf-8; | |
index index.php index.html index.htm; | |
location ~* \.(js|css|html?|xml|gz|jpe?g|gif|png|swf|wmv|flv|ico)$ { |
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
namespace Fmdb\CoreBundle\Composer; | |
use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseScriptHandler; | |
use Symfony\Component\ClassLoader\ClassCollectionLoader; | |
use Symfony\Component\Process\Process; | |
class ScriptHandler extends BaseScriptHandler | |
{ | |
public static function installBowerAssets($event) | |
{ |
OlderNewer