The Power of Online Marketing in 2022 

Do you want to reach potential customers faster Are you sure that you have implemented the right keywords in your advertising? Are the contacts that are generated to be utilized optimally or are they simply not suitable for your products? SEO advisors can help with the positioning of the website. Let them show you where … Read more

Awesome-list of crawlers

A awasome collection of web crawlers ,spiders and resources in different languages. Tested by myself on Mac OS X with Python 3. Scrapy: The King of Web Crawler Framework written by Python.  A very fast high-level html-content scraping and web crawling framework. A Complete List of all crawlers can be found under: GitHub: https://github.com/BruceDone/awesome-crawler

python string replace in python 3.x

Python String replace() Method There are two ways for replacing a String for python 2.x and also 3.x, use str.replace(). The replace() method in python 3 is used simply. Example for a string replace: or calling the method replace() of  <class ‘str’> in python 3.x: Notes from Python Docs: Method 1: use builtin str’s replace -> str.replace(strVariable, old, … Read more

how to split a string in python

How to split a string into a list of characters in Python?Answer is: You need Lists. Docs: http://docs.python.org/library/functions.html#list You take the string and pass it to list() or You can also do it in this very simple way without list(): If you want to process your String one character at a time. you have various … Read more

python yield keyword

What does the “yield” keyword do in python? First of all you must to understand what generators [ Generators – Python Wiki ] are. And before you understand what generators are, you must understands what iterables [Iterables – PLYMI] are. Iterables Definition: An iterable is any Python object capable of returning its members one at a time, … Read more

laravel collection to array with/without keys

Collections to array on laravel is a easy to solve problem. An Laravel array to collection convert on Controller is a few ways. You can use toArray() of eloquent as below.  laravel collection to array without keys The toArray method converts the collection into a plain PHP array. If the collection’s values are Eloquent models, the models will also … Read more

Run Laravel on Cloud Virtual Server(VPS) / Compare

Run your own Laravel Application Project on virtual cloud Servers with comparing the resources and prices. DigitalOcean.com (Monthly from 5 USD) Pro: One-Click Installation – Laravel as Application to automatically installation. Contra: Vultr.com (Monthly 5 USD) Contra: No Support for automatically Installation on Ubuntu. AWS Amazon Web Services Google Cloud

add a new column to existing table in a migration

To create a migration, you may use the migrate:make command on the Artisan CLI. Use a specific name to avoid clashing with existing models. You then need to use the Schema::table() method (as you’re accessing an existing table, not creating a new one). And you can add a column like this: and don’t forget to add the … Read more