Its all about – Javascript

Screen Shot 2018-08-03 at 9.59.09 pm.png

Advertisements
Image | Posted on by | Leave a comment

Simplest OpenVPN setup and configuration, designed for Raspberry Pi.

Click Here

Posted in Uncategorized | Leave a comment

Encrypt-Decrypt ASP.NET Web.Config file

Though its not critical, its better to encrypt the passwords and connection strings.

Encrypt :

Path.to.net.framework.directory\aspnet_regiis.exe -pdf  “appSettings”   “path.to.web.config.directory”

Path.to.net.framework.directory\aspnet_regiis.exe -pdf  “aconnectionStrings”   “path.to.web.config.directory”

Replace “pdf” with “pef” for encryption.

I had an AD connection credentials inside <system.web>. The way to encrypt a section inside such tag is, ( example membership section )

aspnet_regiis.exe -pef  “system.web/membership” “path.to.web.config”.

 

 

 

 

 

 

Posted in Uncategorized | Leave a comment

Upgrade Ubuntu 16.04 LTS to Ubuntu 18.04 LTS

Click this link to view the tutorial.

Upgrade is at your own risk. For me some php applications stopped working ( eg. owncloud )

 

Posted in Uncategorized | Leave a comment

Go Green, Go Solar

First step towards ‘Go Green

And here comes another step,

 

 

 

 

Posted in Uncategorized | Tagged , , | Leave a comment

Extract XML data with SQL Server

I had FHIR resource (https://www.hl7.org/fhir/) saved as XML in a SQL server database. After bit of a struggle found the way to extract data from XML, eg Given below to extract the FHIR resource status,

;WITH XMLNAMESPACES ('http://hl7.org/fhir' as X) select XMLDataColumn.value('(/X:FHIR_RESOURCE/X:status/@value)[1]', 'nvarchar(max)') as FHIR_Resource_Status
from FHIR_Resource_Table

Posted in FHIR, Uncategorized, xmlns | Leave a comment

Smart TV with ownCloud

Whenever you want to watch a movie, its troublesome to copy that to a USB and plug into your smart TV. Specially if its several Gigabytes of data.

A workaround is to created your OwnCloud server at home and copy all movies to one centralised place. Then go to Internet in Smart TV app and click on the movie. This works with mp4 formats. File with extension MOV doesnt work.

owncloud.png

 

 

Posted in Uncategorized | Leave a comment