HTTP API « WordPress Codex

HTTP API Contents [hide] 1 HTTP API 2 Helper Functions 3 Other Arguments 4 External References HTTP API Within PHP, there are five different ways to send an HTTP request. For simplicity, the five different ways are called ‘transports’ and will be used from now on. The purpose for the HTTP API is to support […]

Get a URL Google+ Count Via PHP

<?php $ch = curl_init(); $encUrl = “https://plusone.google.com/u/0/_/+1/fastbutton?url=”.urlencode($url).”&count=true”; $options = array( CURLOPT_RETURNTRANSFER => true, // return web page CURLOPT_HEADER => false, // don’t return headers CURLOPT_FOLLOWLOCATION => true, // follow redirects CURLOPT_ENCODING => “”, // handle all encodings CURLOPT_USERAGENT => ‘spider’, // who am i CURLOPT_AUTOREFERER => true, // set referer on redirect CURLOPT_CONNECTTIMEOUT => 5, […]

Introducing the Nest Learning Thermostat

I got to get me one of these! Find out more: http://www.nest.com/

Bikers in Cinema

Python for the Web – Gun.io

This article will give an extremely high level overview of how to use python for the web. There are many ways you can interact with the web using python, and this post will cover all of them. This includes python web scraping, interacting with APIs (Application Programming Interfaces) and running your own python web site […]

Setting up Drupal in Rackspace Centos 5.5 in 3 minutes or less

The boring part: Log in to Rackspace and spin a new server with Centos 5.5 and most basic settings. We will be doing this with root so this setup will be for testing only and no production. The fun part: $ yum install httpd php php-mysql mysql-server unzip nano php-xml php-gd (NOTE: php-xml and php-gd […]

Untitled

via DestroyTwitter

How do you install Vim plugins? – Wikianswers – Find and edit the best answers. How to? What? Is it? Can I? Where is?

The “plugin” directory is for plugins that should always be loaded whenever Vim starts. These define global commands, interface tweaks, or new functionality useful for all or many file types. The “ftplugin” directory is for filetype-specific plugins, such as autocompletion or highlight-errors-as-you-edit plugins. The “syntax” directory is for updated syntax highlighting rules specific to a […]

Command Center: Nerd tree Tips

> (a)dd a childnode(m)ove the curent node(d)elete the curent node(c)copy the current node m + c on the folder would duplicate it How to jump back to NERDTree from file in tab? ctrl-ww http://stackoverflow.com/questions/1656591/how-to-jump-back-to-nerdtree-from-file-in-tab via shebangme.blogspot.com NERDTree moving from file in tab.

Fake – Mac OS X Web Browser Automation and Webapp Testing Made Simple.

Fake is a new browser for Mac OS X that makes web automation simple. Fake allows you to drag discrete browser Actions into a graphical Workflow that can be run again and again without human interaction. The Fake Workflows you create can be saved, reopened, and shared. Inspired by Apple’s Automator application, Fake looks like […]