Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
<?xml version="1.0"?> | |
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> | |
<channel> | |
<title>The Bugle - Audio Newspaper For A Visual World</title> | |
<description> John Oliver and Andy Zaltzman, fully-qualified Grand Masters of Satirical Jabber, bridge the watery rift through the healing medium of topical podcastery.</description> | |
<itunes:subtitle> John Oliver and Andy Zaltzman, fully-qualified Grand Masters of Satirical Jabber, bridge the watery rift through the healing medium of topical podcastery.</itunes:subtitle> | |
<itunes:category text=""/> | |
<itunes:author>Times Online</itunes:author> | |
<itunes:image href="http://extras.thetimes.co.uk/public/podcastimages/700X700_thebugle.jpg"/> | |
<itunes:owner> |
// | |
// JEProgressView.h | |
// | |
// | |
// Created by John Rommel Estropia on 2014/03/11. | |
// Copyright (c) 2014 John Rommel Estropia. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
while true; do sleep 1; curl http://www.google.com; echo -e '\n\n\n\n'$(date);done |
<?php | |
require('workflows.php'); | |
$w = new Workflows(); | |
// Grab input and build query url string | |
$in = "{query}"; | |
$url = "http://completion.amazon.co.uk/search/complete?method=completion&q=".urlencode( $in )."&search-alias=aps&mkt=4&x=updateISSCompletion&noCacheIE=1295031912518"; | |
// Grab the data from Amazon | |
$str = $w->request( $url ); |
puts "WARN: We are patching rake tasks to support postgres. You have upgraded Rails and may not need this patch any more (lib/tasks/postgres.rake)." if Rails.version > "3.2.8" | |
namespace :db do | |
desc 'kills connections to postgres db' | |
task :kill_postgres_connections => :environment do | |
env = ENV['RAILS_ENV'] | |
db_config = Rails.configuration.database_configuration[env] | |
fail(ArgumentError, "Could not find db config entry for env (#{env})") unless db_config | |
db_name = db_config['database'] |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
- (NSString *) platform; |