I have spent my entire day to troubleshoot the issue with my Python script. I have a python script using smbclient to open a share file in windows using this library – https://pypi.org/project/smbprotocol/ Everything seems working well, i have tested a couple of servers and they worked perfectly. So i move the script to production , one of my client use it and she reported that that there was an error. I tried on my dev machine, i have the same issue – the only difference is that the server is different. So my script only works with some servers. I spent hours and hoursRead More →

I just got a free PS3 from Marketplace. The owner said it’s not in working condition. I brought it home and tried to see what’s wrong with it. The PS3 powered on, everything looks normal, internet is good. I started to play a game, the screen just went black and i had to hard rebooted it. I did try many games , they all went to black. Again, i googled and they suggest me to go to recovery mode to rebuild database, filesystem, even restore the whole system, it didn’t help. I know PS3 can be jailbreak , so i watched some video how toRead More →

Whenever you run: smokeinfo /etc/smokeping/config , smokeping will load a lot of all configurations into memory, this takes a lot of time. Since we don’t change our configuration often, so why don’t we cache the configuration to a file and smokeping will just load it from a file. The script below is a modified version, it save about 3s loading time – i have about 7000 hosts to monitor , 3s is not a bad number. There are other things we can save time.Read More →

I connect my 27inch Apple LED Cinema display to my iMac 2011 – somehow i can’t control the brightness on my 2nd monitor. There is no option for me to control the brightness on the 2nd monitor, the brightness only appears in the primary monitor. How did i fix it? I download a tool to reset the 2nd monitor http://download.info.apple.com/Apple_Hardware_Test/EDID_Reset_Tool.dmg After you run the tool, power cycle your 2nd monitor, then you will see it brightness control option. Hope it helps.Read More →