Skip to content

Instantly share code, notes, and snippets.

View oluwasayo's full-sized avatar
😄

Sayo Oladeji oluwasayo

😄
View GitHub Profile
@oluwasayo
oluwasayo / cycle.html
Last active October 25, 2018 13:12
A useless webpage showing a big bold number 1 or 2 for a day
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<style>
body {
background-color: black;
overflow: hidden;
}
div {
@oluwasayo
oluwasayo / pom.xml
Created November 6, 2017 18:29
Integration Test with JUnit 5
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>awesome.group</groupId>
<artifactId>awesome-artifact</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
@oluwasayo
oluwasayo / gist:316ce296ede71500aeb57dd2c783ca13
Last active January 28, 2017 16:39
Publishing 100% Kotlin Projects to Maven Central
Javadoc is a prerequisite for Maven Central sync.
Kotlin projects use KDoc and do not generate Javadoc by default.
An official tool called Dokka can be used to generate Javadoc from Kotlin projects. https://github.com/Kotlin/dokka
Putting it all together in Maven:
Add the JCenter repository where Dokka is hosted.
```
<pluginRepositories>
<pluginRepository>
@oluwasayo
oluwasayo / wildfly-install.sh
Last active January 4, 2016 03:09 — forked from sukharevd/wildfly-install.sh
Script to install JBoss Wildfly 10.x as service in Linux
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 10.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :2015-10-24T17:14-0700
#usage :/bin/bash wildfly-install.sh
#tested-version :10.0.0.CR3
#tested-distros :Debian 7,8; Ubuntu 15.10; CentOS 7; Fedora 22
@oluwasayo
oluwasayo / designer.html
Created October 10, 2014 20:05
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;