Hot Lessons

HTML Beginners

Learn basic HTML

PHP Beginners

Learn basic PHP

Python Beginners

Start python today

C Basics

Basics of C

MySQL Basics

Start writing SQL

Mongo Basics

Start mongodb today

Copyright 2019

I wish to learn website development from the scratch

[{"insert":"Can anyone tell me how to learn website development from the scratch, I dont know how to write HTML5 and PHP. Who can recommend materials that I can use to really learn these things properly?\n"}]


view post

This will eventually be the first online haven for African coders, where we can …

This will eventually be the first online haven for African coders, where we can all share our thoughts and works. And we will all contribute to make this happen..


view post

Auctionlance Platform - Hire and pay freelancers with crypto

Auctionlance is a P2P freelance marketplace where clients connects and pay freelancers with crypto. Proudly built on Waves blockchain.

More details coming soon.


view post

What are some marketing tips for selling online websites

What are some marketing tips for selling online websites developed by enterpreneurs/self employed freelancers. Anyone involved in this of work please share.


view post

Africoders First Competition

This is a recap mind you this post was made at Nov 10, 2018 on Nairaland before the second ban on africoders:

Winners goes home with N 30,000, second goes home with 20k, third goes home with 5k.

If you wish to sponsor, please indicate your interest and how much you wish to contribute. If we get sponsors, the prices can go up.

How do you get this money?

No strings attached, no conditions, no sentiments. There is going to be a challenge by 28th of the month expires for submission. The winner of the challenge will be the one to take the mentioned amount in Nigerian Naira into their bank account. Runner up may receive some recharge card/airtime.

Is it for only developers?

No, I don't know yet, in this case, we may need the review/comment of you all to let us decide if we should open this for designers as well(by making it a designers' competition)..

What programming Language can I use?

You can use pretty much anything you like, native android, phonegap, xamarin, or anything at all. Even web apps are allowed for that matter.

You can do a desktop application as well.

How do we know the winner?

Their will be some judges which their names will be mentioned here, our judges will be rating your application (over 100%) according to:

  1. Code neatness
  2. Glitches of the Application
  3. Followed rules for the challenge
  4. Code consistency

How do I register for the competition?

You can register on this thread by putting:

  1. Your full name
  2. Your technology e.g. Native Android developer, web developer, desktop application development
  3. Your gender

Deadline for registration?

This will be on 20th of this month; 12:00 noon. So we will be updating this post with the names of people that have registered so we can know how many of us are in the bus.

Is this opened for Pro Programmers?

No!

Where will the project be hosted?

You must be registered on Bitbucket, like I said earlier, this is going to be a learning curve for beginners, I may be posting some tutorials here(if needed) on how to post the project on Bitbucket. At least, some of you can know how to do versioning.

Are corrections allowed?

No! so you can learn fast, learn how to test your application. Corrections will be posted when the winner has been announced

Are Frameworks allowed?

Yes, but specify which Framework you are about to use while you register for the competition.

Advantages

This challenge will serve as a very opened class and learning curve for everyone here whether you are a beginner or not. From the comments by the judge(s), you will add one or two things to your experience. The only way programming can move forward in Nigeria is to share knowledge known in which we are lagging behind. Some people may be watching behind the scenes too, so you may be employed from here. Impossible is Nothing.

Disadvantages

None for now.

When will the challenge be out?

Soon when we reach a conclusion, so our deadlines may not be strict for now.


view post

How can I compare or check if all array values are the same in PHP?

How can I compare or check if all array values are the same in PHP?


view post

List of 5 things upcoming programmers should stay way from

  1. Setting higher coding time without good resting time.

  2. Failing to walk away for a while when bug get difficult to solve.

  3. Watching programming videos and reading programming books more than practicing.

    4.Failing to ask for help before getting frustrated.

    5.Learning two or more languages at a time. dont ever try this last one because when you are learning a programming language be rest assure that you will be learning some related techs along side the programing language e.g sql, api, etc.

view post

Pray for grace, and lesser bugs

Pray for grace, and lesser bugs


view post

If the Government Decided to unplug the internet

What will happen if the Government Decided to unplug the internet? How can the computer geeks help the matter?

I was thinking a relay wifi network similar to Torrent network will keep people connected in a network although limited. 

What are your thought?


view post

Let's have fun! Given one or more paragraphs, and your job is to create an clea …

Let's have fun!



Given one or more paragraphs, and your job is to create an clean excerpt, subject to a maximum of 45 characters, including spaces. Then append an ellipsis (...) for the excerpt to make sense to the user.



For example, consider the following (please ignore the quote in this case):



"A set of words that is complete in itself, typically containing a subject and predicate, conveying a statement, question, exclamation, or command, and consisting of a main clause and sometimes one or more subordinate clauses."



An excerpt of 45 characters, including spaces:

"A set of words that is complete in itself, ty..."



The excerpt is good but we want the last word to be at least 3 characters long. That is, "typ" instead of "ty". It can be more than 3 characters though.



So, if that condition is not true, then we want to remove the last word ("ty") from the excerpt. In this case, we should have the following as excerpt:

"A set of words that is complete in itself,...".



As a bonus, you can also remove the comma, in this case to make thing even cleaner. Make sure your excerpt doesn't end with a comma before appending the ellipsis.



"A set of words that is complete in itself..."



How would you implement the above in your language. Sorry if the explanation is not clear. It's just for fun!


view post

Outputing php variable in javascript

Passing PHP Arrays to JavaScript PHP provides two functions that can be used to pass arrays to JavaScript: implode and json_encode. The implode function can only be used with single-level arrays. This approach is demonstrated below.

The json_encode function is tailor-made for passing arrays; it can be used to pass single-level arrays and multidimensional arrays as well.

Using PHP's implode Function The PHP implode function can be used on a single-level PHP array consisting of string, number, boolean, or null values to build a string that becomes an array literal in JavaScript. That is, if you have a PHP array ($ar) you can pass it to a JavaScript array as follows:

var ar = <?php echo '["' . implode('", "', $ar) . '"]' ?>; Here we demonstrate with a numerically indexed array:

<?php // php array $fruits = array('apple', 'orange', 'mango', 'banana', 'strawberry'); ?>

You can use implode to pass the keys and values of an associative array separately:

<?php $book = array( // associative array "title" => "JavaScript: The Definitive Guide", "author" => "David Flanagan", "edition" => 6 );

// can build string here instead of in script tags if you like $book_keys = '["' . implode('", "', array_keys($book) ) . '"]'; ?>

The square brackets surrounding the output of implode in PHP are used to form the array literal in JavaScript. The quotes enclosing the array values are necessary to avoid JavaScript errors, but they have the unfortunate consequence of converting any boolean or numeric values to strings.

You can avoid this problem by using PHP's json_encode function rather than implode to prepare the PHP array for passage to JavaScript.

Note:- Copied


view post

My code advice to upcoming coders

<?php
session_start();
$ur_brain_go_hot = "";
$practiceDayNight=false;
$new_to_php = $_GET['phpFutureGuru'];
if($new_to_php == true){
  global $practiceDayNight =true;
  global $ur_brain_go_hot = "Very hot but learning";
  $_SESSION['NEXT_COURSE'] = "OOP";
  $_SESSION['PRICE'] = "WISDOM";
  $msg_to_serious_coders =  "You are geting closer to being a Guru";
  header("Location: /moveToTheNextStage?msg=$msg_to_serious_coders");
  exit();
}else{
  global $practiceDayNight =false;
  global $ur_brain_go_hot = "Very hot am tired and discouraged";
  $_SESSION['NEXT_COURSE'] = "VARIABLE";
  $_SESSION['PRICE'] = "";
  $msg_to_lazy_coders =  "Waste of effort";
  header("Location: /startOverAgainOrGetOut.php?msg=$msg_to_lazy_coders");
  exit();
}
?>

view post

How would u react if u see a novice learning PHP and JAVA all together

multi language combination, 

howould u react if u see a novice learning PHP and JAVA all together 



view post

Néed courses on NodeJS please

Néed courses on NodeJS please


view post

GoLang His Really making wave in this industry

GoLang His Really making wave in this industry


view post

Why do senior developers prefer to use big words just to complicate issues

But why do senior developers prefer to use big words just to complicate issues for we upcoming developers? ?


view post

Want to know some security measures to take to avoid a php site been compromised

Want to know some security measures to take to avoid a php site been compromised.

No framework, its just a simple login and registration page.


view post

I am battling to complete a native Android chat app here. using NODE https://soc …

I am battling to complete a native Android chat app here. using NODE https://socket.io with a socket client to implement it.


view post

I want to learn more javascript. Any guide? Any advice?

I want to learn more javascript. Any guide? Any advice?


view post

I need help with push notifications implementation

I need help with push notifications implementation


view post

Good afternoon coders I need a quick review of friendzone.com

Good afternoon coders I need a quick review on this link https://friendzone.com.ng And of course feedback Thank you


view post

Hi everyone, if you have worked on desktop software with fingerprint scanner, pl …

Hi everyone, if you have worked on desktop software with fingerprint scanner, please do reply this status...

I might use some help


view post

find plugins -type d -print0 |xargs -0 chmod 755chmod on directories () alone ex …

find plugins -type d -print0 |xargs -0 chmod 755
chmod on directories () alone excluding files. not sure if -R switch is necessary


view post

I haven't been here for a while and WOW! WHAT A CHANGE!!!

I haven't been here for a while and WOW! WHAT A CHANGE!!!


view post

Abeg who go fit the help me with issues wey I dey get for OOP PHP?

Abeg who go fit the help me with issues wey I dey get for OOP PHP?


view post

Only a programmer would search for "how to switch on flashlight"

Only a programmer would search for "how to switch on flashlight"

Especially the android devs


view post

Who in the house has used paystack v2, should please, put me through how to use …

Who in the house has used paystack v2, should please, put me through how to use it. It is not well documented for use(in my opinion)


view post

Wow..... I've been looking for something like this... Was committed to nairaland …

Wow..... I've been looking for something like this... Was committed to nairaland until it's programming section went to ashes....

I hope I have good programming friends here and I hope I'm welcomed


view post

call me if you have project related toVUE,REACT,EXPRESS,PHP.08131871049... Let b …

call me if you have project related to

VUE,

REACT,

EXPRESS,

PHP.

08131871049... Let build awesome stuff together.


view post

One of my greatest challenge is pricing.if someone ask you how much you will you collect

hello,

On of my greatest challenge is pricing.

if someone ask you how much you will charge to develop a site like:

https://refer.ng (this is nairaland clone)


or

https://wakanda.ng (this looks like an online forum script somewhere... who knows the script name ? )

how much will you charge ?



view post