Categories
Open Source OsX RabbitMq Solutions Web

RabbitMQ Server – Issue with High Sierra – Mac OS

After updating to High Sierra, I faced issues with starting rabbitmq-server.  The command gave the following error:

RabbitMQ 3.6.3. Copyright (C) 2007-2016 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
###### ## /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
##########
Starting broker...
completed with 10 plugins.
Assertion failed: (ctx), function digest_update, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/boringssl/boringssl-109.20.5/apple/crypto/digests.c, line 49.
/usr/local/sbin/rabbitmq-server: line 236: 2681 Abort trap: 6 start_rabbitmq_server "$@"

I narrowed down the issue to a problem with Home Brew. I had installed rabbitmq via HomeBrew a while back and with the changes in the operating system rabbitmq was failing to start.

Running the following command gave the below error message:

$ brew update
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: /usr/local is not writable. You should change the ownership
and permissions of /usr/local back to your user account:
sudo chown -R $(whoami) /usr/local

How to fix RabbitMQ Server – Issue with High Sierra

  1. Reinstall Home Brew using the following command:
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Then run:
    brew update
  3. Then run:
    brew reinstall rabbitmq
  4. Once done you must  be able to run rabbitmq-server to get the server up and running.
Categories
Chrome FaceBook Open Source Solutions Web

Top 50 High DA Directory Submission Sites

seoPosting your links in the right sites can send your SEO performance shooting through the roof.  One of the most important factors for classifying such sites is Domain Authority (DA).  Higher the Domain Authority the more value a link from that site holds for your SEO.

One of the best strategies is to put your links on these sites and watch your SEO performance go up.  Some of the sites need a back link to post your link and some even ask for a fee.  Finding these sites are not easy and hence here is a list of Directory Sites that have good DA, that you can use.

Top 50 High DA Directory Submission Sites for Quality Backlinks

Directory Name Name DA
Dmoz.in.net dmoz.in.net 75
Scrub the Web scrubtheweb.com 73
Directory World directoryworld.net 70
Free Website Directory freewebsitedirectory.com 58
So Much somuch.com 57
Vie Search viesearch.com 56
Jayde jayde.com 54
T Section tsection.com 52
1 Abc 1abc.org 52
Business Seek businessseek.biz 51
R Directory rdirectory.net 49
Cipinet cipinet.com 46
Pro Link Directory prolinkdirectory.com 45
Wwwi wwwi.co.uk 44
Directory My Link directmylink.com 44
Linkpedia linkpedia.net 44
9 Sites 9sites.net 44
Amray amray.com 43
Directory Fire directoryfire.com 42
Gain Web gainweb.org 42
The Web Directory the-web-directory.co.uk 42
Scrabble Stop links.scrabblestop.com 42
Submission 4u submission4u.com 42
Elite Sites Directory elitesitesdirectory.com 42
Suggest URL suggest-url.net 39
247 Web Directory 247webdirectory.com 39
Family Directory familydir.com 39
Wikid Web wikidweb.com 37
Synergy Directory synergy-directory.com 36
Vision Web Directory visionwebdirectory.com 35
Pi Series piseries.com 34
Nexus Directory nexusdirectory.com 34
Digg Directory diggdirectory.com 34
Dir4uk dir4uk.com 34
Royal Link Up royallinkup.com 34
Inteligentd inteligentd.com 33
Nipao nipao.org 33
10 Directory 10directory.com 33
Xysyst xysyst.net 33
Linkdir linkdir.info 32
SEO Up Link seouplink.com 32
Vision Web SEO visionwebseo.com 32
PR3 Plus pr3plus.com 31
The Net Directory the-net-directory.com 31
Best Free Websites bestfreewebsites.net 30
Directory Books directorybooks.com 30
Sighber Cafe sighbercafe.com 29
PR Web Link prweblink.com 29
Leading Link Directory leadinglinkdirectory.com 28
Suggest Site suggestsite.net 25
SEO Free Links seofreelinks.com 24
Categories
Android Apps Device Open Source Solutions

Swift Key – Turn Off Keyboard Touch Vibration

Swift Key is one of the best keyboards for Android and IOs. By default, its configured to enable vibration on key press (usually it takes the system defaults). If you are someone who dislikes this feature, here is a simple way to turn off keyboard touch vibration in it:

Steps to Disable Keyboard Touch Vibration in Swift Key:

  • Go to Home -> Settings -> Language & input

    Android Settings Page
    Android Settings Page
  • Tap on “Virtual Keyboard”
    Android Language & input
  • Locate “SwiftKey Keyboard” in the list and tap it
    Virtual Keyboard Menu
  • This will open the SwiftKey Settings… Tap on “Typing”
    Swiftkey Settings
  • Tap on “Sound & Vibration”
    Swiftkey Sound and Vibration Menu
  • Turn off “Keypress Vibration” & “Use the Android default vibration”
    Disable Vibration in SwiftKey
Categories
Linux MySql Open Source Solutions

How to Rename Column in Mysql

To Rename a Column in Mysql we need to use the ALTER query with CHANGE COLUMN statement. The standard version of this query is:

ALTER [ONLINE | OFFLINE] [IGNORE] TABLE tbl_name
CHANGE [COLUMN] old_col_name new_col_name column_definition
[FIRST|AFTER col_name]


For Example:

ALTER TABLE City CHANGE CityId cityId varchar(25) NOT NULL;

Note: You will need to mention every constraint of the original column as defaults are assumed otherwise.

Categories
JavaScript Open Source Solutions Web

JavaScript Date Format YYYY-MM-DD

Here is a simple function that takes the input of JS Date and returns a string of format YYYY-MM-DD:

var getDateFromDateTime = function(date) {
date = new Date(date); //Using this we can convert any date format to JS Date
var mm = date.getMonth() + 1; // getMonth() is zero-based
var dd = date.getDate();
if(mm<10){ mm="0"+mm; } if(dd<10){ dd="0"+dd; } return [date.getFullYear(), mm, dd].join('-'); // padding };