Using an pan-genome building tool I've ended with a database in an unfamiliar format to me which in theory should be explorable by the Neo4j browser.
Nevertheless I can't seem to find any way to achieve so and any mention on how to do it in any bibliography besides the instructions of the manual provided by the author of said tool.
I've tried to do this using Neo4j community edition server (v. 3.5.3) with the example file same as the instructions suggest but it just doesn't seem to detect the database showing only the default one.
The mentioned part of the tutorial can be found here: https://www.bioinformatics.nl/pangenomics/manual/tutorial_part3/
So, copy the database content to the neo4j data folder. Once you have that, open the neo4j.conf file and set the following configuration:
dbms.default_database=chloroplast_DB
I am not exactly sure that is the database name, use the same name as is the database folder and then start the database.
Someone pointed me to this link:
http://nicolewhite.github.io/neo4j-jupyter/hello-world.html
It looks like it used to work before, but something got updated in py2neo or neo4j...
The repo is at:
https://github.com/nicolewhite/neo4j-jupyter
Does anyone have this working?
I've encountered 2 problems:
The methods called are removed from the API (I've tried installing py2neo 3 (an older release) - but it would mess up something in jupyter.
I've tried changing the script itself to use hard coded strings, but the jupyter lab notebook refuses to serve up the vis.css and .js resources (returning 403 forbidden). Maybe I didn't put those files in the right folder?
In the meantime, I guess I'll have to make do pasting a screenshot from the neo4j web interface into the notebook.
Will keep you posted if I make any progress on this.
Perhaps it's not suitable for you, but i hope my Hack will barely measure up to your problem.
stop Neo4j.
Download
7zip
Javinder
jbe (Java Bytecode Editor)
Search for two entries using Javinder.
Content-Security-Policy: frame-ancestors 'none'
X-Frame-Options: DENY
Open .jar with 7zip, extract and delete the corresponding file.
Open the extracted file with jbe and delete the corresponding entry (please note that the operation will be reflected immediately).
Write the modified file to .jar using 7zip.
start Neo4j
Open jupyter notebook with chrome.
Open Neo4j with iframe tag.
Do your work.
right click and print.
smpl file.
https://gist.github.com/nibuiro/bb7d14a6e6b87133ed74e04b4fd1403a
Are there any hosting providers which allow you to use your own text editor to edit hosted files? At the moment, I'm using Namecheap and I can only edit hosted files through their code editor which means I need to edit the files locally and then upload them if I want to use my own text editor. I'd really like to develop a site directly on the server so skipping this step would save quite a bit of time.
Specifically, I'd like to use Sublime Text 2. Google didn't help so I'm hoping someone hear could point me in the right direction.
Thanks.
It looks like EasyEditors might have what you need. It appears that you can edit the files on their site.
I haven't yet setup version control (GIT) for my development and production environments as a result I am facing trouble syncing everything. My site is powered by Drupal 7.
For example, for a Content type that I created, what exactly is the folder on my development site that I should be uploading. And as far as the content type I created, what folder should I be uploading to the live server?
Another case is where I make changes to 'Text formats' found in admin -> configuration and a couple of other places in admin -> configuration, well, Not sure what folder I should be uploading either.
Thanks much people!
P.S: Feel free to give me some slack for not setting up GIT or version control, lesson learnt but for now I need to get this uploaded
Thanks!
You don't need to upload any files/folders for the situations you've described, all content type and text format data is stored in the database.
Content type data is stored in the node_type table, and text formats are stored in the filter_format table.
Further data relating to both are stored in the variables table as serialised strings.
Hope that helps
I am trying to create an application to print documents over the web. I have created my document, and made a web page with a meta refresh tag, along the lines of this:
<meta http-equiv="refresh" content="3;http://example.com/download.epl2" />
I specify that the document has a content-type of application/x-epl2, and I have associated .epl2 files on my computer with a program that silently sends them to the printer.
I have put the website into my trusted sites zone.
Currently Internet Explorer pops up the "Open, Save, Cancel" dialog box with no option to automatically open the file.
Is there a setting in IE6/7/8 that I can use to have IE just open the file without prompting?
EDIT
The actual content of the file will differ based on the job, but essentially it is text that follows the Eltron Programming Language.
EDIT
I have accomplished this in both Chrome and Firefox by choosing "Automatically Open Files Of This Type From Now On"
EDIT
The machines this program will be used on will effectively be kiosks that are limited to only accessing my website from their web browsers, so I'm not worried about rogue websites sending documents to my printers.
EDIT
I am using PHP to generate the documents and HTML on the server side, though I expect the solution to be language agnostic.
I would expect that not to be possible, because then you could stumble onto a site that automatically loads and prints a 5000 page document or something, which would not be good.
If you always had a secret desire to develop a custom URL protocol (I know I do), this might be a good excuse to do it. ;-)
http://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx
There are 1-2 prompts when opening such a link for the first time in IE, but you can choose to automatically open them after that.
I would use javascript to make this happen.
Javascript Window Open
EDIT
Since you have control of the windows box you could use an automate script process to interact with the print window.
autoit3: ControlClick
Write a small utility program that does nothing but send the file passed to it on the command-line to the default system printer.
Then, edit the registry under HKEY_CLASSES_ROOT to associate this program with the .epl2 filetype.
I don't have time to investigate it for You, but there were lots of exploits that could be helpful. Using ie6 without certain fixes seems helpful.
Also there should be an option called "Automatic prompting for file downloads". I use Linux nowadays so I can't chceck if it helps. I found it in some docs.
I'm on a Mac at the moment, but if this is possible in IE I would imagine this page holds the answer to it (or at least hints at it) http://support.microsoft.com/kb/883255
I believe what you're looking for is a setting in Windows, not IE:
Microsoft Support: Not Prompted to Specify Download Folder for File
Try using an older version of IE. Security was looser in the older versions and since it's a non-issue, this could be the quickest solution.