Category: linux

CentOS 7 Chrome failure 0

CentOS 7 Chrome failure

[dev@localhost makito]$ sudo /opt/google/chrome/chrome [sudo] password for dev: [1:1:0321/090342:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)

Setup a new CentOS 7 development system 0

Setup a new CentOS 7 development system

You will want nux repo to install some of the software mentionned here (e.g. VLC) $> su - $> yum update # optional but recommanded $> rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org $> rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm $> rpm...

Setup a new Windows 7 or 8 Workstation 0

Setup a new Windows 7 or 8 Workstation

This is a list of base software used after installing a fresh new Windows developer's workstation. I use Windows 7 Ultimate 64-bit which I got upgraded for free by Microsoft after being victim of counterfeit...

Read the doc from the right place 0

Read the doc from the right place

Selenium on Python http://selenium-python.readthedocs.org/api.html The WebDriver API http://selenium-python.readthedocs.org/api.html?highlight=phantom#module-selenium.webdriver.remote.webdriver jQuery http://api.jquery.com/ PHP http://php.net/docs.php which what I consider A-class documentation with user-submitted sample code at bottom of doc pages as a bonus.

Wait until document loaded 0

Wait until document loaded

if (document.readyState === "complete") { bindAdminUpload(); } else { addEvent(window, "load", function() { bindAdminUpload(); }); }

Excluding files from tar 0

Excluding files from tar

This is what I use to backup the public_html of a site on Virtualmin: tar -czf site-backup-`date +%Y-%m-%d,%Hh%M`.tar.gz ./public_html/ --exclude "./public_html/stats" --exclude "./public_html/awstats*"

0

ERROR: wrong number of arguments (1 for 0) @friendRequests = Friendrequest.all(:conditions => { :friend_id => @user.id, :status => 0 }, :include => :requester ) SOLUTION: .all() now takes 0 parameters. It has been updated....