- Big Nerd Ranch Blog (feat. Mark Dalrymple)
- iOS Dev Weekly (mailing list)
- NSHipster
- WWDC 2012 Videos
- iOS Programming Guide
- Mike Ash's Blog
- Cocoa With Love (Matt Gallagher)
- Cocoa Is My Girlfriend (Marcus Zarra, Matt Long)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.extend({ | |
getParam: function(n,u) { | |
if(!u) var u = window.location.search; | |
var match = RegExp('[?&]' + n + '=([^&]*)').exec(u); | |
return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( is_home() ) { | |
global $wp_query; | |
$args = array_merge( $wp_query->query, array( | |
'meta_query' => array( | |
array( | |
'key' => 'hidefromhome', | |
'value' => 0 | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var i = 0; i < copy.length; i++) { | |
console.log(copy[i].toLowerCase().replace(/[^\w\s]/gi, '').replace(/\s+/g, '-')); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var checkboxes = document.querySelectorAll("input.checkbox"); | |
for (var i = 0; i < checkboxes.length; i++) { checkboxes[i].click(); }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", | |
"*.tga", | |
"*.dds", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.horizontalScroll { | |
width: 100%; | |
height: 200px; | |
overflow: scroll; | |
overflow-y: hidden!important; | |
white-space: nowrap; | |
-webkit-overflow-scrolling: touch; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var APP = APP || {}; | |
APP.fire = { | |
init : function () { | |
}, | |
index : function () { | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ('tribe_events' == get_post_type()) : ?> | |
<eventStartDate><?php echo tribe_get_start_date(); ?></eventStartDate> | |
<eventEndDate><?php echo tribe_get_end_date(); ?></eventEndDate> | |
<eventCost><?php echo tribe_get_cost(); ?></eventCost> | |
<venueName><?php echo tribe_get_venue(get_the_ID(), true); ?></venueName> | |
<venueAddress><?php echo tribe_get_address(get_the_ID(), true); ?></venueAddress> | |
<venueCity><?php echo tribe_get_city(get_the_ID(), true); ?></venueCity> | |
<venueState><?php echo tribe_get_region(get_the_ID(), true); ?></venueState> | |
<venueZip><?php echo tribe_get_zip(get_the_ID(), true); ?></venueZip> | |
<?php endif; ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
UPDATES | |
2008-08-10 Fixed CSS comment stripping regex to add PCRE_DOTALL (changed from '/\/\*.*\*\//U' to '/\/\*.*\*\//sU') | |
2008-08-18 Added lines instructing DOMDocument to attempt to normalize HTML before processing | |
2008-10-20 Fixed bug with bad variable name... Thanks Thomas! | |
2008-03-02 Added licensing terms under the MIT License | |
Only remove unprocessable HTML tags if they exist in the array | |
2009-06-03 Normalize existing CSS (style) attributes in the HTML before we process the CSS. |