CCCPaste

wiringpi wiringSerial on a regular PC

#include <iostream>
#include <stdio.h>
#include <unistd.h> //read function
#include <string.h>
#include <wiringSerial.h> //simple serial port library

Fix Custom CSS for Embeded Youtube Video

/* Fix Custom CSS for Embeded Youtube Video */
.youtube-class >.jeg_video_container {
padding-bottom: 56.25%;
}

parse function

#include<string.h>
#include<stdio.h>
#include <stdlib.h> //contians atoi for string to int conversion

void parse(char *input, int *x, int *y, int *z){

2021-07-25_stats.json

{
"ip": {
"85.215.226.197": 1086,
"159.69.123.0": 637,
"217.160.191.146": 1405,

Hide Field Featured Image and 3 Sec Video Preview

/* Hide Field Featured Image and 3 Sec Video Preview */
.image-format-field.form-group, .video-preview-format-field.form-group {
display: none;
}

Show the modified date except though it's never been modified

/* Show the modified date except though it's never been modified */
function jeg_get_post_date( $format = '', $post = null ) {
$publish_date = isset( $post->publish_date ) ? date( $format ?: 'Y-m-d', $post->publish_date ) : get_the_date( $format, $post );
$modified_date = isset( $post->update_date ) ? date( $format ?: 'Y-m-d', $post->update_date ) : get_the_modified_date( $format, $post );
$publish_date_number_format = isset( $post->publish_date ) ? date( 'Y-m-d', $post->publish_date ) : get_the_date( 'Y-m-d', $post );

parse CSV Character array in C

#include<string.h>
#include<stdio.h>
#include <stdlib.h> //contians atoi for string to int conversion
/*
* This program is a simple? way of parsing a csv character array

Frontend Editor Darkmode Background Color

/* Frontend Editor Darkmode Background Color */
.jnews-dark-mode div.mce-panel {
background-color: var(--j-dark-bg-color)!important;
}

Remove Like/Dislike Wrapper style

/* Remove Like/Dislike Wrapper style */
.single-post .entry-header .meta_right .jeg_meta_like .fa {
border-radius: unset;
background-color: unset!important;
}

2021-07-24_stats.json

{
"ip": {
"85.215.226.197": 2575,
"217.160.191.146": 1457,
"62.210.246.177": 21,