Tutorials

Github Desktop 2.4 comes with simplified setup and proxy support

The developer tool Github Desktop 2.4 introduces support for proxy access, simplifies the creation of issues and brings support for other code editors. As Github’s Billy Griffin confirms in his release post , the innovations in desktop version 2.4 are primarily tailored to employees of large organizations who connect to the Internet via a proxy. The tool…

Read More

March 27th, 2020 GitHub, News, Tech News, Tutorials, Web Design

Two “Google searches” for open source code

If you are looking for code from an open source project, you should try Google’s code search engine. It searches thousands of projects for snippets and files. Sourcegraph, our second tool tip, can do that too. Open source projects, such as those resulting from Google’s regular summer of code events, have had…

Read More

March 17th, 2020 Angular Js, Articles, Codeigniter, Google API, Interview, News, Tech News, Tutorials, Web Design, Wordpress

Laravel How to pass parameter to Accessor method in model via where condition while query building?

I have a Accessor method in Collection Model getSizesAttribute, which returns array of available sizes eg: [‘S’,’L’], Now I need to get Models with have size ‘S’. like: $collections = $collections->where(‘sizes’,’S’); But sizes is array, could I manipulate this anyhow so that I could check returns only if sizes have…

Read More

March 6th, 2020 Laravel, PHP, SolveIt, Tutorials

List files in directory in Codeigniter a php framework

You can use directory helper of codeigniter. To load helper use $this->load->helper(‘directory’); and use directory_map() function to read the directory path specified in the first parameter and builds an array representation of it and all its contained files. Example: $map = directory_map(‘./mydirectory/’); Note: Paths are almost always relative to your…

Read More

March 6th, 2020 Codeigniter, Interview, PHP, SolveIt, Tutorials

Solved – WordPress Mixed Content Error

I have Multisite wordpress environment and also have SSL enabled for the admin section. But I get lots of “Mixed Content” errors on the admin. As a result many scripts and style sheets in the admin are broken . “https://example.com/wp-includes/js/thickbox/loadingAnimation.gif” Blocked loading mixed active content “https://example.com/wp-content/plugins/capsman/framework/styles/admin.css?ver=1.1” Blocked loading mixed active…

Read More

March 6th, 2020 PHP, SEO, SolveIt, Tutorials, Web Design, Wordpress

This will make your mobile website so fast

This will make your mobile website so fast. (Graphics: Shutterstock / Photoraidz) The mobile optimization of your website has become indispensable in this day and age. But not only the design plays an important role. Long loading times scared users. So you can convince with good performance. In the days of the Mobile First Index, where…

Read More

October 15th, 2018 Articles, Branding, Design, Google API, Interview, Javascript, jQuery, mod_rewrite, News, PHP, SEO, Tech News, Tutorials, Web Design, Wordpress

GIF, JPG, SVG, PNG or maybe Webp? When to put on which image format

All important image formats compared. (Graphic: Shutterstock / Lucky clover) Which image format is best for what? Especially on the web many factors are important: file size, color spectrum, transparency and scalability. We make the comparison. With the many different picture formats the overview can be lost. Some support transparency, others have a wide…

Read More

October 15th, 2018 Articles, Branding, Design, SEO, Tech News, Tutorials, Web Design

Sans Forgetica: That’s why this hard-to-read font helps you learn

Sans Forgetica helps with learning. (Graphic: RMIT University) Hard to read fonts facilitate learning. With Sans Forgetica there is now a special font just for this purpose. Back in 2012, a Princeton University study showed that our brains can better remember texts when the typeface used is a little harder to decipher. According to the…

Read More

October 9th, 2018 Articles, Branding, Design, Interview, News, Tech News, Tutorials

Desktop apps with Javascript: Electron 3.0 released

Desktop apps with the Electron framework. (Screenshot: Electron) With Electron, desktop apps can be developed with Javascript – which well-known desktop clients such as Slack put. The open source framework comes from Github and has now been released in version 3.0. We take a look at the innovations. Electron: native desktop apps based on web technologies The Electron framework allows the…

Read More

October 7th, 2018 Articles, Electron, Javascript, News, Node.js, Tech News, Tutorials

What is Lorem ipsum and where does it come from?

Where does Lorem ipsum come from? (Graphic: Shutterstock / IrenD) Everybody has already read or even used “Lorem ipsum” somewhere. But where exactly does the phrase come from and what should it mean? “Lorem ipsum dolor sit amet” are probably the most widely used words on the web. But almost no one knows…

Read More

October 7th, 2018 Android, Articles, Branding, Codeigniter, Design, Interview, iOS, Javascript, Linux, Magento 2, News, PHP, SEO, Tech News, Tutorials

Graphics power for your project: The 15 best sites for free icons and icon fonts

Without good icons hardly a web project comes out. If you are looking for free icons, you will definitely not miss the following icon finders and font generators. Icons are ubiquitous on the web – it’s full of iconic collections for every occasion and taste. Here at t3n we have already introduced…

Read More

October 7th, 2018 Android, Angular Js, Articles, Branding, Design, Facebook, Interview, News, Tech News, Tutorials

Why you do not have to study to learn programming?

If you want to learn programming, you have to study computer science. A misconception that is still idespread. Why this is exactly not the case and how you really learn programming. Software has become an integral part of today’s world. No smartphone, laptop or Smart TV would work without software. Every day, we download…

Read More

October 7th, 2018 Articles, Design, Interview, News, Tech News, Tutorials

Even among hackers, Python is the most popular programming language

No programming language has been as appealing to authors of hacker tools and malicious programs as Python . The hackers are thus following a general industry trend. Python is currently the most popular programming language among hackers. This is the result of an analysis by the cyber security company Imperva. According to their analysis, more than 20…

Read More

October 5th, 2018 Articles, Branding, News, Python, Tech News, Tutorials

Kotlin: A new era for multiplatform projects

Multiplatform projects with Kotlin. (Graphic: Shutterstock.com/Bella Melo) Do not repeat yourself: After the paradigm Jetbrains wants to take multi-platform projects to a new level – without losing sight of the native development . This is behind the new Kotlin feature. Crossplatform frameworks are nothing new. Especially in mobile development there are some approaches, as for Android and…

Read More

October 5th, 2018 Android, Articles, Design, iOS, Tech News, Tutorials

Why complicated, if it is easy: The best Android libraries

There are numerous libraries for Android development. But not every small library makes sense. A collection of the most exciting Android libraries that really gets your project moving. Anyone who programs an Android app, encounters a problem and does a bit of research, often finds solutions through suitable libraries. But not for every…

Read More

October 5th, 2018 Android, Articles, iOS, News, Tech News, Tutorials

What Is Hadoop? – Distributed File System, Resource Manager and Scheduler and Distributed Data Processing Frameworks

Apache Hadoop is an open-source, Java-based, distributed computing platform, built out of the necessity to scale search indices. While the original tasks that Hadoop was created for revolved around building search indices, it was quickly apparent that Hadoop’s core abstraction was more generic and broadly applicable. After years of use…

Read More

October 2nd, 2018 Articles, Databases, SEO, Tech News, Tutorials

What Is Data Science?

If you search for the term “data science” on Google or Bing, you will find quite a few definitions or explanations of what it is supposed to be. There does not seem to be clear consensus around one definition, and there is even less agreement about when this term originated.…

Read More

October 2nd, 2018 Databases, Tech News, Tutorials

Are PDO prepared statements sufficient to prevent SQL injection?

The short answer is NO, PDO prepares will not defend you from all possible SQL-Injection attacks. For certain obscure edge-cases. I’m adapting this answer to talk about PDO… The long answer isn’t so easy. It’s based off an attack demonstrated here. The Attack So, let’s start off by showing the…

Read More

May 2nd, 2018 Amazon Linux, Codeigniter, Databases, Laravel, Linux, MySQL, PHP, Tutorials, Ubuntu

How can you prevent SQL injection in PHP?

By Using prepared statements and parameterized queries. These are SQL statements that are sent to and parsed by the database server separately from any parameters. This way it is impossible for an attacker to inject malicious SQL. You basically have two options to achieve this: Using PDO (for any supported…

Read More

May 2nd, 2018 Articles, Codeigniter, Databases, Laravel, MySQL, PHP, Tutorials

How to change your Laravel site favicon

Remember that Laravel is serving files from the /public directory as root, not the project directory. Setting up the favicon is a two step process: Add this code to your layout page: < link rel=”shortcut icon” href=”{{ asset(‘favicon.ico’) }}” > Then put your favicon in the sites subdirectory \public It…

Read More

February 20th, 2018 Laravel, PHP, Tutorials

How to install Laravel 5.6 + PHP 7.1 with Apache on Ubuntu 16.04

Laravel is a powerful MVC-PHP framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Laravel was created by Taylor Otwell. In this guide, we will install Laravel 5.6 on Ubuntu 16.04 and as you might already know Laravel 5.6 depends on PHP 7.1+…

Read More

February 19th, 2018 Databases, Laravel, Linux, MySQL, PHP, Tutorials, Ubuntu

MongoDB for PHP Developers – A Beginner’s Guide

Introduction If you want to create a website using MongoDB and PHP, this article will help you to: Connect to a MongoDB database Save documents in a collection Query documents in a collection Perform range queries Sort documents, update a document, delete one or more documents from a collection What…

Read More

March 15th, 2017 Amazon Linux, Articles, CentOS, Codeigniter, Databases, Linux, MongoDB, MySQL, PHP, Tutorials, Ubuntu

Things you must know before MySQL Interview

What are the HEAP tables in MySQL ? HEAP tables also known as  Memory tables are tables taht present in the memory. When creating a HEAP table in MySql, we needs to specify the TYPE of table as HEAP. These memory tables  have values without data type like “BLOB” or…

Read More

February 16th, 2017 Interview, MySQL, PHP, Tutorials

How to make a Good website with a video background ?

Last year came up with some interesting website design ideas which were focused to attract audiences with videos and moving animations. The inspiration might be the popularity and the entrainment factor of the online videos or movies. This is the reason why video backgrounds were welcomed with both arms wide…

Read More

February 16th, 2017 Tutorials

Installing a LAMP Web Server on Amazon Linux Web Server

To install and start the LAMP web server on Amazon Linux Connect to your instance. To ensure that all of your software packages are up to date, perform a quick software update on your instance. This process may take a few minutes, but it is important to make sure you…

Read More

January 25th, 2017 Amazon EC2, Amazon Linux, Articles, CentOS, Databases, Linux, MySQL, PHP, Tutorials, Ubuntu

Install and Configure mod_rewrite for Apache on CentOS or Amazon EC2 Linux

Introduction Apache’s mod_rewrite can be used to manipulate URLs. It is compiled into the base Apache Web Server. This module provides the ability to manipulate URLs prior to determining the appropriate file or handing off to a script. It can help you, if you want to offer different URLs for…

Read More

January 25th, 2017 Amazon EC2, Amazon Linux, CentOS, mod_rewrite, PHP, Tutorials

Solved – Getting this SQL Error: GROUP BY incompatible with sql_mode=only_full_group_by

MySQL 5.7.5+ changed the way GROUP BY behaved in order to be SQL99 compliant (where in previous versions it was not). There is a good overview of the changes here. Unfortunately, this affects some core queries that Craft uses when fetching elements. The good news is that this has been…

Read More

January 19th, 2017 Amazon EC2, Databases, Linux, MySQL, PHP, SolveIt, Tutorials, Ubuntu

Solved – How can I downgrade from PHP 7 to PHP 5.6 on Ubuntu ?

follow the below instructions you face this situation, you may need to disable the proxy_fcgi apache module: sudo a2dismod proxy_fcgi proxy; sudo service apache2 restart 1. Re-Install PHP 5.6 What worked for me was this guide: http://www.lornajane.net/posts/2016/php-7-0-and-5-6-on-ubuntu Actually is not required to remove php7.0, you can install php5.6 together (…

Read More

January 18th, 2017 Amazon EC2, Linux, PHP, SolveIt, Tutorials, Ubuntu

The Art of Node – A short introduction to node.js

This document is intended for readers who know at least a little bit of a couple of things: a scripting language like JavaScript, Ruby, Python, Perl, etc. If you aren’t a programmer yet then it is probably easier to start by reading Easy Javascript. git and github. These are the…

Read More

December 31st, 2016 Angular Js, Articles, Javascript, jQuery, Node.js, Tutorials

Easy JavaScript – An introduction for new programmers

JavaScript is a programming language or, in other words, a means by which a computer is instructed to do things. Just the same as one controls humans with hisses and meows, one controls computers with statements written in a programming language. All web browsers understand JavaScript and you can take…

Read More

December 31st, 2016 Angular Js, Articles, Javascript, jQuery, Node.js, Tutorials