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] | |
| ], | |
| [ |
Copy from vim to System Clipboard
:4,8!pbcopy "Copy line 4 to 8Note how you can extend any type.
More Info: http://msdn.microsoft.com/en-us/library/bb383977.aspx
| -- 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 |
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?This is a short hand...
$(function () {
});For this...
| (function ($) { | |
| $.datepicker.setDefaults({ | |
| regional: 'en-GB', | |
| dateFormat: 'dd/mm/yy', | |
| changeMonth: true, | |
| changeYear: true, | |
| minDate: new Date(), | |
| yearRange: '1900:c' | |
| }); | |
| })(jQuery); |
| var Connection = require('tedious').Connection | |
| var Request = require('tedious').Request | |
| var TYPES = require('tedious').TYPES | |
| var config = { | |
| userName: 'Username' | |
| , password: 'password' | |
| , server: 'localhost' | |
| } |
| // 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 |
| user=`whoami` | |
| # if installing node directly | |
| sudo chown -R $user /usr/local/bin | |
| sudo chown -R $user /usr/local/lib/node_modules | |
| # if using nvm | |
| sudo chown -R $user ~/.npm |