Category: linux

.DS_Store in require.js 0

.DS_Store in require.js

To remove in your project: $> find ./ -name ".DS_Store" -exec rm -fr {} \; To remove all of them on your computer $> sudo find / -name ".DS_Store" -depth -exec rm {} \;...

Error: Could not execute GraphicsMagick/ImageMagick 0

Error: Could not execute GraphicsMagick/ImageMagick

Error : /home/chatzone/domains/node.chatzone.tv/nodesand/routes/users.js:332 if (err) throw err; ^ Error: Could not execute GraphicsMagick/ImageMagick: convert "tmpFile-55b541ab249e510612e6b60a-3465" "-background" "#000000" "-rotate" "0" "-crop" "322x768+0+96" "-resize" "63x150" "tmpOutFile-55b541ab249e510612e6b60a-3990" this most likely means the gm/convert binaries can't be found...

Installing node on a Linux Debian server 0

Installing node on a Linux Debian server

$> sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev $> git clone https://github.com/joyent/node.git $> cd node $> git checkout v0.12.7 (or the latest release) $> ./configure --openssl-libpath=/usr/lib/ssl $> make (it might take a...

How fo fix Image from origin AWS has been blocked Cross-Origin 0

How fo fix Image from origin AWS has been blocked Cross-Origin

Image from origin 'https://olignyf-sandbox.s3.amazonaws.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present Solution: On AWS bucket Properties, set CORS Configuration to : <CORSConfiguration> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds>...

Setup a Ruby on Rails dev on Windows and prod on Linux 0

Setup a Ruby on Rails dev on Windows and prod on Linux

1. Install Ruby and DevKit on Windows Download Ruby installer and DevKit from http://rubyinstaller.org/downloads/. At the time of writing for example it is : http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.1.7-x64.exe http://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe $> cd C:\Ruby21-x64\DevKit $> ruby dk.rb init $> ruby...

Debug with GUI C++ Apps on Linux with QtCreator 0

Debug with GUI C++ Apps on Linux with QtCreator

Qt 4.8 Get the latest Qt 4.8 source code from Qt-Project website, e.g. v. 4.8.7 : http://download.qt-project.org/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz Some additional packages need to be installed before building Qt : sudo yum install libX11-devel libXext-devel mesa-libGL-devel...