Skip to content

Instantly share code, notes, and snippets.

Ramen connoisseur

Jess Green jesgs

Ramen connoisseur
Block or report user

Report or block jesgs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jesgs / config.json
Last active Oct 26, 2019
Fadecandy Config
View config.json
"listen": ["", 7890],
"relay": [null, 7891],
"verbose": true,
"color": {
"gamma": 2.5,
"whitepoint": [1.0, 1.0, 1.0]
jesgs / post-order-attribute-fix.php
Last active Oct 22, 2019
Fixes issue with menu_order not saving properly with Gutenberg
View post-order-attribute-fix.php
* Add page attributes to post
function mytheme_add_post_attributes()
add_post_type_support('post', 'page-attributes');
add_action('init', 'mytheme_add_post_attributes', 500);
jesgs /
Created Apr 23, 2019 — forked from malarkey/
(Data) Protection Racket
View table-size-calc.sql
table_name AS `Table`,
round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB`
FROM information_schema.TABLES
WHERE table_schema NOT IN ('performance_schema', 'mysql', 'information_schema')
ORDER BY (data_length + index_length) DESC;
jesgs / git-example.bash
Created Apr 13, 2019
Update git email address
View git-example.bash
git config --global "your@email_address.tld"
git rebase -i
git commit --amend --reset-author
git rebase --continue
git push
View accordion.scss
.control-extend {
&__label {
display: none;
@media only screen and (min-width: 768px) {
display: inline-block;
font-weight: 800;
cursor: pointer;
color: black;
&:hover {
View index.html
<div class="wrapper">
<header class="row">
<h1 class="h h1">MoonPhase App</h1>
<div class="row">
<ul class="data-table h3">
<strong class="label">Current Date</strong><span class="value js-current-date-value"></span>
jesgs / next-comic-link-example.php
Last active Aug 26, 2018
Turn comic image into "next comic" link
View next-comic-link-example.php
View marquee.css
.marquee {
overflow: hidden;
position: relative;
.marquee .responsive-table {
width: 100%;
height: max-content;
display: block;
jesgs / console-log.php
Created Aug 8, 2018
Quick var_dump for the console
View console-log.php
// maybe expand this to do more than just objects and arrays?
echo "<script>console.log(" . json_encode($myObjectOrArray) . ");</script>";
You can’t perform that action at this time.