Skip to content

Instantly share code, notes, and snippets.

@diomededavid
diomededavid / field.php
Created September 27, 2021 19:49 — forked from Xilonz/field.php
Sage 9 Carbon Field Blocks
<?php
namespace App;
use Carbon_Fields\Field;
use Carbon_Fields\Block;
Block::make( __( 'Gutenberg Block' ) )
->set_icon( 'format-chat')
->add_fields( array(
Field::make( 'rich_text', 'text', __( 'text', 'my-theme' ) )
@diomededavid
diomededavid / droplet.css
Last active March 15, 2016 22:51 — forked from vindia/droplet.css
CSS 3 Water Droplet
body { padding: 4em; }
#droplet {
background-color: lightblue;
width: 150px;
height: 150px;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 75px;
-webkit-border-bottom-right-radius: 75px;
-webkit-border-bottom-left-radius: 75px;
-webkit-transform:rotate(45deg);
@diomededavid
diomededavid / .bash_profile
Created November 22, 2015 01:38 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management