We love thinkpads. They are safe, reliable and durable laptops. All modern Thinkpad laptops come with advance security chip (TPM) and BIOS settings are encrypted inside EEPROM to prevent unauthorized access to the system and BIOS. Unlike desktops, there is no security jumper for setting/overriding the BIOS supervisor mode. The common technique of disconnecting “BIOS … Read moreHow to clear supervisor password of a Thinkpad Laptop
Method Chaining is a technique where different methods are chained together into single instruction. For example, $dao->execute()->prepare($var) ; The above method of chaining will work as long as the functions called will return an object to chain on. For example, object->function_3(); (object-function_2())->function_3(); // function_3 still gets an obj ( ( object->function_1() )->function_2() )->function_3(); // … Read moreMethod Chaining in PHP
Basic Bootstrap Classes .container sets fixed width to an element (which changes depending on a screen size to other fixed values, so it’s still responsive) on all screen sizes except xs – on xs, the width is calculated automatically (this behaviour can be changed) a fixed width responsive website should be wrapped in .container (or … Read moreBootstrap CSS3 Class LIst
Why would you want to do that? Is it because you are executing an application in php and its not working. Sometimes you need to refresh the page twice to get it work, or maybe its only working once and then it would work only after executing the cookie cleaner? Solution : Add the following … Read moreHow to disable php session() cookie ?
My old websites would not run after a php upgrade to version 5.6.1 . The errors are : session_register() is deprecated Fatal Error : session_is_registered() One of the two functions that I have always used to implement session control are is not functioning and the other is deprecated. I need a fix. Solution : In … Read moreHow to fix the session_register() and alternative for session_is_registered() issue?
fatal error: bcm_host.h: No such file or directory compilation terminated system is LInux opensuse 13.2 . I encoutered this problem while compiling mplayer. It would fail to compile. I disabled many extensions but it would not solve the problem. There is very little information available about this file online. Mostly its about the discussion of … Read morefatal error: bcm_host.h: No such file or directory compilation terminated
Rsync is great unix tool to sync files between systems. It has inbuilt compression much needed for reducing network load, transfers in acrhieve mode so that permission are preserved. However, the best feature of rsync is that it transfers in delta mode. That is, compares remote and local files, and only transfers the files that … Read moreCommand for rsync for ssh running on non-default port no 22
Simple strategies to secure ssh server. Ssh is perhaps the most secure remote shell around, and at the same time the most abused one too. I have like a thousand attempts on my servers on default ssh port no 22. The tries are mostly dictionary attacks and brute forcing. Default security of ssh to delay … Read moreHow to secure SSH on Remote server ?
The touchpad is not performing as good as it used to do on LInux. Here is a small tweak that would make it behave better : Thinkpad W520, OpenSUSE 13.2 . Check if this package is installed on your system : xf86-input-synaptics-1.8.1-1.1.x86_64 The package name is <synaptics> and should be available with the package manager … Read moreThinkpad touchpad with Linux