Skip to content

Instantly share code, notes, and snippets.

View ionware's full-sized avatar
🏠
Working from home

Adedeji Stephen ionware

🏠
Working from home
View GitHub Profile
@ionware
ionware / cv.html
Last active September 26, 2019 17:07
DSC CV Design Day 2
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CV &mdash; Ojetola Alimot</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,700,900&display=swap"
rel="stylesheet">
<style>
body {
@ionware
ionware / database.php
Last active August 14, 2019 07:36
Acquiring data from multiple database source or cluster (simplest arbitrary demonstration)
<?php
class Database {
/**
* The connection resource.
*
* @var PDO|null
*/
@ionware
ionware / package.json
Created January 29, 2019 16:11
NPM script for medium post
{
"scripts": {
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"test": "echo \"Error: no test specified\" && exit 1"
},
}
@ionware
ionware / webpack.mix.js
Last active January 29, 2019 16:40
Laravel mix
/*
* Require laravel mix for ease of working with webpack.
*/
const mix = require("laravel-mix");
/*
* Specify list of assets to compile, and how.
*/
mix.sass('resources/sass/app.scss', 'dist/app.css');
@ionware
ionware / nigeria-states.json
Created October 24, 2018 13:52 — 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",
@ionware
ionware / modal.php
Created June 12, 2018 13:20
No styling that seem to affect the Modal
<div class="modal fade" id="newChannel" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered rounded" role="document">
<div class="modal-content border-0 rounded">
<div class="modal-header text-center">
<h4 class="modal-title">Add Channel</h4>
</div>
<div class="modal-body modal-body-diff rounded p-5 ">
<div class="add-new-channel">
<form action="/channel/add" method="POST" class="my-3" >
@csrf