Skip to content

Instantly share code, notes, and snippets.

View zolodeveloper's full-sized avatar

SOLOMON JULIUS zolodeveloper

  • Lagos Nigeria
View GitHub Profile
@zolodeveloper
zolodeveloper / json-object-array-foreach-loop.php
Created September 30, 2019 01:25 — forked from chancesmith/json-object-array-foreach-loop.php
Foreach loop through JSON object array
<?php
$json = '[
{
"categories": "10,11",
"title": "Promos",
"columns": "col-md-3"
},
{
"categories": "10,12",
@zolodeveloper
zolodeveloper / dropzone.php
Created June 15, 2019 19:16
Dropzone.js with php multiple files upload
<?php
// define absolute folder path
$storeFolder = 'ABSOLUTE_FOLDER_PATH/'
// if folder doesn't exists, create it
if(!file_exists($storeFolder) && !is_dir($storeFolder)) {
mkdir($storeFolder);
}
// upload files to $storeFolder
<?php
return [
'&#xE84D;' => '3d_rotation',
'&#xE190;' => 'access_alarm',
'&#xE191;' => 'access_alarms',
'&#xE192;' => 'access_time',
'&#xE84E;' => 'accessibility',
'&#xE84F;' => 'account_balance',
'&#xE850;' => 'account_balance_wallet',
@zolodeveloper
zolodeveloper / media-query.css
Created January 6, 2019 00:26 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@zolodeveloper
zolodeveloper / nigeria-states.json
Created January 4, 2019 12:34 — forked from mofesolapaul/nigeria-states.json
List of all Nigerian states, alphabetically arranged in JSON array
[
"Abia",
"Adamawa",
"Anambra",
"Akwa Ibom",
"Bauchi",
"Bayelsa",
"Benue",
"Borno",
"Cross River",
@zolodeveloper
zolodeveloper / LICENCE SUBLIME TEXT
Created December 12, 2018 21:39
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----