This file contains hidden or 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
$breakpoint-alpha: 800px; | |
.table-search { | |
display: flex; | |
padding: 1.3em 1.6em; | |
input { | |
font-size: 14px; | |
flex: 1 1 100%; | |
box-sizing: border-box; | |
-webkit-box-flex: 1; | |
border: none; |
This file contains hidden or 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
let _ = require('lodash'); | |
let games = [{ | |
name: 'Street Fighter', | |
year: 1990 | |
}, | |
{ | |
name: 'Mortal Kombat', | |
year: 1991 |
This file contains hidden or 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
#!/bin/sh | |
ROOT="/var/www/trilpoker" | |
rm -rfv "$ROOT/.painel.build"; | |
mkdir "$ROOT/.painel.build"; | |
cd "$ROOT/.painel.build"; | |
git init; | |
git remote add deploy ssh://[email protected]/var/www/dashboard/repo/; |
This file contains hidden or 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
exports.createSuperAdmin = createSuperAdmin; | |
/** | |
* Create superadmin | |
*/ | |
function createSuperAdmin(req, res) { | |
// | |
// Check if master user exists | |
Model.find({ |
This file contains hidden or 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
exports.createSuperAdmin = createSuperAdmin; | |
/** | |
* Create superadmin | |
*/ | |
function createSuperAdmin(req, res) { | |
// | |
// Check if master user exists | |
Model.find({ |
This file contains hidden or 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
storeFile=/path/to/key | |
keyAlias={key-alias} | |
storePassword={store-pass} | |
keyPassword={key-pass} |
This file contains hidden or 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
{ | |
"Reserva":{ | |
"condominio_id":"22", | |
"area_id":"19", | |
"dt_reserva":"2017-06-01", | |
"dc_horario":"05:00", | |
"dc_observacao":"", | |
"nm_evento":"teste" | |
}, | |
"Convidado":[ |
This file contains hidden or 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 dateTest = new Date(moment().format()); | |
console.log('dateTest', dateTest); | |
Event.find({ | |
'ticketConfig.endDatetime': { | |
$gte: dateTest | |
} | |
}).exec(function(err, teste) { | |
console.log('teste', teste); |
This file contains hidden or 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 dateTest = new Date(moment().format()); | |
console.log('dateTest', dateTest); | |
Ticket.find({ | |
free: true, | |
event: '55e88de27fc7de1100b746cd', | |
endDateTime: { | |
$gte: dateTest | |
} | |
}).exec(function(err, teste) { |
This file contains hidden or 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 query = { | |
$match: { | |
"created": { | |
$gte: ISODate("2015-08-25T12:15:14-03:00") | |
} | |
} | |
} | |
var group = { | |
$group: { | |
_id: { |