This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cat-names", | |
"version": "1.0.0", | |
"description": "Get popular cat names", | |
"license": "MIT", | |
"repository": "sindresorhus/cat-names", | |
"author": { | |
"name": "Sindre Sorhus", | |
"email": "sindresorhus@gmail.com", | |
"url": "sindresorhus.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var uniqueRandomArray = require('unique-random-array'); | |
var catNames = require('./cat-names.json'); | |
exports.all = catNames; | |
exports.random = uniqueRandomArray(catNames); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
'use strict'; | |
var meow = require('meow'); | |
var catNames = require('./'); | |
var cli = meow([ | |
'Examples', | |
' $ cat-names', | |
' Max', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mysql = require('mysql'); | |
var connection = mysql.createConnection({ | |
host: 'localhost', | |
user: 'root', | |
password: 'root', | |
database: 'personas', | |
port: 3306 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=""> | |
@Html.LabelFor(model => model.griv_idgrupoinv, htmlAttributes: new { @class = "" }) | |
@Html.DropDownList("griv_idgrupoinv", new SelectList(ViewBag.GrupoInv, "Text", "Value"), new { @class = "form-control" }) | |
</div> |
NewerOlder