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
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="http://media2.juggledesign.com/qtip2/js/excanvas.pack.js"></script><![endif]--> |
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
<a class="cat" rel="<?php echo $action['ClickAction']['click_action_type_id'].'/'.$action['ClickAction']['displayorder']; ?>" href="#"><?php echo $action['ClickAction']['title']; ?></a> | |
<span class="positionBut"><a href="#" class="moveUp"><img src="http://static.adagogo.com/img/icons/leftgreyarrow.png" /></a><a href="#" class="moveDown"><img src="http://static.adagogo.com/img/icons/rightgreyarrow.png" /></a></span> | |
<div class="theAction" style="display: none"></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
$devices = $this->find('first',array( | |
'contain'=>array( | |
'Device'=>array( | |
'fields'=>array('id','name'), | |
'conditions'=>array('Device.public'=>1,'Device.deprecated'=>0) | |
) | |
), | |
'fields'=>array('id'), | |
'conditions'=>array('Ad.id'=>$adId) | |
) |
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 | |
debug('wtf'); | |
/** | |
* Application level View Helper | |
* | |
* This file is application-wide helper file. You can put all | |
* application-wide helper-related methods here. | |
* | |
* PHP versions 4 and 5 | |
* |
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
$('a.addTarget').each(function(){ | |
$(this).qtip( | |
{ | |
content: { | |
text: $("#ctoPop") | |
}, | |
position: { | |
my: 'left top', | |
at: 'right top', | |
adjust: { screen: true } |
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
set :application, "XXX" | |
role :app, "XXX.compute-1.internal", :primary => true | |
role :app, "XXX.compute-1.internal" | |
ssh_options[:keys] = "#{ENV['HOME']}/.ssh/dasdeploy_rsa" | |
ssh_options[:verbose] = :debug | |
ssh_options[:auth_methods] = "publickey" | |
ssh_options[:forward_agent] = true | |
ssh_options[:config]=false | |
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
* executing "ls -xt /opt/doapp/adagogo/prod/webapp/releases" | |
servers: ["XXX.compute-1.internal"] | |
D, [2010-12-28T03:43:11.464864 #3278] DEBUG -- net.ssh.transport.session[3fdec15e3870]: establishing connection to XXX.compute-1.internal:22 | |
D, [2010-12-28T03:43:11.467686 #3278] DEBUG -- net.ssh.transport.session[3fdec15e3870]: connection established | |
I, [2010-12-28T03:43:11.467818 #3278] INFO -- net.ssh.transport.server_version[3fdec15e31cc]: negotiating protocol version | |
D, [2010-12-28T03:43:11.475367 #3278] DEBUG -- net.ssh.transport.server_version[3fdec15e31cc]: remote is `SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4' | |
D, [2010-12-28T03:43:11.475440 #3278] DEBUG -- net.ssh.transport.server_version[3fdec15e31cc]: local is `SSH-2.0-Ruby/Net::SSH_2.0.15 x86_64-linux' | |
D, [2010-12-28T03:43:11.477067 #3278] DEBUG -- tcpsocket[3fdec15e34c4]: read 784 bytes | |
D, [2010-12-28T03:43:11.477252 #3278] DEBUG -- tcpsocket[3fdec15e34c4]: received packet nr 0 type 20 len 780 | |
I, [2010-12-28T03:43:11.477360 #3278] INFO -- net.ssh.t |
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
/etc/nginx# cat fastcgi_params | |
fastcgi_param QUERY_STRING $query_string; | |
fastcgi_param REQUEST_METHOD $request_method; | |
fastcgi_param CONTENT_TYPE $content_type; | |
fastcgi_param CONTENT_LENGTH $content_length; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
fastcgi_param REQUEST_URI $request_uri; | |
fastcgi_param DOCUMENT_URI $document_uri; |
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
32,33c32,39 | |
< $this->_key = 'url_map' . $this->_key; | |
< $this->_cache = Cache::read($this->_key, '_cake_core_'); | |
--- | |
> if (is_a($this, 'HtmlHelper')) { | |
> $this->_key = 'url_map_html' . $this->_key; | |
> $this->_cache = Cache::read($this->_key, '_cake_core_'); | |
> } | |
> elseif (is_a($this, 'FormHelper')){ | |
> $this->_key = 'url_map_form' . $this->_key; |
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
23,24c23,24 | |
< $this->assertEqual($url, '/posts/'); | |
< $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e0' => '/posts/'), $this->HtmlHelper->_cache); | |
--- | |
> $this->assertEqual($url, '/posts'); | |
> $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e012a55d605aac76775a2f56efac64438a' => '/posts'), $this->HtmlHelper->_cache); | |
28c28 | |
< $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e0' => '/posts/'), $cache); | |
--- | |
> $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e012a55d605aac76775a2f56efac64438a' => '/posts'), $cache); |