Installing Xcode and the command line tools need to be done first because it installs gcc
.
https://developer.apple.com/xcode/features/
Or via the terminal:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* ExpressionEngine - by EllisLab | |
* | |
* @package ExpressionEngine | |
* @author ExpressionEngine Dev Team | |
* @copyright Copyright (c) 2003 - 2011, EllisLab, Inc. | |
* @license http://expressionengine.com/user_guide/license.html | |
* @link http://expressionengine.com |
@media only screen and (min-width: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
Installing Xcode and the command line tools need to be done first because it installs gcc
.
https://developer.apple.com/xcode/features/
Or via the terminal:
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Trigram for heaven icon</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<style type="text/css"> | |
li { | |
list-style-type: none; | |
} |
{embed="_layouts/blog" | |
blog_title="Inspire" | |
blog_slug="inspire" | |
blog_category_id="125" | |
blog_description="Design & Interaction" | |
blog_description_more="our three hundred foot view. Primarily written by/for UX designers, visual designers, and front-end developers." | |
meta_description="Viget’s Inspire blog: discussing all things design & interaction including wireframing, typography, Photoshop tips and techniques, CSS, HTML5, and jQuery." | |
rss="{gv_inspire_feed}" | |
} |
# ---------------------------------------------------------------------- | |
# Password protect staging server | |
# Use one .htaccess file across multiple environments | |
# (e.g. local, dev, staging, production) | |
# but only password protect a specific environment. | |
# ---------------------------------------------------------------------- | |
SetEnvIf Host staging.domain.com passreq | |
AuthType Basic | |
AuthName "Password Required" |
<?xml version="1.0" encoding="UTF-8" ?> | |
<rss version="2.0" | |
xmlns:g="http://base.google.com/ns/1.0"> | |
<channel> | |
<title>{site_name} Products</title> | |
<link>{site_url}</link> | |
<description>[insert store description here]</description> | |
{exp:channel:entries channel="products" rdf="off" dynamic_start="on" limit="1000" disable="member_data|trackbacks"} | |
<item> | |
<title>{exp:xml_encode}{title}{/exp:xml_encode}</title> |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Cartthrob_example_extension_ext | |
{ | |
public $settings = array(); | |
public $name = 'CartThrob Example Extension'; | |
public $version = '1.0.0'; | |
public $description = 'CartThrob Example Extension'; | |
public $settings_exist = 'n'; | |
public $docs_url = 'http://cartthrob.com/'; |
/* | |
* Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/ | |
* Better handling of scripts without supplied ids. | |
* | |
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function. | |
*/ | |
(function(doc, script) { | |
var js, | |
fjs = doc.getElementsByTagName(script)[0], |