Skip to content

Instantly share code, notes, and snippets.

View jacobdubail's full-sized avatar

Jacob Dubail jacobdubail

View GitHub Profile
@jacobdubail
jacobdubail / main.yml
Last active October 14, 2023 00:17 — forked from ajmorris/main.yml
Simple workflow file for Github Actions to deploy your WordPress theme
# This is a basic workflow to help you get started with Actions
# The name of the script you are intending to run.
name: Deployment
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch.
# I left my branch name as main, but you could change this to whatever your branches are called.
push:
@include keyframe(fadeout) {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
} elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages
} elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List
} elseif( tribe_is_event() && is_single() ) { // Single Events
} elseif( tribe_is_day() ) { // Single Event Days
@jacobdubail
jacobdubail / dabblet.css
Created January 11, 2012 03:33 — forked from TomMalbran/dabblet.css
CSS: Nice Tabs
/**
* Nice Tabs
*/
.tabrow {
position: relative;
text-align: center;
list-style: none;
margin: 0;
padding: 0;
@jacobdubail
jacobdubail / pubsub.js
Created October 14, 2011 22:57 — forked from ryanflorence/pubsub.js
JavaScript: Simple Pub/Sub
!function () {
var channels = {};
this.subscribe = function (channel, subscription) {
if (!channels[channel]) channels[channel] = [];
channels[channel].push(subscription);
};
this.publish = function (channel) {
if (!channels[channel]) return;