Skip to content

Instantly share code, notes, and snippets.

View scottgonzalez's full-sized avatar

Scott González scottgonzalez

View GitHub Profile
@scottgonzalez
scottgonzalez / commit-status.js
Created September 4, 2012 20:33
GitHub Commit Status API example
var https = require( "https" ),
username = "xxx",
password = "xxx";
function postStatus( settings, fn ) {
var data = JSON.stringify( settings ),
headers = {
"Content-length": data.length
};
(function( $ ) {
var slice = [].slice;
$.fn.dialog = function() {
var args = slice.call( arguments );
return this.each(function() {
dialog.apply( null, [ $( this ) ].concat( args ) );
});
};
@scottgonzalez
scottgonzalez / github-irc.js
Created November 19, 2012 22:34
Update jQuery's GitHub IRC notifications to include push, pull_request, issues.
var https = require( "https" ),
async = require( "async" ),
username = "xxx",
password = "xxx";
function getRepos( user, fn ) {
var req = https.request({
host: "api.github.com",
port: 443,
path: "/users/" + user + "/repos",
== What is jQuery UI? ==
jQuery UI is a widget and interaction library built on top of the jQuery JavaScript Library, that you can use to build highly interactive web applications. This guide is designed to get you up to speed on how jQuery UI works. Follow along below to get started.
== Start by checking out the demos ==
To get a feel for what jQuery UI is capable of, check out the [http://jqueryui.com/demos/ UI demos].
In the demos section, the navigation lists all of the interactions and widgets that jQuery UI offers. Choose an interaction or widget and you'll be presented with several demo configurations for that particular plugin. Each demo allows you to view source code, change themes, and the URL can always be bookmarked. For example, check out the [http://jqueryui.com/demos/accordion/#fillspace accordion widget's fill space demo page].
== Build your custom jQuery UI download ==
Once you have a basic understanding of what jQuery UI is and what it does, you're ready to try it out! It's time to head
[[UI/Theming|« Back to jQuery UI Theming]]
==The jQuery UI CSS Framework==
jQuery UI includes a robust CSS Framework designed for building custom jQuery widgets. The framework includes classes that cover a wide array of common user interface needs, and can be manipulated using jQuery UI ThemeRoller. By building your UI components using the jQuery UI CSS Framework, you will be adopting shared markup conventions and allowing for ease of code integration across the plugin community at large.
==Framework Classes==
The following CSS classes are split between ui.core.css and ui.theme.css, depending on whether styles are fixed and structural, or themeable (colors, fonts, backgrounds, etc) respectively. These classes are designed to be applied to User Interface elements to achieve visual consistency across an application and allow components to be themeable by jQuery UI ThemeRoller.
===Layout Helpers===
/*!
CSSLint
Copyright (c) 2011 Nicole Sullivan and Nicholas C. Zakas. All rights reserved.
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
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@scottgonzalez
scottgonzalez / grunt-release-process.md
Last active December 15, 2015 06:19
Proposal for grunt release process

The following is pseudo-code for a proposed grunt release task.

The task assumes that you're using git and the default remote is where the release should be pushed to.

There are safety checks to ensure a clean release, and the custom checks can be added by the project using the release task.

None of the following is a suggestion on naming, this is purely an overview of the way I think the release task should work.

The word "task" is heavily abused in the comments. These may not be tasks as defined in Grunt.

@scottgonzalez
scottgonzalez / api.json.php
Created March 21, 2013 20:38
Old api.jquery.com JSON API
<?php
/*
Template Name: JSON Api
*/
?>
<?php
$debug = false;
$apivars = array();
if (isset($_GET)):
Version Date Stable
1.0.0 2007-09 x
1.5.0 alpha 1 2008-02
1.5.0 beta 1 2008-02
1.5.0 beta 2 2008-04
1.5.0 beta 3 2008-05
1.5.0 beta 4 2008-05
1.5.0 rc 1 2008-06
1.5.0 2008-06 x