Quantcast
Channel: Code For Food
Browsing all 34 articles
Browse latest View live

Exception PDOException with message SQLSTATE[HY000] Name too long for...

Error: When connecting to MS SQL using freetds 0.91 and php>5.3: Exception ‘PDOException’ with message ‘SQLSTATE[HY000] Name too long for LOGINREC field (severity 2)’ Cause: Any string exceeds 30...

View Article


How to sudo without typing password

Add this line in /etc/sudoers for a specific user: username ALL=NOPASSWD: ALL or for all sudoer users: %sudo ALL=NOPASSWD: ALL

View Article


git fatal: index file smaller than expected

Error message from git: git fatal: index file smaller than expected Cause: Index files are corrupted. Solution: Remove and rebuild the index: rm .git/index git add . git reset HEAD

View Article

Splunk max min avg group by date

Data: _time Value 11/24/13 10:00:00 8 11/25/13 10:01:00 6 11/26/13 10:02:00 4 Query: … | rename _time as Date | convert timeformat=”%F” ctime(Date) | stats max(Value) as Max, min(Value) as Min,...

View Article

Laravel Lumen Fatal error: Class ‘Illuminate\Redis\RedisServiceProvider’ not...

Error message: Fatal error: Class ‘Illuminate\Redis\RedisServiceProvider’ not found in /vendor/laravel/lumen-framework/src/Application.php on line 219 Solution: composer require illuminate/redis

View Article


Git Pull is not possible because you have unmerged files

Git Error: Unmerged path path/file.php, cannot checkout or pull Solution: reset, then checkout git reset path/file.php git checkout path/file.php

View Article

Force redirect to HTTPS

RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI}

View Article

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket...

By default, MySQL try to connect localhost using Unix socket if there is no -h option or -h localhost: mysql mysql -h localhost Force MySQL to use tcp connect instead of unit socket: mysql -h 127.0.0.1

View Article


PHP install Error: xml2-config not found. Please check your libxml2

Soultion: Ubuntu sudo apt-get install libxml2-dev Centos: sudo yum install libxml2-devel

View Article


npm ERR! git clone git:// fatal: unable to connect to github.com

Error when running npm install behind a proxy npm ERR! git clone git:// fatal: unable to connect to github.com Workaround: 1. Configure git to use https for github git config –global...

View Article

How to Conduct Your Own SEO Audit

“Social may be sexy, but search still pays the bills.” — Tom Pick, B2B digital marketing consultant SEO audits can be tedious, mind-numbing excursions into the inner-workings of one’s website. This...

View Article

SEO for a Brand New Website

As a start-up owner, you have a lot on your mind. Bootstrapping is never easy. At the digital marketing agency I run, I talk to overworked start-up owners every day. And they all know about SEO and its...

View Article

Speed up Your Site’s Load Time for SEO

Speed is a necessity in today’s online world. Outside of SEO optimization, speed is a critical component to driving sales. A research report from the Aberdeen Group uncovered that a mere one-second...

View Article


SEO-Optimized Content

In case you weren’t already aware, content is extremely important to a brand’s SEO efforts. In fact, Google has come out and stated that content is within its top three ranking factors. Unfortunately,...

View Article

SEM Tactics that Produce Fast Results

“The success of a page should be measured by one criteria: Does the visitor do what you want them to do?” – Aaron Wall, founder of SEObook.com Google processes more than 3.5 billion searches daily....

View Article


Task was canceled –‘Default Repository’ of type...

Error on atlassian bamboo when proceeding checkout task: Task was canceled - 'Default Repository' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. Solution: Check if git does exist on bamboo...

View Article

2018 CLOUD SECURITY REPORT

The upcoming 2018 CLOUD SECURITY REPORT is a unique opportunity for security vendors and service providers to receive fact-based marketing content, quality leads, and brand visibility in the...

View Article


Huge Demand for Cyber Security Market

Cyber security are security solutions for controlling access to hardware, software, and data, along with protecting them from cyber-attacks. Cyber security permits organizations to protect their data...

View Article

Image may be NSFW.
Clik here to view.

LinuxKit, A Toolkit for building Secure, Lean and Portable Linux Subsystems

In case you’ve missed it, this week we’re highlighting the top five most popular Docker blogs in 2017. Coming in the third place is the announcement of LinuxKit, a toolkit for building secure, lean and...

View Article

Image may be NSFW.
Clik here to view.

Understanding Crypto Coin Mining Pools and Increasing daily payouts

What are Mining Pools ?. Mining pools are group of miners working together to mine bitcoins and share the rewards based on the hashrate everyone contributes. How Mining works in a mining pool? In...

View Article
Browsing all 34 articles
Browse latest View live


Latest Images