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
dispatch_queue_t queue = dispatch_get_global_queue( | |
DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); | |
dispatch_async(queue, ^{ | |
//any thing | |
}); | |
//ref |
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
#wstars sphinx index files location | |
cd /var/intafeen/sphinx/ | |
# remove all indexes | |
rm * | |
su searchd | |
# rerun index | |
/usr/local/bin/indexer --config /usr/local/etc/sphinx.conf venues_idx | |
ls -alh | |
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
Edit php.ini | |
sendmail_path = /usr/sbin/sendmail -t -i | |
Turn on the mail server your hostconfig file: | |
Run sudo nano -w /etc/hostconfig in Terminal. Look for the line starting MAILSERVER=, if you don’t see it, add it and make sure it reads: | |
MAILSERVER=-YES- | |
Edit /etc/postfix/main.cf and add the following to the end: |
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
ant clean build -Denv.name=development -Dapi.type=internal | |
cp internal-datastore.war /Users/ahmedkammorah/apache-tomcat-7.0.37/webapps |
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
_ |
NewerOlder