Get chrome user profile information - google-chrome

Goal
To be able to programmatically obtain the chrome profile display name, as well as the image associated with them.
Question
Where within the chrome user data directory
%LOCALAPPDATA%\\Google\\Chrome\\User Data\\Profile X
Would I be able to find the information I am seeking?
To elaborate, the following image illustrates what data I am referring to
Profile 1 Image: Bike Name: Leisure
Profile 2 Image: empty Name: Empty
...

Related

Jmeter - testing multiple urls in one Transaction controller and top 9 page's in another one

First I have a transaction controller with the top 9 pages inside. That is working well.
But the transaction controller with browse a random page doesn't work. I tried already different things but it keeps saying 100% error.
Can someone help?
This is my setup:
This is how i did setup the CSV data setup
And this is what is in Browse random bouwdomein
FYI in User Defined Variables is stated: BASE_URL_1 under Name
And in Value the URL (for example as www.google.com)
Hope someone can help me to get it working.
Your "different things" and "100% error" unfortunately don't tell anything to us, in order to be able to help we need to see:
At least first 2 lines of your content.csv file
View Results Tree listener showing request and response details
jmeter.log file (preferably with debug level logging enabled)
Given your content.csv file:
exists in the given relative path
has valid IP addresses and/or DNS hostnames of your "top 9 pages" your configuration should work normally

How to Access NYC ACRIS Real Property Master via SODA2

How do we access NYC ACRIS Real Property Master via SODA2?
To recreate the issue:
go to: (step 1)
https://data.cityofnewyork.us/City-Government/ACRIS-Real-Property-Master/bnx9-e6tj
Navigate to Export -> SODA API - API Docs
you will end up here: (step 2)
https://dev.socrata.com/foundry/#/data.cityofnewyork.us/bnx9-e6tj
We see this authorization screen and even after allow'ing the same screen appears again and again, it seems to be in a loop. Can you help? This works for tiny files but not the ACRIS Master File, it appears.
Here's a picture of step 2 above:
Unfortunately the ACRIS Real Property Master filtered view is a bit of a weird case that the City of New York has set up for their data.
That filtered view (denoted by the blue "funnel" icon you see at the upper left) is actually a limited access version of a dataset that has been made private, hence the page asking you to authenticate before viewing the API docs for the base dataset.
You can make a limited class of queries through the API endpoint for the filtered view itself:
https://data.cityofnewyork.us/resource/bnx9-e6tj.json
What are you looking to do?

Magento: Creating Multiple store and products display issue

I have magento store (version 1.9) and 10 categories under root categories. Now I created sub-store following these steps:
1) Admin-> System-> manage store
2) Create website, created store (selected 'root category'), created store view[code: new]
3) System->Configuration->General->Web: Change value of 'Add store code to Urls' to yes
4) I can access substore with url: http://example.com/new and its working fine.
Problem: No products and cms pages are displaying in my site. How can I achive it and also did I created sub-store properly?
Sharing your knowledge is highly appreciated.
Multiple stores creation was correct.
Display products on all stores:
Go to your manage products page, click select all, change the action dropdown to say "Change Attributes" and click submit. Then, on the websites tab, make sure your new site is checked in the "Add Product to Websites" area, and click save
CMS Pages: I had to go to edit every CMS page to display to all stores.

Box API v2 - Retrieving folder items with fields, is tag allowed?

I'd like to move up to v2 of the Box API, however I cannot currently retrieve the tags like you can in the previous api. Can you add the tags as a field in the GET call to the v2 api?
Thanks all,
Chad.
They are a part of the V2 API. If you look at the documentation for folders, you can see that the tag entry is a green entry. That means that you have to explicitly ask for that field in order for us to return it to you. The ?fields parameter will let you ask for only the fields you want (instead of the default set that Box automatically gives you as part of it's responses)
Note that if you are trying to get this info for all the items in a folder, there is a difference in asking for the details about a folder, and asking for the details about every item in a folder. ?fields works for both (and also works if you're doing a POST or PUT operation too).
If you want the details about a single folder: GET ./folders/<id>?fields=a,b,c
If you want the details about all the items inside a folder GET ./folders/<id>/items?fields=a,b,c

Gnome 3 displays two icons for same app in dock

I have created my own .desktop file for an application (sublimetext) in gnome 3 (fedora 16) I have succeeded in that:
[Desktop Entry]
Version=1.0
Name=Sublime Text 2
Comment=Text Editor
Terminal=false
Exec=sublime
Icon=/home/asher/apps/SublimeText2/Icon.png
Type=Application
Categories=TextEditor;Tools;
X-Ayatana-Desktop-Shortcuts=NewWindow
[NewWindow Shortcut Group]
Name=New Window
Exec=sublime
I want to add it to my favorites so it's locked to the sidebar. I did that, as you can see in the first screenshot, where no windows are open. The problem is, when I then open the program, another icon displays in the dockbar. The second icon is where the windows for the program are listed. The windows are consolidated to one icon, as you can see in the third screenshoot with two windows open (only two icons, not three).
Is there a way to make the favorited icon be the same as the icon that shows when the app launches? Does it have to be done in the program, or is this something I can do through a gnome 3 config file?
there's nothing wrong with your system.
The duplicated launcher icons explained:
The different icons are different commandline options. Some context applications with call the associated *.desktop icon. The exec option of the icon will depend on how the application is called.
Some of the Icons you show in your image may be obvious because of the difference in the way they are named. You can see the difference in the way the app is called by right clicking and clicking on properties to see other differences.
Some of the *.desktop files have a %U argument, used so the application will accept arguments.
Some of the Launchers are different commands that are called differently and are named differently often by a symbolic link.
Some exampes from the list in you image are:
Name: Online Accounts
Command: unity-control-center credentials
Name: Online Accounts
Command: Online account credentials and settings
Name: Personal File Sharing
Command: gnome-file-share-properties
Name: Rhythmbox
Command: rhythmbox %U
Name: Rhythmbox
Command rhythmbox-client --select-source %U
Source: link