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
Notice: Undefined index: email in /var/www/mag-mag/app/code/community/Hull/Connection/Model/User.php on line 29 | |
#0 /var/www/mag-mag/app/code/community/Hull/Connection/Model/User.php(29): mageCoreErrorHandler(8, 'Undefined index...', '/var/www/mag-ma...', 29, Array) | |
#1 /var/www/mag-mag/app/code/community/Hull/Connection/Model/User.php(13): Hull_Connection_Model_User->hydrate(Object(stdClass)) | |
#2 /var/www/mag-mag/app/code/community/Hull/Connection/Model/Session.php(36): Hull_Connection_Model_User->find('54bcd4dab28ca3e...') | |
#3 /var/www/mag-mag/app/code/community/Hull/Connection/Model/Observer/Customer.php(17): Hull_Connection_Model_Session->getCurrentUser() | |
#4 /var/www/mag-mag/app/code/core/Mage/Core/Model/App.php(1338): Hull_Connection_Model_Observer_Customer->currentCustomer(Object(Varien_Event_Observer)) | |
#5 /var/www/mag-mag/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Hull_Connection_Model_Observer_Customer), 'currentCustomer', Object(Varien_Event_Observer)) |
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
# https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#install_on_debian_ubuntu | |
sudo passenger start --min-instances 8 --max-pool-size 8 --port 80 --user ubuntu --environment production --daemonize | |
sudo passenger stop --pid-file tmp/pids/passenger.80.pid | |
sudo passenger-status |
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
var express = require('express'), | |
router = express.Router(), | |
request = require('request'), | |
hull = require('hull'); | |
hull.conf({ | |
appId: 'xxxx', | |
orgUrl: 'xxxx', | |
appSecret: 'xxxx' | |
}); |
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
TRUNCATE dataflow_batch_export; | |
TRUNCATE dataflow_batch_import; | |
TRUNCATE log_customer; | |
TRUNCATE log_quote; | |
TRUNCATE log_summary; | |
TRUNCATE log_summary_type; | |
TRUNCATE log_url; | |
TRUNCATE log_url_info; | |
TRUNCATE log_visitor; | |
TRUNCATE log_visitor_info; |
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 | |
extension_check(array( | |
'curl', | |
'dom', | |
'gd', | |
'hash', | |
'iconv', | |
'mcrypt', | |
'pcre', | |
'pdo', |
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
# sample synergy configuration file | |
# | |
# comments begin with the # character and continue to the end of | |
# line. comments may appear anywhere the syntax permits. | |
# +-------+ +--------+ | |
# |Laptop | |Desktop | | |
# | | | | | |
# +-------+ +--------+ | |
section: screens |
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
# Place the file in /etc/init.d/ and reboot | |
# create for a prerender | |
description 'phantomjs' | |
start on runlevel [2345] | |
stop on runlevel [06] | |
respawn | |
# in case of failure retry 3 times to respawn with 5 sec interval | |
respawn limit 3 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
# /etc/init/sidekiq-manager.conf - manage a set of Sidekiqs | |
# This example config should work with Ubuntu 12.04+. It | |
# allows you to manage multiple Sidekiq instances with | |
# Upstart, Ubuntu's native service management tool. | |
# | |
# See sidekiq.conf for how to manage a single Sidekiq instance. | |
# | |
# Use "stop workers" to stop all Sidekiq instances. | |
# Use "start workers" to start all instances. |
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
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
require 'colorize' | |
name = ARGV[0] | |
domains = ["com","net","org","io","in"] | |
domains.each do |check| | |
ref = "#{name}.#{check}".to_s | |
doc = Nokogiri::XML(open("http://www.whoisxmlapi.com/whoisserver/WhoisService?cmd=GET_DN_AVAILABILITY&domainName=#{ref}&username=chaitu87&password=sowmya&outputFormat=XML")) |
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
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
name = ARGV[0] | |
doc = Nokogiri::XML(open("http://www.whoisxmlapi.com/whoisserver/WhoisService?cmd=GET_DN_AVAILABILITY&domainName=" + name)) | |
puts doc.at_xpath('//DomainInfo//domainAvailability').text |