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
const admin_icons = {}; | |
admin_icons.builtmighty = <svg width="74" height="74" viewBox="0 0 74 74" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M66.711 51.1786L53.0102 37.4669L66.711 23.7646V1H8V16.8045H51.3165L41.8357 26.2929L38.77 29.361L30.6707 37.4669L38.3632 45.175L41.8357 48.6503L50.9096 57.7315H8V73.536H66.711V51.1786Z" fill="#D4121F"/><path d="M17.1213 37.4762L25.2301 29.3608H8V45.1748H24.8043L20.7546 41.1124L17.1213 37.4762Z" fill="#D4121F"/></svg> | |
export default admin_icons; |
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
file_uploads = On | |
memory_limit = 500M | |
upload_max_filesize = 500M | |
post_max_size = 500M | |
max_execution_time = 600 |
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
services: | |
db: | |
image: mariadb:10.3 | |
container_name: mariadb-1 | |
volumes: | |
- db_data:/var/lib/mysql | |
- ./shared_data:/docker-entrypoint-initdb.d | |
restart: always | |
ports: |
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 | |
use Carbon_Fields\Container; | |
use Carbon_Fields\Field; | |
/* | |
* This File Creates a Theme Options page with Carbon Fields and adds the info | |
* we need to do basic Slack Integration | |
* | |
*/ | |
if( class_exists('Carbon_Fields\Container')){ |
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 | |
namespace justinexample\integrations; | |
Class SlackIntegration { | |
#this is here to carry information from the WP environment to Slack, you can add args as needed for your application | |
private static $allowed_args = array( | |
'message', | |
); |
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 | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |
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
class PromiseClassStarter { | |
constructor(object) { | |
//element to attach state to | |
this.element = (object.hasOwnProperty('element')) ? object.element : false; | |
//HTML value of the current state of execution | |
this.state = (object.hasOwnProperty('state')) ? object.state : ''; | |
//Type. message(default) = self-destructs after timeout, | |
// confirm = user has buttons to resolve or reject, | |
// dismiss = Dismissable Message (resolves true) | |
this.type = (object.hasOwnProperty('type')) ? object.type : 'message'; |
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
/* See the resulting screen: | |
https://snipboard.io/E3zOoM.jpg | |
*/ | |
let cameraCheckStateSave = async(button, video, canvas, args, loop, resizedDetections ) => { | |
video.pause(); | |
/* BLUE */ | |
/* put raw resizedDetections Box on canvas */ | |
faceapi.draw.drawDetections(canvas, resizedDetections); |
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
*{ | |
font-family: "Comic Sans MS", "Comic Sans", cursive; | |
} |