Posts

Showing posts from 2018

Compare Image from file

Imports System.IO Imports System.Drawing Dim img As Image Dim img1,img2 as String Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load    img = Image.FromFile("C:\Img1.jpg")    img1 = Convert.ToBase64String(imageToByteArray(img))    img = Image.FromFile("C:\Img2.jpg")    img2 = Convert.ToBase64String(imageToByteArray(img))    if img1 = img2 then       response.write("Same Image")    else       response.write("Difference Image")    end if End Sub Public Function imageToByteArray(ByVal imageIn As System.Drawing.Image) As Byte()         Dim ms As MemoryStream = New MemoryStream()         imageIn.Save(ms, Imaging.ImageFormat.Jpeg)         Return ms.ToArray() End Function

All Samsung Secrets Codes

*#87976633# Repair EFS  เป็นรหัสรีแพร์ EFS (แก้จอขึ้นตัวหนังสือสีเหลือง) ครับ #*#4636#*#* phone information *2767*3855# hard reset *#*#7780#*#* factory reset *#*#7594#*#* change end call/power option *#*#197328640#*#* service mode *#*#273283*255*663282*#*#* file copy screen (backup media files) *#*#526#*#* wlan test *#*#232338#*#* shows wifi mac address *#*#1472365#*#* gps test *#*#1575#*#* another gps test *#*#232331#*#* bluetooth test *#*#232337#*# shows bluetooth device address *#*#8255#*#* gtalk service monitor

HP 3PAR - Shutdown

- SSH to IP of HP3PAR - SSH:> shutdownsys -halt - Wait 2-3 minutes for the node to halt

Log of SSRS

Database Log Use ReportServer   select * from ExecutionLog3 order by TimeStart DESC Text file Log C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles