Skip to content

Instantly share code, notes, and snippets.

View babnik63's full-sized avatar

Babak Niknia babnik63

  • NEGSO(Next Generation Solutions)
View GitHub Profile
package io.deepstream;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import java.util.Properties;
public class test {
@BretFisher
BretFisher / checkForSettings.js
Created January 15, 2015 16:06
Meteor App Check for Ensuring You're Using --settings
// lets complain to server command line if you forgot --settings when running Meteor
Meteor.startup(function () {
if (Meteor.isServer) {
if (Object.keys(Meteor.settings).length === 0) {
console.log("You forgot to run Meteor with --settings!");
}
}
});
# add the email package
meteor add email
@rodleviton
rodleviton / imagemagick-install-steps
Created May 26, 2014 07:37
Installing Image Magick on Ubuntu 14.04
sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
wget http://www.imagemagick.org/download/ImageMagick-6.8.7-7.tar.gz
tar xzvf ImageMagick-6.8.9-1.tar.gz
cd ImageMagick-6.8.9-1/
./configure --prefix=/opt/imagemagick-6.8 && make
checkinstall