tableau custom color pallete .. anyone know why this isn't working - data-visualization

I've edited the tableau pref file with the following, any thoughts on what's wrong here?
I've edited the preferences file in the repository with the snippet below, but it's not appearing in desktop.
<workbook>
<preferences>
<color-palette name="Test" type="regular" >
<color>#55efc4</color>
<color>#00b894</color>
<color>#ffeaa7</color>
<color>#fdcb6e</color>
<color>#81ecec</color>
<color>#00cec9</color>
<color>#fab1a0</color>
<color>#e17055</color>
<color>#74b9ff</color>
<color>#0984e3</color>
<color>#ff7675</color>
<color>#d63031</color>
<color>#a29bfe</color>
<color>#6c5ce7</color>
<color>#b2bec3</color>
<color>#2d3436</color>
</color-palette>
</preferences>
</workbook>

Have you restarted Tableau? It won't work until you do.
Also, please double check if you're editing the right repository (sometimes they may be misplaced when updating Tableau versions). Check you current rep folder on File > Repository folder

Related

Error : No repository found at http://rlogiacco.github.com/Natural

Currently I am using Eclipse for Java Developers 2020-12 and while trying to install Natural 0.9 plugin I am encountering an error which is "No repository found at http://rlogiacco.github.com/Natural".
Can someone suggest what should be done to rectify this ?
The below worked successfully for me. Hope it works for you too.
From the Eclipse "Help" menu, open "Install New Software..." Add a new site: Button "Add... " in the upper right Enter
Name - Natural
Location - http://rlogiacco.github.io/Natural
Note: Make sure there are no spaces in the Location field value
From the Eclipse "Help" menu, open "Install New Software..."
Add a new site: Button "Add... " in the upper right
Enter Name: "Natural", Location: "http ://rlogiacco.github.io/ Natural" (the correct link, remove blanks)
Click "Add", select what you want to install, and install.
Open Eclips--> Help-->InstallNewSoftware-->Click on Add button-->Enter Name:"Natural"-->Location= https://rlogiacco.github.io/Natural [ Space should not be there]-->Click on Add and and follow Instruction.
This solution is work for me.Refe attached successful Natural plugins installation snap.
enter image description here
Worked for me:-
Go to Help > Install new software > Add > Give it a name "Natural" > Add http://rlogiacco.github.io/Natural

Jenkins. How to change file content

I've created a new project in Jenkins.
But now I want to change some information in my .properties file
How can I do that? (I've already read about Environment Injector, but I don't think, that it's what I need)
So, and one more questions - will this changes commit in file? (I don't want to do that)
Thank you!
Try using a scripted pipeline and you can use groovy for this task. For instance:
Properties props = new Properties()
File propsFile = new File(".properties")
props.load(propsFile.newDataInputStream())
props.setProperty('key', 'value')
props.store(propsFile.newWriter(), null)
You open the properties file, change the value of a specific key element and write to the same file when done.
If you are making use of Jenkins and it is on a windows machine. You can make use of PowerShell to change the file content
Here in this example,
I am actually trying to modify the string occurrence 'Memory Usage' with Jenkins build number
(Get-Content C:\proj\Jenkins\workspace\QA.I9.Api\Sample.txt).replace('Memory Usage', $env:BUILD_NUMBER) | Set-Content C:\proj\Jenkins\workspace\QA.I9.Api\Sample.txt
Thanks,
xyzcoder.github.io

Visual Studio Code change my html code by itself and break all

Someone know the solution for this:
I have a simple Angular code inside Visual Studio Code and every time i save a file a fragment is changed by itself.
It: <app-mytag [myVarHere]="myVarHere"></app-mytag>
becomes it: <app-mytag></app-mytag>
by the simple act of save the file.
Im using nano editor outside to solve it.
Its my plugin list:
1tontech.angular-material
4tron.angular-material-snippets
Angular.ng-template
AngularDoc.angulardoc-vscode
EditorConfig.EditorConfig
GregorBiswanger.json2ts
HookyQR.beautify
MarinhoBrandao.Angular2Tests
NG-42.ng-fortytwo-vscode-extension
SimonTest.simontest
UVBrain.Angular2
abusaidm.html-snippets
anweber.vscode-tidyhtml
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
dbaeumer.vscode-eslint
eg2.tslint
eg2.vscode-npm-script
esbenp.prettier-vscode
felixfbecker.php-debug
felixfbecker.php-intellisense
felixfbecker.php-pack
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
jasonnutter.search-node-modules
johnpapa.Angular2
loiane.angular-extension-pack
ms-vscode.autorest
ms-vscode.cpptools
ms-vscode.typescript-javascript-grammar
msjsdiag.debugger-for-chrome
pkosta2006.rxjs-snippets
robertohuertasm.vscode-icons
steoates.autoimport
vuhrmeister.vscode-meteor
waderyan.nodejs-extension-pack
xabikos.JavaScriptSnippets
I think the culprit is anweber.vscode-tidyhtml plugin you are using. The reason why you lose the angular annotations is that, you have enabled tidyHtml.formatOnSave to true
You can disable the plugin or try removing tidyHtml.formatOnSave from your user settings by going in to:
Ctrl + F1 and type user settings
PS - I tried to recreate your problem and here's what happens:

IntelliJ Plugin Get Code From Current Open File

Basically, I want to know how to do this (Eclipse Plugin Get Code from Current Open File) in IntelliJ.
Just in case somebody is looking for this - if you want the file name of the currently open file, you have to jump through some additional hoops:
Document currentDoc = FileEditorManager.getInstance(project).getSelectedTextEditor().getDocument();
VirtualFile currentFile = FileDocumentManager.getInstance().getFile(currentDoc);
String fileName = currentFile.getPath()
(found this by entering "getSelectedTextEditor filename" in Github search - sometimes all you need is a pointer in the right direction...)
In what context? If you are inside an action, you can simply take everything from the ActionEvent, for example:
e.getData(LangDataKeys.EDITOR).getDocument().getText();
(When e is AnActionEvent).
Otherwise, you can get it from the project:
FileEditorManager.getInstance(project).getSelectedTextEditor().getDocument().getText();

Prestashop admin panel is lost after trying to export language packet

There were some language problems in my site which uses a specific theme so I thought,I should pick out the language pack edit and reload it. Because I couldn't find a way to edit it using browser on admin panel.
I just pressed a button named export language packet. I don't know if something happened that time. But it didn't give me a file (an exported file I mean) . So I didn't do anything else. But since that time I can't reach my admin panel. While I write the URL it shows me a big white screen.
On the other side the site itself (not admin panel) is reachable. What can I do to fix my problem?
Hi,
This is the error
( ! ) SCREAM: Error suppression ignored for
( ! ) Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in C:\wamp\www\httpdocs\translations\tr\admin.php on line 586
Call Stack
# Time Memory Function Location
1 0.0009 690552 {main}( ) ..\index.php:0
2 1.7995 9942280 DispatcherCore->dispatch( ) ..\index.php:50
3 2.0567 10375504 ControllerCore::getController( ) ..\Dispatcher.php:342
4 2.0686 12512728 AdminControllerCore->__construct( ) ..\Controller.php:128
5 2.0689 12514200 AdminControllerCore->l( ) ..\AdminController.php:304
6 2.0711 12612344 TranslateCore::getAdminTranslation( ) ..\AdminController.php:1737
The error you got is in your translation file in file translations\tr\admin.php on line number 586.
To fix that error, take a backup of that file, i.e. keep a copy of that file in some other place, then try to find out the syntax error you got there. It is some kind of PHP syntax error there in that translation file. As the translation file is only for the admin section, therefore your site front end may be fine and your site admin section is not working.
If you are not able to find that error and fix it, then delete all contents from that file, and then try to load the admin section.
You should use a translation pack which is provided by prestashop, ie download it from the prestashop http://www.prestashop.com/en/translations .
Also if you want to edit translations, use admin. In your question you mentioned, that you were not able to edit translations, please do provide details for that problem, and also try to edit translations while keeping error reporting on, so if there is any problem, you will get the errors printed. If you got errors printed, then update your question with that error message.
Let me know if you still got any questions.