This is a short hand...
$(function () {
});
For this...
// Guide http://msdn.microsoft.com/en-us/library/debx8sh9.aspx | |
using System; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
namespace Examples.System.Net | |
{ | |
public class WebRequestPostExample |
var Connection = require('tedious').Connection | |
var Request = require('tedious').Request | |
var TYPES = require('tedious').TYPES | |
var config = { | |
userName: 'Username' | |
, password: 'password' | |
, server: 'localhost' | |
} |
(function ($) { | |
$.datepicker.setDefaults({ | |
regional: 'en-GB', | |
dateFormat: 'dd/mm/yy', | |
changeMonth: true, | |
changeYear: true, | |
minDate: new Date(), | |
yearRange: '1900:c' | |
}); | |
})(jQuery); |
This is a short hand...
$(function () {
});
For this...
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=779297
Error:
Bugzilla has suffered an internal error
Can't connect to the database.
Error: Can't connect to MySQL server on 'db-bugs-rw' (113)
Is your database installed and up and running?
Do you have the correct username and password selected in localconfig?
-- SET IDENTITY_INSERT to ON. | |
SET IDENTITY_INSERT products ON | |
GO | |
-- Attempt to insert an explicit ID value of 3 | |
INSERT INTO products (id, product) VALUES(3, 'garden shovel'). | |
GO | |
SET IDENTITY_INSERT products OFF |
Note how you can extend any type.
More Info: http://msdn.microsoft.com/en-us/library/bb383977.aspx
Copy from vim to System Clipboard
:4,8!pbcopy "Copy line 4 to 8
$(function () { | |
var r = Raphael("example"); | |
var chart = r.g.linechart ( | |
10, 10, | |
490, 180, | |
[ | |
[1,2,3,4,5,6,7], | |
[3.5,4.5,5.5,6.5,7,8] | |
], | |
[ |
GO | |
/****** Object: UserDefinedFunction [dbo].[fnIsSameDate] Script Date: 02/12/2013 17:02:41 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
-- ============================================= | |
-- Author: Duncan Angus Wilkie | |
-- Create date: 12/02/2013 | |
-- Description: Do datetime (DATE only) match? |