where is common.min.js located? - splunk

We are working on a project which involves custom branding. We are using a tool called Splunk. We need to add a label along with Splunk logo. We investigated with firebug and we could see that there is a references to that splunk logo in common.js and common.min.js file. We are using splunk version6.2. We located the common.js file in the below path.
(Path :home dir\Splunk\share\splunk\search_mrsparkle\exposed\js\build\bundles\common.js ). When we changed the logo in common.js file, we were able to see the changes, refelected.
So we tried to searched for the common.min.js file, we were not able to locate that file.
Can some one throw some light on where this common.min.js file will be located. If we are able to locate it, we will be able to make our branding changes.
From the Firebug, we are able to see that that common.min.js file is located in the http://domainname/static/#245427/js path. We are not able to locate that file in our server.
Any help on this is appreciated.

Related

SetPreference in Edge for change directory download

I need to change the directory where I'll save a file coming from the download after clicking a link. I was able to find and click on the link, but I need to set the location and name of the file.
I'm using VBA

How to Create .cmake File

I was working on a project which requires me to add a user.cmake file in the root directory. Can anyone help me out hot to create the .cmake file...
Link to Project Directory
According to the link you provided user.cmake just needs to point where so-called eego sdk is located in your file system:
set(EEGO_SDK_ZIP /path/to/download/eego-sdk-1.3.19.40453.zip)
There is nothing fancy actually here, just make a plain text file, put this one line (don't forget to replace the EEGO_SDK_ZIP variable content) and save it with the name user.cmake

Intellij: javafx application icon

How to set default application bootstrapper(?) icon, builded by Intellij?
I think you are asking how to change the icon of an exe file.
First if you do not have the ico file get the picture you want from google and then convert it into an ico file. using: "http://convertico.com/"
I googled how to modify an exe file and actually modified the icon of an exe file from this link:
http://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/
read the above link and go through the steps for full solution.
it uses resource hacker which seems pretty well known and used.
but...
if you get access denied:
"I ended up changing googlechrome icon but was receiving access denied. So i saved as googlechrome1 on my desktop. renamed to googlechrome.exe (on Desktop).
next, I went to the location of googlechrome.exe - in program files deleted googlechrome.exe and then moved the clone from desktop to that location."

automatically place downloaded files in folder bsed on downloads extension suffix

I’m making a simple web browser for work eeh, what I’d like to know is if its possible to save a file of a particular extension to a particular file.
I currently use google chrome when downloading a file it places this (regardless of extension) in a downloads folder without asking where I ant to download this too.
I want to achieve the same except that downloads with the extension .dwg are placed automatically in a folder named DWG DOWNLOADS…
How to achieve this in vb.net?
In any browser you have a config section.
In Firefox you have browser.download.useDownloadDir;true and browser.download.folderList;1
you can add your own config to allow different saved folder paths and dynamically modify them depending on the extension of the file you uploaded.
See a complete list of the web browser config with about:config in address bar.
Not real sure what you are asking, but if you are actually making a web browser just check the extension of the file you are requesting to download. If the extension is ".dwg" then save the file to the folder you want.
If you are wanting to automatically move Google Chrome downloads to a different directory, you can use a FileSystemWatcher to monitor for new files in Chrome's download directory and move them to another folder based on each file's extension.

Intellij Idea problem with text file impossible to read

I have a problem using Intellij Idea.
I am absolutely unable to load text file as InputStream - it doesnt matter where do I put the file (main/java, main/resources...) it just can't find the file - in Eclipse everything works just fine.
I tried setings->compiler->resource patterns and added ?*.txt but that doesn't seem to work either.
Any help is appreciated.
If you load it as a File, make sure that Working Directory is properly set in IDEA Run/Debug Configuration, since it's the default directory where Java will look for a file when you try to access it like new File("file.txt"). Working directory should be set to the directory of your project containing .txt files.
If you load files as a classpath resource, then they should reside somewhere under Source root and will be copied to the classpath according to Settings | Compiler | Resource Patterns.
If you can't get it working, upload your project somewhere including IDEA project files so that we can point to your mistake.
Look at the image, notice that the txt files are in the project root, and not the source folders (in blue).
If you open the Project Structure dialog, and click on Modules and select your module - are the correct folders marked as Source Folders on the sources tab?
Link for how to get to Project Structure dialog
Also, if you print out the absolute path of that file you are trying to read, is that anywhere near where you expect it to be?
An easy way to figure out the same would be to try creating a file in the same fashion and see where it gets created in your project. You can put your input file at the same location and it should work just fine (if it doesn't, you should check your resource pattern which might be causing the file to be not copied over in the build output).
This method actually gives you the working directory of your intellij settings which is pointed out in the accepted answer. Just sharing as I had similar trouble and I figured out this way. :)