Magic words:
psql -U postgresMost \d commands support additional param of __schema__.name__ and accept wildcards like *.*
\q: Quit/Exit\c __database__: Connect to a database\d __table__: Show table definition including triggers
| public class HomeController : Controller | |
| { | |
| public ActionResult Index() | |
| { | |
| return new HttpNotFoundResult("This doesn't exist"); | |
| } | |
| } |
| Data Source=.\SQLEXPRESS;AttachDbFilename=App_Data\Database1.mdf;Integrated Security=True;User Instance=True |
| .col-centered{ | |
| float: none; | |
| margin: 0 auto; | |
| } | |
| (function (app) { | |
| app.constant('settings', @Html.Raw(Model.SettingsJson)); | |
| })(angular.module('@Model.AngularModuleName')); |
Magic words:
psql -U postgresMost \d commands support additional param of __schema__.name__ and accept wildcards like *.*
\q: Quit/Exit\c __database__: Connect to a database\d __table__: Show table definition including triggers| 'use strict'; | |
| var should = require('should'); | |
| var app = require('../../app'); | |
| var request = require('supertest')(app); | |
| describe('GET /api/incidents', function() { | |
| it('should require authorization', function(done) { | |
| request |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> | |
| <title>untitled</title> | |
| <link rel="stylesheet" href="" /> | |
| </head> | |
| <body> |
| // Node.js CheatSheet. | |
| // Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
| // Download: http://nodejs.org/download/ | |
| // More: http://nodejs.org/api/all.html | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
| cat domains | xargs dig NS |
| 'use strict'; | |
| var users = require('../sample_users'); | |
| exports.seed = function(knex, Promise) { | |
| var userPromises = []; | |
| users.forEach(function(user){ | |
| userPromises.push(createUser(knex, user)); | |
| }); | |
| return Promise.all(userPromises); | |
| }; |