Jenkins email-ext jelly script on Linux ignore html - jelly

I am using example html.jelly script for email-ext plugin on Jenkins under Windows 7 and i recieved normal email message. But the same html.jelly file on Jenkins under Linux show me in letter all html code as text. How to fix it?
html.jelly file - https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/resources/hudson/plugins/emailext/templates/html.jelly
Thanks.

Related

Can't find a way to get graphic tablet drivers working on mint

So i was trying to install the XP Pen Driver for my Deco 01 v2 graphics tablet on my Linux Mint 19.2 Tina when i came to encounter the following error:
./Pentablet_Driver: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10' not found (required by ./Pentablet_Driver)
I went on to install qt 5.10, still the same error. Others suggested to just change the path wth sudo gedit /etc/ld.so.conf.d/randomLibs.conf which didn't change a thing.
Link to drivers:
https://www.xp-pen.com/download-440.html
The manufacturer has a page describing how to set up their software on Linux with pictures. However, when following them, you end up with a folder name somewhere along the line that has spaces in it, which causes issues.
So a modified set of instructions might look like this:
Connect your XP-Pen product to the computer.
Download the Linux Beta driver from XP-Pen official website.
When the download is complete, extract the compressed folder.
Rename the extracted folder to something without spaces.
Inside the renamed folder is another compressed folder which should be extracted.
Inside the final extracted folder, ensure "Pentablet_Driver.sh" has execution permissions by right clicking on it and going to "Properties->Permissions" and verifying that "Allow executing file as program" is checked.
Open the terminal. (CTRL+ALT+T)
Type "sudo ", then drag Pentablet_Driver.sh from the file browser onto the terminal.
Type the password to complete.
Make sure that you write exactly
sudo ./Pentablet_Driver.sh
instead
sudo ./Pentablet_Driver
I had the same error until I noticed that I forgot to add .sh at the end.

Windows installation through http URL

We have created a http URL and stored the windows setup files. Our requirements is to execute this setup files through HTTP.
we tried with command CURL http://192.168.2.20/win2k12/setup.exe but it shows only the ASCII characters.
Also is it possible to execute the .exe files through wget?
Can anyone help us how to execute the setup.exe file from command prompt?

How to burn .hex intel format file on cc2530 EB

Hello there I am a newbie working on the SMARTRF-05EB - Evaluation Board, I have installed SDCC and Contiki-2.6 in the Linux Virtual Machine. I am able to build all the examples present in this directory contiki-2.6/contiki/examples/cc2530dk , but I am clueless as to how to flash the final .hex image file on EB.
Is there a way to burn it from Linux directly using some command or do I have to switch back to Windows and use TI's Flash Programmer to burn the application image. When I try to flash the application using the Flash Programmer I get this message highlighted in RED : "Flash Image overlaps with the bootloader"
Can someone please let me know about how to correctly place the application code on a particular address so that I can save the bootloader from being corrupted by my application .hex file.
I would like to flash say for example the simple "hello world" .hex file.
Thanks
Hello there I had to figure it out by going through the documentation..so the commmand that I used in getting a successful output on the hardware was this
1) root#ubuntu:/home/contiki/contiki-2.6/examples/cc2530dk# make TARGET=cc2530dk clean
2) root#ubuntu:/home/contiki/contiki-2.6/examples/cc2530dk# make TARGET=cc2530dk
also in the previous directory, cd to hello-world and execute the 2 commands as below:
1) root#ubuntu:/home/contiki/contiki-2.6/examples/hello-world# make TARGET=cc2530dk clean
2) root#ubuntu:/home/contiki/contiki-2.6/examples/hello-world# make TARGET=cc2530dk
These 2 commands help in building the .hex for the SMART05-EB and then use the TI's SMARTRF STUDIO software or TI's Flash Programmer for burning the hex image on the SoC. Open up TeraTerm or anyother Serial Communication software and then choose the port with settings 115200 8-N-1 and you should be able to get the output on screen. I have issues in building the other examples in other directory - for eg ping-ipv6, so would be posting a new question regarding such examples.
Thanks
After compiling the code for the example you are working with it 'll create a platform specific file Ex. for sky (hello-world.sky) in you case it 'll be hello-world.cc2538dk. Just use the following command to convert it to ihex file
msp430-objcopy udp-multicast.exp2420 -O ihex udp-multicast.ihex
You can now rename the ihex file to hex file and upload the hex file to your mote using TI flash program (http://processors.wiki.ti.com/index.php/MSP430_Flasher_-_Command_Line_Programmer). From windows use the following command to upload the file.
MSP430Flasher.exe -n "MSP430F5438A" -m SBW4 -w your_hex_file.hex -i COMxx [VCC]

Scilab issue with exec command

I am using Scinote 5.4.0 with OSX 10.7.4. I am unable to execute script files from the console using the exec("path") command; when I do so, only the first line of the script file is read.
Example:
-->exec("plot1.sce")
-->x=[0:.1:10]'; //(the first line of my code)
If however I "execute with echo" from the editor Scinote, the script will run just fine.
Does anybody know what is going on? (The script files I am trying to run are in my present working directory).
Thanks!
Update: I just installed Scilab on an identical machine and the same thing is happening.
Update: Per Scilab's bugtracker, it appears to be caused by Scinote defaulting to cr eol on a mac. I don't really know what this means or how to fix it, but the adventure continues!
Update: I found the solution!:http://comments.gmane.org/gmane.comp.mathematics.scilab.user/6184
In the preferences, I changed the eol to Unix, and the default file encoding to iso-8859-1. I restarted and exec is now working!
The link is not easy to follow so here's the answer (pasted)
The problem is actually scinote's, not scilab's. I don't have a Lion
machine to check if I'm correct, but it seems scinote's file encoding
is no longer compatible in ML. I discovered that when I opened scinote
generated files with a different text editor (vi) the new lines
weren't encoded right for my machine. The other give-away was that
executing scripts written prior to upgrading worked fine.
Go to preferences and in the scinotes tab, switch default file
encoding to iso-8859-1. I also switched the end-of-line to Unix.

Cannot load a plain text file generated by a PHP - script using curl utility

I am sitting on a Mac OS X system and I cannot get around a simple problem from the domain of working with the command line: using the command curl http://mureakuha.com/dl.php?type=1&id=1234 I get no data from a (obviously) PHP script generating plain text files.
I expect the solution to be a matter of passing right flags to curl, yet I have no clue where to start. Any help much appreciated.
Try curl 'http://mureakuha.com/dl.php?type=1&id=1234'. The problem here is the unquoted & symbol in url.

Resources