Skip to content

Instantly share code, notes, and snippets.

View wolffe's full-sized avatar
🏠
Working from home

Ciprian Popescu wolffe

🏠
Working from home
View GitHub Profile
@butlerblog
butlerblog / mc_put_req.php
Last active November 24, 2021 18:36
#Mailchimp list subscribe "put" request
<?php
/**
* Utility function to subscribe a user to a MailChimp
* list using the MC API 3.0
*
* @param array $args {
* Array of settings.
*
* @type string $api_key Your MailChimp API key.
@kevinwhoffman
kevinwhoffman / 2017-wordcamp-us-job-board.md
Last active December 9, 2018 19:09
2017 WordCamp US Job Board

The following table is a transcription of the job board at WordCamp US on December 1-3, 2017. The table includes a combination of individuals and companies that are either seeking jobs or hires related to WordPress.

Post Contact
Looking for affiliates to build church websites. aboundant.com
WordPress devs helping agencies and businesses. gtadev.ca
A full service digital agency can assist you with any of your WP needs. krishaweb.com
Web developer, WP, HTML, CSS, PHP. uark.edu
I do support. Hire me! kait.blog
I am a technical writer with WP and freelance writing experience. Nicole Plumlee Arguello, sites.uark.edu/blog
@stuartduff
stuartduff / remove-storefront-cart-link-header.php
Created April 11, 2016 22:34
Remove the cart from the header of the WooThemes Storefront theme
@liruqi
liruqi / facebook_email.js
Last active December 26, 2019 10:04
Get facebook fans email
var run = 0;
var mails = {}
total = 3000; //滚动次数,可以自己根据情况定义
function getEmails (cont) {
var friendbutton=cont.getElementsByClassName("_ohe");
for(var i=0; i<friendbutton.length; i++) {
var link = friendbutton[i].getAttribute("href");
if(link && link.substr(0,25)=="https://www.facebook.com/") {
/* start new bbpress */
.bbp-topic-voice-count {
display: none;
}
.bbp-topic-reply-count {
color: #aaa;
font-size: 80%;
margin-right: 20px !important;
width: inherit !important;
@butlerblog
butlerblog / auto-login-from-reg-email.php
Last active November 5, 2021 15:44
WordPress auto login from native registration email
<?php
/*
This code snippet can be added to your functions.php file (without the <?php)
to add a query string to the login link emailed to the user upon registration
which when clicked will validate the user, log them in, and direct them to
the home page.
*/
/**
* This first function is hooked to the 'user_register' action which fires
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
@joyrexus
joyrexus / README.md
Last active May 3, 2024 10:41 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@tommcfarlin
tommcfarlin / complete-mobile-media-query-boilerplate.css
Last active July 22, 2018 06:57
A media query boilerplate for responsive design that covers iPhones, iPhone 5s, tablets, and iPads for viewing sites and applications in both portrait and landscape mode.
/**
* Note that the following media queries are intended to be used for the specified device or screen size
* in both portrait and landscape mode.
*
* Desktop queries are not provided since the default styles for most sites and applications typically focus
* on that for the default sites.
*
* Contributes, comments, and all that fun stuff always welcome :).
*/
@jonsuh
jonsuh / js-ajax-php-json-return.html
Last active September 17, 2022 02:57
jQuery AJAX Call to PHP Script with JSON Return
<div class="the-return">
[HTML is replaced when successful.]
</div>