This file contains 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 nextSpell() | |
if(UnitPower("player", 9) < 3) then | |
if(C_Spell.GetSpellCharges("Holy Shock").currentCharges == 0) then | |
print("Flash of Light") | |
else | |
print("Holy Shock") | |
end | |
else | |
print("Eternal Flame") | |
end |
This file contains 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 | |
add_action('init', 'jurs_register_block_styles'); | |
function jurs_register_block_styles() { | |
register_block_style('core/paragraph', array( | |
'name' => 'lead', | |
'label' => __('Leading Paragraph', 'themeslug'), | |
'inline_style' => '.is-style-lead { | |
font-weight: bold; |
This file contains 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(){$( 'body' ).prepend( '<pre class='mylist'></pre>' ); | |
var resultat = [] | |
$( "'.website-name' ).each(function( index ) { | |
resultat.push($( this ).text()); | |
}); | |
var items = resultat; | |
var cList = $('.mylist'); | |
items.map( (item,i ) => { | |
var li = $('<li/>') |
This file contains 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
<template> | |
<div> | |
<nuxt-link | |
v-for="post in posts" | |
:key="post.id" | |
:to="`/post/${post.id}`" | |
class="border-b pb-5 mt-5" | |
> | |
<h2 class="text-4xl">{{ post.title }}</h2> | |
<VueMarkdown id="content">{{ post.content }}</VueMarkdown> |
This file contains 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 | |
/** | |
* Get current subscriber list | |
*/ | |
function bl_get_subs() { | |
global $wpdb; | |
$table_name = $wpdb->prefix . "mailpoet_subscribers"; | |
$retrieve_data = $wpdb->get_results("SELECT * FROM $table_name"); |
This file contains 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
.stretch-column .fl-col-content { | |
justify-content: space-between !important; | |
} | |
.stretch-column .fl-module, | |
.stretch-column .fl-module-content, | |
.stretch-column .fl-module-content > div { | |
height: 100%; | |
} |
This file contains 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
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2018-03-07 15:14:39", | |
"containerVersion": { | |
"path": "accounts/2288261640/containers/8196307/versions/18", | |
"accountId": "2288261640", | |
"containerId": "8196307", | |
"containerVersionId": "18", | |
"container": { | |
"path": "accounts/2288261640/containers/8196307", |
This file contains 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
// Add Shortcode | |
function mailpoet_bulk_subscribe_func() | |
{ | |
ob_start(); ?> | |
<form action="?submit=true" method="POST"> | |
<input name="email" type="text" required placeholder="Email address"> | |
<input name="first_name" type="text" placeholder="First name"> | |
<input name="last_name" type="text" placeholder="Last name"> |
This file contains 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 renderProductList(boolHighlighted) | |
intAmount = 0 '0 equals all(*) | |
intRows = 75 | |
strFields = "i.ID,i.ItemName,i.Image,i.ParentID, i.Highlighted, i.NetPrice, i.Colli, i.UnitOfMeasure, i.ItemName2" | |
strOrder = "Order By i.ItemName" | |
strSearch = "" | |
intPageNum = 1 | |
intCategory = 0 | |
intLastPage = 0 '0 Gets the last page as intLastPage |
This file contains 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 | |
/* | |
Plugin Name: Inzite Must Use plugin | |
Plugin URI: http://jurs.me | |
Description: Extra functions. | |
Version: 1.0.0 | |
Author: Rasmus Jürs | |
Author URI: http://jurs.me | |
License: GPL | |
*/ |
NewerOlder