type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
# Work around on | |
# ConvertFrom-Json : Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property. | |
$json = New-Object -TypeName System.Web.Script.Serialization.JavaScriptSerializer | |
$json.MaxJsonLength = 104857600 #100mb as bytes, default is 2mb | |
$filedata = [System.IO.File]::ReadAllText($JSONDataFile) #Using default encoding | |
$data = $json.DeserializeObject($filedata, [System.Object]) | |
$filedata = $null | |
$json = $null |
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |