Solving the The data directory was initialized by PostgreSQL version 9.4, which is not compatible with this version 9.5.0.
panic ;) This is mainly for Postgres installed via Homebrew, but you can adapt it to your system pretty easily.
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
Can't install RMagick 2.12.2. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information. | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of | |
necessary libraries and/or headers. Check the mkmf.log file for more | |
details. You may need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir |
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
do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --user-data-dir=\"/Volumes/PrivateHome/ChromeProfile\" > /dev/null 2>&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
git filter-branch -f --env-filter " | |
GIT_AUTHOR_NAME='Mailo Světel' | |
GIT_AUTHOR_EMAIL='development@rooland.cz' | |
GIT_COMMITTER_NAME='Mailo Světel' | |
GIT_COMMITTER_EMAIL='development@rooland.cz' | |
" HEAD |
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
visit('page.com/which-make-sense') | |
click_button('send') |
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
after do | |
TEST_DOCUMENTATION_FILE << "\n## %s %s"%[request.request_method,request.path_info] | |
TEST_DOCUMENTATION_FILE << "\n### Request" | |
TEST_DOCUMENTATION_FILE << "\n "+JSON.pretty_generate( | |
JSON.parse(request.POST.to_json) | |
).gsub(/\n/, "\n ") | |
TEST_DOCUMENTATION_FILE << "\n### Response" | |
response_formatted = JSON.pretty_generate( | |
JSON.parse(response.body.first) | |
).gsub(/\n/, "\n ") |
Replace:
/\n\s+\n/
With:
/\n\n/
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
before do | |
content_type 'application/json' | |
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
[~]$ brew install http://prosody.im/files/homebrew/prosody_0.9.1.rb [ruby-2.0.0-p247] | |
######################################################################## 100.0% | |
Installing http://www.luarocks.org/repositories/rocks/luasocket-2.0.2-5.src.rock... | |
Using http://www.luarocks.org/repositories/rocks/luasocket-2.0.2-5.src.rock... switching to 'build' mode | |
Archive: /private/tmp/luarocks_luarocks-rock-luasocket-2.0.2-5-7448/luasocket-2.0.2-5.src.rock | |
inflating: luasocket-2.0.2-5.rockspec | |
inflating: luasocket-2.0.2.tar.gz | |
cd src; make all | |
export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -fno-common -I/usr/local/opt/lua/include -c -o luasocket.o luasocket.c | |
export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN -fno-common -I/usr/local/opt/lua/include -c -o timeout.o timeout.c |