Skip to content

Instantly share code, notes, and snippets.

View HaeckDesign's full-sized avatar

HaeckDesign HaeckDesign

View GitHub Profile
@ryanhanwu
ryanhanwu / Brewfile
Last active October 10, 2024 00:19
New Mac Setup Script 2021
# Taps
tap 'homebrew/cask-fonts'
tap 'homebrew/cask-versions'
tap 'heroku/brew'
# Install CLI Tools
## Shell Utilities
brew 'coreutils'
brew 'findutils'
brew 'autojump'
@nickytonline
nickytonline / my-mac-setup.sh
Last active May 5, 2024 07:33
Mac Setup Scripts
#!/bin/sh
# More Mac setup at https://mac.iamdeveloper.com
# Log file
timestamp=$(date +%s)
logFile="./my-mac-setup-$timestamp.log"
# if true is passed in, things will reinstall
reinstall=$1
@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;
@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
@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

@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">
@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 / 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>';
@HaeckDesign
HaeckDesign / Creative-Commons-Icon-Sprite.markdown
Last active December 16, 2016 06:54
Creative Commons Icon Sprite