Skip to content

Instantly share code, notes, and snippets.

@olivopablo
olivopablo / gist:cac14c7a465667593061ace4ba66c611
Last active September 7, 2021 03:13
Minimal coming soon html full image background
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Coming Soon!</title>
<style>
#bg {
position: fixed;
top: 0;
left: 0;
@olivopablo
olivopablo / [...nextauth].js
Last active January 8, 2023 20:15
Strapi Next-Auth credentials provider
import NextAuth from "next-auth";
import Providers from "next-auth/providers";
const options = {
providers: [
Providers.Credentials({
// The name to display on the sign in form (e.g. 'Sign in with...')
name: 'Credentials',
// The credentials is used to generate a suitable form on the sign in page.
// You can specify whatever fields you are expecting to be submitted.
@olivopablo
olivopablo / firephp_helper.php
Created September 19, 2012 12:59
codeigniter firephp-helper
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
// ------------------------------------------------------------------------
/**
* Firephp helper
*