How to allow remote connection to mysql

How to allow remote connection to mysql

I have installed MySQL Community Edition 5.5 on my local machine and I want to allow remote connections so that I can connect from external source.How can I do that? 1:That is allowed by default on MySQL.What is disabled by default is re

What are the Xms and Xmx parameters when starting JVMs? [duplicate]

What are the Xms and Xmx parameters when starting JVMs? [duplicate]

This question already has an answer here: How is the default Java heap size determined? 7 answers Please explain the use of Xms and Xmx parameters in J

Why doesn't “cd” work in a shell script?

Why doesn't “cd” work in a shell script?

I'm trying to write a small script to change the current directory to my project directory:#!/bin/bashcd /home/tree/projects/javaI saved this file as proj, added execute permission with chmod, and copied it to /usr/bin. When I call it by:pr

What is the difference between a deep copy and a shallow copy?

What is the difference between a deep copy and a shallow copy?

What is the difference between a deep copy and a shallow copy? 1:Shallow copies duplicate as little as possible. A shallow copy of a collection is a copy of the collection structure, not the elements. With a shallow copy, two collectio

How to concatenate text from multiple rows into a single text string in SQL server?

How to concatenate text from multiple rows into a single text string in SQL server?

Consider a database table holding names, with three rows:PeterPaulMaryIs there an easy way to turn this into a single string of Peter, Paul, Mary? 1:I had a similar issue when I was trying to join two tables with one-to-many relationship

maven install error - only whitespace content allowed before start tag and not \\u0

maven install error - only whitespace content allowed before start tag and not \\u0

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project ecommerce-web: Failed to install metadata com.app:ecommerce-web/maven-metadata.xml: Could not parse metadata C:\Users\ad

ImportError HDFStore requires PyTables No module named tables

ImportError HDFStore requires PyTables No module named tables

import pandas as pddfs = pd.HDFStore('xxxxx.h5')Server is giving error as"ImportError: HDFStore requires PyTables, "No module named tables" problem importing"I tried to install PyTables, which Requires Cython.I have Cython 0.21 installed, b

How to open/run .jar file (double-click not working)?

How to open/run .jar file (double-click not working)?

I can't open or run my .jar file.I just installed java, but I tried to open the .jar with other programs first, so the double-click defaults to something else and I can't change it back.java -jar myfile.jar returns "'java' is not recognized

Postgres vs Firebird [closed]

Postgres vs Firebird [closed]

I'm looking to use either Firebird or Postgres in my next development project ... largely because both are available under a BSD-like license.I found a great comparison of the two database at http://web.archive.org/web/20100305134128/http:/

Register a Stream “completion” hook

Register a Stream “completion” hook

Using the Java 8 Stream API, I would like to register a "completion hook", along the lines of:Stream stream = Stream.of("a", "b", "c");// additional filters / mappings that I don't controlstream.onComplete((Completion c) -> { // This is

Most current iOS version distribution percentage?

Most current iOS version distribution percentage?

I started working on a new app and I wanted to use all of the new iOS5 features (including storyboard) but I'm afraid to limit my app to iOS5 users only.I couldn't find any information about iOS5 usage VS iOSall users have iOS5. What matter

How to see which files have not been saved in Android Studio?

How to see which files have not been saved in Android Studio?

Coming from Eclipse I now use Android Studio for development. In Eclipse it was always clear which files were not saved, but in Android studio I see no distinction between the open files that have been saved, and the ones that haven't. Plus

Is there a way to create a folder-specific readme file in github?

Is there a way to create a folder-specific readme file in github?

Github parses and displays a readme.txt or readme.md file at the root of the repository.I would like to create a similar readme file for a particular folder. Is there a way to accomplish this?One ugly hack I thought of was to name the file

System.Collections.Generic.List does not contain a definition for 'Select'

System.Collections.Generic.List does not contain a definition for 'Select'

This error is happening in many of the files in my "Views" folder: 'System.Collection.GenericList' does not contain a definition for 'Select' accepting a first argument of type 'System.Collections.GenericList' could be found (are you mi

python 'bigfloat' package installation issues

python 'bigfloat' package installation issues

I'm trying to get the package 'bigfloat' installed on my Mac (OS X 10.8.4), and I'm running into some issues. The package 'bigfloat' requires two other dependencies: 1) mpfr, and 2) gmp.I've installed gmp here: http://gmplib.org/ checkin

Rails paperclip gem - Get file from private folder

Rails paperclip gem - Get file from private folder

I'm using paperclip to upload files to my server.If I don't specify the path, paperclip saves the file to a public folder, and then I can download it by accessing in the view.But if I specify the path to a non-public folder, it's not possi

Too long paths because of nested node dependencies

Too long paths because of nested node dependencies

I'm using npm to install dependencies. After I have installed those, I want to share my project with someone who is not technical, and doesn't have npm, so I want to ship the node_modules inside the app.However, because node nests the depen

How to get the user email in Firebase based on user id

How to get the user email in Firebase based on user id

I need to get a user object, specifically the user email, I will have the user id in this format:simplelogin:6So I need to write a function something like this:getUserEmail('simplelogin:6')Is that possible? 1:To get the email address of

Is it possible to permanently update the value of a TeamCity build parameter as a result of a custom

Is it possible to permanently update the value of a TeamCity build parameter as a result of a custom

Is it possible to permanently update the value of a build parameter as a result of a custom run?For example, consider a build which is configured to have the build number format:%Major%.%Minor%.%Patch%.%build.counter%Major, Minor and Patch

Configuring custom authorization with ELMAH

Configuring custom authorization with ELMAH

How can I configure ELMAH to display only for certain people without default ASP.NET authorization roles manager?I (as well as many others, I think) use my own authorization logic and build my projects from zero without using provided templ

objective c check if Bluetooth Availability Changed [duplicate]

objective c check if Bluetooth Availability Changed [duplicate]

This question already has an answer here: How to get the status of bluetooth (ON/OFF) in iphone programmatically 6 answers The question is simple: Is t

Convert .png to PVRTC *on* the iPhone

Convert .png to PVRTC *on* the iPhone

Is there a standard mechanism or known library that will convert .png images to compressed PVRTC textures on the iPhone itself (not during development using the standard tools on OS X).I have a number of .png textures in my application but

Running Clojure and other Lisp at the same time on Emacs

Running Clojure and other Lisp at the same time on Emacs

I use Aquamacs, and Aquamacs is pre-equipped with SLIME.(setq inferior-lisp-program "/usr/local/bin/sbcl") #####!!!(add-to-list 'load-path "/Library/Application Support/Aquamacs Emacs/SLIME/contrib")(add-to-list 'load-path "/Library/Applica

Grant access to NAB programatically on iOS 7.0 Simulator

Grant access to NAB programatically on iOS 7.0 Simulator

Is it possible to grant access to the native address book (NAB) on iOS 7.0 Simulator programmatically? I am writing xctest Unit Tests that need write access to NAB. The unit tests are run on iOS 7.0 Simulator and are part of Continuous Inte

Getting started with cronjobs on a Mac

Getting started with cronjobs on a Mac

I'm trying to get familiar with cron jobs, and I think I get the basic idea (scheduling, syntax, etc), But, I can't seem to get it right on my mac with Terminal - where exactly do I find the Crontab? How should I reference the paths to scri