Skip to content

Instantly share code, notes, and snippets.

View otoo-peacemaker's full-sized avatar
👨‍💻
Program Focuser

Peacemaker Otoo otoo-peacemaker

👨‍💻
Program Focuser
View GitHub Profile
@otoo-peacemaker
otoo-peacemaker / JDBC.jar
Created July 21, 2019 19:51
Java Database Programming
/*The following codes consists of three java classes: DBconnection class,CreateTable class, and Main JDBC class.
*The DBconnection class helps to use the Database connection anywhere your programme.
*The CreateTable also helps to access or manipualte database right in the project with less code complexity.
*The main JDBC class is where we the actual coding. Thus, The DML and DQL.
*/
//Java class : DBconnection
@otoo-peacemaker
otoo-peacemaker / gist:f6f54d8c60df6987e7cfbf7e95ec474b
Created October 24, 2020 15:27 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@otoo-peacemaker
otoo-peacemaker / codepenchallenge-full-page-nav.markdown
Created November 5, 2020 22:37
#CodepenChallenge Full Page Nav

#CodepenChallenge Full Page Nav

A concept design of full page navigation, full of typography, and using icons as large images. I haven't used neither Javascript codes, nor a CSS preprocessors here.

A Pen by kwesi_welbred on CodePen.

License.

@otoo-peacemaker
otoo-peacemaker / codepenchallenge-full-page-nav.markdown
Created November 5, 2020 22:42
#CodepenChallenge Full Page Nav

#CodepenChallenge Full Page Nav

A concept design of full page navigation, full of typography, and using icons as large images. I haven't used neither Javascript codes, nor a CSS preprocessors here.

A Pen by kwesi_welbred on CodePen.

License.

@otoo-peacemaker
otoo-peacemaker / index.html
Created November 5, 2020 22:44
menu with awesome hover
<main class="site-wrapper">
<div class="pt-table desktop-768">
<div class="pt-tablecell page-home relative" style="background-image: url(https://images.unsplash.com/photo-1486870591958-9b9d0d1dda99?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1500&q=80);
background-position: center;
background-size: cover;">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-offset-1 col-md-10 col-lg-offset-2 col-lg-8">
@otoo-peacemaker
otoo-peacemaker / codepenchallenge-full-page-nav.markdown
Created November 5, 2020 22:46
#CodepenChallenge Full Page Nav

#CodepenChallenge Full Page Nav

A concept design of full page navigation, full of typography, and using icons as large images. I haven't used neither Javascript codes, nor a CSS preprocessors here.

A Pen by kwesi_welbred on CodePen.

License.

@otoo-peacemaker
otoo-peacemaker / index.pug
Created November 5, 2020 22:48
Randomly generated CSS blobby nav
- const randomInRange = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min
- const SECTIONS = ['HOME', 'ABOUT', 'CONTACT', 'WORK']
nav.menu(style=`--hue: ${Math.random() * 360}`)
input(type='checkbox', id='menu-toggle', class='menu__toggle')
label(for='menu-toggle', class='menu__toggle-label')
label(for='menu-toggle', class='menu__toggle-label menu__toggle-label--closer')
svg.menu__icon(preserveAspectRatio='xMinYMin', viewBox='0 0 24 24')
path(d='M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z')
svg.menu__icon(preserveAspectRatio='xMinYMin', viewBox='0 0 24 24')
path(d='M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z')
@otoo-peacemaker
otoo-peacemaker / futuristic-3d-hover-effect.markdown
Created November 5, 2020 22:57
Futuristic 3D Hover Effect 🛸

Futuristic 3D Hover Effect 🛸

🛸

Usable as navigation, menu or effect

It uses CSS transform and perspective to create a unique hololens-like animation effect.

Can be used for many more use cases, you will probably have your own ideas.

This is an experimental idea, you may want to flesh it out for use in production.

@otoo-peacemaker
otoo-peacemaker / index.html
Created November 6, 2020 22:12
menu with awesome hover
<main class="site-wrapper">
<div class="pt-table desktop-768">
<div class="pt-tablecell page-home relative" style="background-image: url(https://images.unsplash.com/photo-1486870591958-9b9d0d1dda99?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1500&q=80);
background-position: center;
background-size: cover;">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-offset-1 col-md-10 col-lg-offset-2 col-lg-8">
@otoo-peacemaker
otoo-peacemaker / Build.gradle
Created May 1, 2021 22:54 — forked from CopyAndPasteHub/Build.gradle
Navigation drawer with bottom bar
compile 'com.ncapdevi:frag-nav:1.0.3'
compile 'com.roughike:bottom-bar:1.3.9'
compile('com.mikepenz:materialdrawer:5.3.1@aar') {
transitive = true
}