Skip to content

Instantly share code, notes, and snippets.

Bulent Turkmen faranjit

Block or report user

Report or block faranjit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mongo-autostart-osx.md

Install with Homebrew

brew install mongodb

Set up launchctl to auto start mongod

$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents

/usr/local/opt/mongodb/ is a symlink to /usr/local/Cellar/mongodb/x.y.z (e.g., 2.4.9)

@faranjit
faranjit / android fragment navigation manager
Last active Nov 7, 2017
navigation manager for fragments
View android fragment navigation manager
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.text.TextUtils;
import your.package.R;
public class NavigationManager {
private FragmentManager mFragmentManager;
You can’t perform that action at this time.