Skip to content

Instantly share code, notes, and snippets.

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

Sorin Gitlan esgy

🏠
Working from home
View GitHub Profile
<?php
/**
* Plugin Name: Messager Widget
* Plugin URI: http://point47.com
* Description: Displays any message designated
* Version: 1.0
* Author: Sorin Gitlan
* Author URI: http://point47.com
*/
<?php
/**
* Plugin Name: Twitter Shower
* Plugin URI: http://esgy.eu
* Description: Simple shortcode
* Version: 1.0
* Author: Sorin Gitlan
* Author URI: http://esgy.eu
*/
<?php
/**
* Plugin Name: p47 Twitter Widget
* Plugin URI: http://point47.com
* Description: Displays any message designated
* Version: 1.0
* Author: Sorin Gitlan
* Author URI: http://point47.com
*/
<?php
/**
* Plugin Name: p47 Cron Job
* Plugin URI: http://point47.com
* Description: demo for a running cron job
* Version: 1.0
* Author: Sorin Gitlan
* Author URI: http://point47.com
*/
<?php
/**
* Plugin Name: p47 Options
* Plugin URI: http://point47.com
* Description: demo a options papge
* Version: 1.0
* Author: Sorin Gitlan
* Author URI: http://point47.com
*
* Use get_option('p47_plugin_options') in the template to access the saved variables.
<?php
/**
* Plugin Name: p47 Custom Post Types
* Plugin URI: http://point47.com
* Description: Demo for custom Post types
* Version: 1.0
* Author: Sorin Gitlan
* Author URI: http://point47.com
*/
// Utility
if (typeof Object.create !== 'function') {
Object.create = function (obj) {
"use strict";
function F() {}
F.prototype = obj;
return new F();
};
}
@esgy
esgy / angular-slick-directive
Created August 4, 2014 07:23
Angular SlickJs directive with reinit support
'use strict';
angular.module('app')
.directive('sgSlick', ['$timeout', function ($timeout) {
return {
restrict: 'AE',
scope: {
images: '=',