Skip to content

Instantly share code, notes, and snippets.

View HaeckDesign's full-sized avatar

HaeckDesign HaeckDesign

View GitHub Profile
@oodavid
oodavid / README.md
Last active October 11, 2024 00:36 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@kevinSuttle
kevinSuttle / meta-tags.md
Last active November 7, 2024 10:05 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags
@HaeckDesign
HaeckDesign / Creative-Commons-Icon-Sprite.markdown
Last active December 16, 2016 06:54
Creative Commons Icon Sprite
@HaeckDesign
HaeckDesign / Joomla-Breadcrumbs-w-Schema.php
Last active December 16, 2016 06:55
Joomla - Schema Friendly Breadcrumbs (mod_breadcrumbs/default.php)
<?php
defined('_JEXEC') or die;
?>
<ol itemscope itemtype="http://schema.org/BreadcrumbList" class="uk-breadcrumb uk-margin uk-link-muted <?php echo $moduleclass_sfx; ?>">
<?php
if ($params->get('showHere', 1))
{
echo '<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem" class="uk-active">' . JText::_('MOD_BREADCRUMBS_HERE') . '</li>';
@bonzanini
bonzanini / config.py
Last active September 3, 2024 07:38
Twitter Stream Downloader
consumer_key = 'your-consumer-key'
consumer_secret = 'your-consumer-secret'
access_token = 'your-access-token'
access_secret = 'your-access-secret'
@HaeckDesign
HaeckDesign / Demo HTML
Last active December 16, 2016 06:54
Triangle Ghost Theme - Demo Code Samples
<!-- Demo Version of footerwidgets.hbs -->
<aside class="shade2 uk-clearfix">
<div class="uk-width-1-1 uk-width-medium-3-4 uk-grid uk-container-center" data-uk-grid-match="{target:'.uk-panel'}">
<div class="uk-width-1-1 uk-width-small-1-2 uk-width-medium-1-3 uk-margin-large-top uk-margin-large uk-panel uk-panel-header">
<div class="uk-h5 uk-panel-title"><i class="uk-icon-envelope uk-margin-right" data-uk-scrollspy="{cls:'uk-animation-fade',delay:600}"></i>MailChimp</div>
<p>We don't send a lot of mail, but when we do it's usually pretty awesome.</p>
<div id="mc_embed_signup">
<form action="#" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate uk-form" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active October 31, 2024 13:38
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@kevinpapst
kevinpapst / osx-10.11-setup.md
Last active April 28, 2024 05:26 — forked from kevinelliott/osx-10.11-setup.md
Mac OS X 10.11 El Capitan Setup

Developer setup for Mac OS X 10.11 El Capitan

Inspired by a Gist from kevinelliott - thanks!

Software

Install from App Store

  • Xcode - for command line tools required by Homebrew
@HaeckDesign
HaeckDesign / authorminibio.php
Last active December 16, 2016 06:54
Author Mini Bio for Joomla! Posts
<?php
// no direct access
defined('_JEXEC') or die('Go Away');
// pull user id
$jomauth_article =& JTable::getInstance('content');
$jomauth_article->load(JRequest::getInt('id'));
$jomauth_authorid = $jomauth_article->created_by;