This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script para instalação de Nerd Fonts - Versão Final | |
| # Uso: curl -fsSL <gist_url> | bash -s -- font1 font2 font3 | |
| # Ou: curl -fsSL <gist_url> | bash (para instalar fontes padrão) | |
| set -euo pipefail | |
| # Cores para output | |
| RED='\033[0;31m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function midiamax_allow_iframe($initArray) { | |
| $initArray['extended_valid_elements'] = "iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]"; | |
| return $initArray; | |
| } | |
| add_filter('tiny_mce_before_init', 'midiamax_allow_iframe'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.db import models | |
| from django.core.validators import MaxValueValidator, MinValueValidator | |
| from django.utils.translation import gettext_lazy as _ | |
| # Create your models here. | |
| class CommonModel(models.Model): | |
| name = models.CharField(max_length=128, unique=True) | |
| created_at = models.DateTimeField(_('created date'), auto_now=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <link rel="shortcut icon" href="https://creativep2.local/wp-content/themes/creative_p2/favicon.ico" /> | |
| <title>Creative Production Partners</title> | |
| <link rel="profile" href="http://gmpg.org/xfn/11" /> | |
| <link rel="stylesheet" type="text/css" media="all" href="https://creativep2.local/wp-content/themes/creative_p2/font-face.css" /> | |
| <link rel="stylesheet" type="text/css" media="all" href="https://creativep2.local/wp-content/themes/creative_p2/style.css" /> | |
| <link rel="stylesheet" type="text/css" media="all" href="https://creativep2.local/wp-content/themes/creative_p2/slider.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="profile" href="http://gmpg.org/xfn/11"> | |
| <link rel="pingback" href="http://creativep2.com/app/xmlrpc.php"> | |
| <title>Creative Production Partners – Creativity in Progress…</title> | |
| <link rel='dns-prefetch' href='//fonts.googleapis.com' /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.5' | |
| services: | |
| php: | |
| image: easyengine/php:v4.0.0 | |
| restart: always | |
| labels: | |
| - "io.easyengine.site=${VIRTUAL_HOST}" | |
| volumes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Here's a couple of metaboxes that I've recently created using this system | |
| */ | |
| $subpostings = redrokk_metabox_class::getInstance('subpostings', array( | |
| 'title' => '(optional) Subscription for Postings', | |
| 'description' => "As an optional feature, you have a complete api at your disposal which will allow you the ability to offer and manage member posts. In addition to these settings, you may need to create the associated pages for accepting posts from your frontend.", |