Techy Things

.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 {} \;...

Create your own Chrome Extension 0

Create your own Chrome Extension

Troubleshooting Problem There were warnings when trying to install this extension: Permission ‘://.google.com’ is unknown or URL pattern is malformed. http://stackoverflow.com/questions/17406941/webrequest-permission-malformed Sample Cookie Chrome Extension by Google http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/cookies/ Chrome Extensions Examples by Google https://developer.chrome.com/extensions/samples...

How to fix Vagrant machine index has become corrupt 0

How to fix Vagrant machine index has become corrupt

The machine index which stores all required information about running Vagrant environments has become corrupt. This is usually caused by external tampering of the Vagrant data folder. Vagrant cannot manage any Vagrant environments if...

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” “322×768+0+96″ “-resize” “63×150″ “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>...