#api
9 posts tagged api. Clear filter
-
Running my site through an MCP server
The admin area of this site has a second front door: a Model Context Protocol server at POST /mcp. Here is what that takes in Rails — JSON-RPC over one route, a bearer token, and twenty tools that go through the same models as the browser.
-
How to Read and Write to a Single Cell Using PHP and Google Spreadsheets API
This post assumes you've created a project with Google's web console and downloaded a clientsecret.json file from the credentials page. If not, more info is here.....
-
How to Make an iOS App Icon from a File on the Command Line or Web Browser
If you need to make iOS app icon assets from a photo, take a look at the Make App Icon website and API. They will let you upload an image from a web browser (in exchange for an email) and then...
-
My First Python Package on PyPi - Command Line Blog
I wrote my first Python package over the weekend. It is a simple package that adds a basic blog API to an existing Flask application. It's called commandlineblog and is available on Github and on...
-
Collection Select Helper and OnChange Event in Rails
Given a collection of Active Record objects, you may use the collection\select helper method to produce a select form field. You need to pass in a number of arguments to the helper function. 1)...
-
Get Child Categories of Parent Category on Single Post in Wordpress
I was hoping to find a function in the Wordpress API, that goes something like this... But I could not. The result that I did find, from various forums goes something like this... If you're in the...
-
My Review of Moodle 1.9 Extension Development
I wrote a review for Joseph Thibault's Moodle News on extension development for Moodle. The book is quite good and I think an essential resource for anyone wanting to develop in Moodle. The book...
-
Updating Your Twitter Status with cURL and a Bash Function
I'm usually at the command line so I wrote a little a bash function so that i can type and it will update my twitter status! some characters trip it up but in general it's useful for most of my...
-
Ruby on Rails, jQuery and YUI API Docs Available as Mac OS X Dictionary Binaries
I came across an awesome tool this morning. Priit Haamer has chunked Ruby on Rails, jQuery, and some of YUI documentation into native Mac OS X dictionary binaries. This lets you search those API...