Skip to content

Instantly share code, notes, and snippets.

[
{
"id": 5014,
"image": "https://tlhelpie.com/icons/magicdoll/list/l_magicdoll_golem_lv4.webp",
"name": "Wandering Youth Gneiss",
"region": "Ruins",
"obtain": "Gathering",
"pal_synergy": ["Sollant Bonus", "EXP Bonus", "Item Chance"],
"synergy_set_ids": [10, 11, 25, 26]
},
[
{
"id": 5014,
"image": "https://tlhelpie.com/icons/magicdoll/list/l_magicdoll_golem_lv4.webp",
"name": "Wandering Youth Gneiss",
"region": "Ruins",
"obtain": "Gathering",
"pal_synergy": [
"Sollant Bonus",
"EXP Bonus",
[
{
"id": 1,
"name": "Abyssal Snack Time in progress",
"amitois": ["Tormented Writer Glynt"],
"bonus": {
"type": "Abyssal Contract Token Efficiency",
"value": "+1.5%"
}
},
@eminozlem
eminozlem / gist:2f77e077135f5db544bae5b5756ead63
Created May 1, 2024 14:15
Failing to install / update imagick redis or other PECL modules via WHM > Module installers
the logs said:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to
but the issue was within
disable_functions =
inside php.ini
probably "popen"
@eminozlem
eminozlem / gist:6c212bd7c95fa200fe713265c2c2f59b
Created February 1, 2023 06:21
Update Cart on Quantity Change
add_action( 'wp_head', function() {
?><style>
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
display: none;
}</style><?php
} );
@eminozlem
eminozlem / gist:baa5b62511d0a7cd4158633e5698e17d
Created January 29, 2023 21:16
cm0102 training attributes
Fitness : Acceleration, Agility, Jumping, Pace, Stamina, Strength and Reflexes +natural fitness
Shooting : Finishing and Long Shots +penalties
Skill : Crossing, Dribbling, Heading, Passing, Set Pieces, Tackling and Technique +corners, preferred foot, free kicks -set pieces (this isnt
true, as you proved Set Pieces are included)
Tactics : Decisions, Marking, Off the Ball, Positioning and Teamwork
Goalkeeping : Handling +one on ones
Fitness : Acceleration, Agility, Jumping, Pace, Stamina, Strength and Reflexes
Shooting : Finishing and Long Shots
Skill : Crossing, Dribbling, Heading, Passing, Set Pieces, Tackling and Technique
@eminozlem
eminozlem / gist:c4df477fc10bedb8a6d86731c6f44656
Created December 16, 2022 03:38
Adding all CPTUI post types to the archives.
#https://docs.pluginize.com/article/post-types-in-category-tag-archives/
function my_cptui_add_post_types_to_archives( $query ) {
// We do not want unintended consequences.
if ( is_admin() || ! $query->is_main_query() ) {
return;
}
if ( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
$cptui_post_types = cptui_get_post_type_slugs();
@eminozlem
eminozlem / gist:b38796e864dbf22993e42f864d175dd9
Created September 4, 2022 16:15
Country select with nubmers only without names
<select name="countryCode" id="" class="">
<option data-countryCode="ES" value="34" selected>+34</option>
<option data-countryCode="GB" value="44">+44</option>
<option data-countryCode="US" value="1">+1</option>
<optgroup label="Other countries">
<option data-countryCode="DZ" value="213">+213</option>
<option data-countryCode="AD" value="376">+376</option>
<option data-countryCode="AO" value="244">+244</option>
<option data-countryCode="AI" value="1264">+1264</option>
<option data-countryCode="AG" value="1268">+1268</option>
@eminozlem
eminozlem / gist:869f17cb92ee9ab772fe4efe245b2af5
Created May 16, 2022 02:15
Debugging a $wpdb query insert or update
$wpdb->last_error
OR
<?php $wpdb->show_errors(); ?>
<?php $wpdb->hide_errors(); ?>
<?php $wpdb->print_error(); ?>
mysqlcheck --auto-repair -o --all-databases