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
diff --git a/src/pgm_socket.cpp b/src/pgm_socket.cpp | |
index 7925c6e..fc26161 100644 | |
--- a/src/pgm_socket.cpp | |
+++ b/src/pgm_socket.cpp | |
@@ -325,7 +325,7 @@ int zmq::pgm_socket_t::init (bool udp_encapsulation_, const char *network_) | |
// Set IP level parameters. | |
{ | |
// Multicast loopback disabled by default | |
- const int multicast_loop = 0; | |
+ const int multicast_loop = 1; |
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
LINUX=$(shell uname | grep Linux | wc -l | xargs echo) | |
DEPS=../deps | |
ifeq ($(LINUX),1) | |
ZMQ_FLAGS="--with-pgm=libpgm-5.2.122" | |
else | |
ZMQ_FLAGS="--with-pgm=libpgm-5.2.122" | |
endif | |
ifndef ZEROMQ_VERSION |
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
wget http://ftp.postgresql.org/pub/source/v9.2.4/postgresql-9.2.4.tar.bz2 | |
tar xjf postgresql-9.2.4.tar.bz2 | |
vulcan create | |
vulcan build -v -n postgresql-9.2.4 -s ./postgresql-9.2.4 -c "./configure --prefix /app/vendor/postgresql-9.2.4 --enable-thread-safety --without-docdir --with-openssl && make install" |
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
USE TestDB | |
-- SQL Join visualization | |
-- http://www.codeproject.com/KB/database/Visual_SQL_Joins/Visual_SQL_JOINS_orig.jpg | |
DROP TABLE [dbo].Authors | |
DROP TABLE [dbo].Books | |
CREATE TABLE [dbo].[Authors]( | |
[id] [int] IDENTITY(1,1) NOT NULL, |
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
# Author: Ahmed Al Hafoudh <[email protected] | |
# | |
# Usage: ruby stickies-to-notes.rb | |
# | |
# Prerequisites: | |
# gem install rb-appscript | |
# | |
require 'appscript' | |
require 'osax' |
NewerOlder