A simple script to upgrade OpneSSH on CentOs 6.7. #!/bin/bash # Copyright © 2016 Faishal Saiyed cd timestamp=$(date +%s) if [ ! -f openssh-7.3.zip ]; then wget https://github.com/faishal/openssh-portable/releases/download/cent.os.6.7.openssh.7.3p1/openssh-7.3.zip; fi; unzip -o openssh-7.3.zip -d openssh-7.3p1 cd openssh-7.3p1/ cp /etc/pam.d/sshd pam-ssh-conf-$timestamp rpm -U *.rpm yes | cp …
Recently I started phpUnit testing, and I found some of the test are flagging as risky. Most of the time I able figure bout reason but some time it very time consuming and also there isn’t any messages from PHPUnit.
PHPUnit 4.4.5 by Sebastian Bergmann. Configuration read from phpunit.xml.dist R.................R.R..R Time: 14,17 seconds, Memory: 52,50Mb OK, but incomplete, skipped, or risky tests! Tests: 24, Assertions: 52, Risky: 4.
Finally I found a soultion and it is very simple( How I can forgot about -v flag !! )
phpunit -v|--verbose Output more verbose information.
Stay tuned, more testing related post probably writing 🙂
I had some issues with corrupted exFAT partition that Disk Utility said it couldn’t repair. Then I finally found a solution. Run following command in terminal sudo fsck_exfat -d disk2s2 Where disk2s2 is ExFAT partition. Then it will ask you Main boot region needs to …
After automatic update of child theme to parent theme, During update we just update code of theme, but what about WordPress, WordPress still assuming current theme as child theme. When you activate child theme, there are mainly two site options template and stylesheet who store …
So many times its happens with my mac that Skype, Chrome other applications are not able to access built in webcam. After googling i came up with following solution.
Usually it’s not a macbook problem. It’s software problem.
open a terminal and type
sudo killall VDCAssistant
This will trigger a restart of the camera’s software. Fixes the problem 99%. Skype and other software that uses the camera might also need reopening.