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 | |
/* Save as custom/modules/InboundEmail/getMessageText.php */ | |
function custom_getMessageText($msgpart) { | |
if ( $res = preg_match_all("/\<body.*?\>(.*)\<\/body.*?\>/is", $msgpart , $match) > 0 ) { | |
$GLOBALS['log']->debug("*** custom_getMessageText: Body-tag found"); | |
$bodyhtml = $match[1][0]; | |
$body = strip_tags($bodyhtml); |
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
Installing : xorg-x11-proto-devel-7.6-13.el6.noarch 1/37 | |
Installing : libICE-1.0.6-1.el6.x86_64 2/37 | |
Installing : libSM-1.1.0-7.1.el6.x86_64 3/37 | |
Installing : libXt-1.0.7-1.el6.x86_64 4/37 | |
Installing : libXau-devel-1.0.5-1.el6.x86_64 5/37 | |
Installing : lcms-libs-1.19-1.el6.x86_64 |
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
bunny = Bunny.new(:host => "localhost" ) | |
bunny.start | |
APP_CONFIG[:asset_sync_bindings].each do |e| | |
queue = bunny.queue e[:queue], :durable => true | |
exchange = bunny.exchange e[:exchange] , :durable => true , :type => :fanout | |
queue.bind exchange | |
end |
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 :deploy do | |
desc "create imagehandler dirs" | |
task :create_dirs, :roles => :app do | |
@config=YAML.load_file('config/imagehandler_config.yml')["production"] | |
@config.keys.each do |key| | |
val = @config[key] | |
if val.is_a?(Hash) && val.keys.include?(:image_sizes) | |
val[:image_sizes].each do |name,val| | |
topdir = sprintf("%s/%s/",@config[:dirs][:image_storage_top_level_dir] ,name.to_s) | |
run "for dir in {{a..f},{0..9}}{{a..f},{0..9}} ; do mkdir -p #{topdir}/$folder/$dir/{{a..f},{0..9}}{{a..f},{0..9}} ; 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
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --disable-openmp --disable-openmp --disable-largefile --disable-cipher --disable-assert --with-quantum-depth= | |
8 | |
| CFLAGS="-march=native -mtune=native -fomit-frame-pointer -O2" | |
| CC=gcc | |
| CPPFLAGS='-I/usr/local/include' | |
| LDFLAGS='-L/usr/local/lib -R/usr/local/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
### server information | |
min_servers 5 | |
max_servers 80 | |
min_spare_servers 4 | |
max_requests 1000 | |
user nobody | |
group nobody | |
log_file /var/log/server.log | |
log_level 3 | |
pid_file /tmp/server.pid |
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
Delivered-To: niklasp@gmail.com | |
Received: by 10.68.25.132 with SMTP id c4csp29128pbg; | |
Wed, 14 Mar 2012 01:53:16 -0700 (PDT) | |
Received: by 10.152.103.239 with SMTP id fz15mr1255573lab.42.1331715195232; | |
Wed, 14 Mar 2012 01:53:15 -0700 (PDT) | |
Return-Path: <hemnet@napp01.localdomain> | |
Received: from napp01.localdomain (gw.hemnet.se. [82.99.25.39]) | |
by mx.google.com with ESMTP id b9si965175lba.4.2012.03.14.01.53.14; | |
Wed, 14 Mar 2012 01:53:15 -0700 (PDT) |
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
Delivered-To: niklasp@gmail.com | |
Received: by 10.68.25.132 with SMTP id c4csp29127pbg; | |
Wed, 14 Mar 2012 01:53:02 -0700 (PDT) | |
Received: by 10.152.113.136 with SMTP id iy8mr1212284lab.50.1331715181155; | |
Wed, 14 Mar 2012 01:53:01 -0700 (PDT) | |
Return-Path: <no_reply@hemnet.se> | |
Received: from gw.hemnet.se (gw.hemnet.se. [82.99.25.39]) | |
by mx.google.com with ESMTP id q9si960125lbx.40.2012.03.14.01.53.00; | |
Wed, 14 Mar 2012 01:53:01 -0700 (PDT) |
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
Delivered-To: niklasp@gmail.com | |
Received: by 10.68.25.132 with SMTP id c4csp6084pbg; | |
Mon, 12 Mar 2012 02:47:35 -0700 (PDT) | |
Received: by 10.152.105.211 with SMTP id go19mr1130018lab.51.1331545653622; | |
Mon, 12 Mar 2012 02:47:33 -0700 (PDT) | |
Return-Path: <hemnet@napp01.localdomain> | |
Received: from napp01.localdomain (gw.hemnet.se. [82.99.25.39]) | |
by mx.google.com with ESMTP id b9si4745146lba.67.2012.03.12.02.47.32; | |
Mon, 12 Mar 2012 02:47:33 -0700 (PDT) | |
Received-SPF: neutral (google.com: 82.99.25.39 is neither permitted nor denied by best guess record for domain of hemnet@napp01.localdomain) client-ip=82.99.25.39; |
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
curl --form inspiration_logo=@../../128.gif http://www.ruby19.hemnet.se/maklare_service/set_maklarfirmaanpassning?maklarfirma_id=24 | |
NewerOlder