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
// Server | |
Votes.allow({ | |
insert: function (userId, vote){ | |
var voteCheck = Votes.findOne({user_id: userId, video_id: vote.video_id}); | |
if ( voteCheck ) { | |
return false; | |
} else { | |
if ( userId && vote.user_id === userId ) { | |
return true; |
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
Skips.allow({ | |
insert: function (userId, vote){ | |
var voteCheck = Skips.findOne({user_id: userId, video_id: vote.video_id}); | |
if ( voteCheck ) { | |
return false; | |
} else { | |
if ( userId && vote.user_id === userId ) { | |
return true; | |
} else { | |
return false; |
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 app = angular.module('myApp', ['PlPush']); | |
app.config(function(PushConfigProvider){ | |
PushConfigProvider.setGcmSenderId('Tu ID de Google GCM Sender'); | |
}); | |
app.run(function(PushSrv){ | |
PushSrv.ensureRegistration(function(){ | |
console.info('Registrado correctamente! El token de Push es ' + PushSrv.getToken()); | |
}, function(){ |
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
describe('Features Service', function() { | |
beforeEach(module('RD.services', function(RDConfigProvider) { | |
var fields = [ | |
{ label: 'Marca', term: 'company', filterAs: 'collection', filter: 'humanize' }, | |
{ label: 'Producto', term: 'product', filterAs: 'collection', filter: 'humanize' }, | |
{ label: 'Fecha', term: 'date', filterAs: 'dateRange', filter: 'date', filterParam: 'mediumDate', preMadeFilters: 'date' }, | |
{ label: 'Año', term: 'year', filterAs: 'collection' }, | |
{ label: 'Mes', term: 'month', filterAs: 'collection' }, | |
{ label: 'Día', term: 'wday', filter: 'weekDay' }, | |
{ label: 'Region', term: 'region', filterAs: 'collection', filter: 'humanize' }, |
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
[ | |
{ | |
"category": "symbols", | |
"keywords": [ | |
"score", | |
"perfect", | |
"numbers", | |
"century", | |
"exam", | |
"quiz", |
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
[{"category":"symbols","keywords":["score","perfect","numbers","century","exam","quiz","test","pass","hundred","100","symbols"],"code":"1f4af"},{"category":"symbols","keywords":["numbers","blue-square","1234","symbols"],"code":"1f522"},{"category":"people","keywords":["face","smile","happy","joy",":D","grinning","people"],"code":"1f600"},{"category":"people","keywords":["face","grimace","teeth","grimacing","people"],"code":"1f62c"},{"category":"people","keywords":["face","happy","smile","joy","grin","people"],"code":"1f601"},{"category":"people","keywords":["face","cry","tears","weep","happy","haha","joy","people"],"code":"1f602"},{"category":"people","keywords":["face","happy","joy","haha",":D","smiley","people"],"code":"1f603"},{"category":"people","keywords":["face","happy","joy","funny","haha","laugh","like",":D","smile","people"],"code":"1f604"},{"category":"people","keywords":["face","hot","happy","laugh","sweat_smile","people"],"code":"1f605"},{"category":"people","keywords":["happy","joy","lol","satis |
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
amount,ltv | |
100875677,42 | |
462320034,50 | |
62230219,15 | |
66000000,75 | |
43576280,45 | |
123753970,15 | |
70000000,18 | |
123166343,15 | |
92377323,11 |
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
Service,151972304,4/29/2016,2/5/2023,58,CLP,8.8 | |
Service,87676329,4/29/2016,2/2/2023,35,CLP,8.8 | |
Agriculture,100875677,5/2/2016,5/5/2023,42,CLP,12.0 | |
Commerce,39668011,5/10/2016,5/15/2023,89,CLP,14.4 | |
Construction,599789629,5/30/2016,6/4/2019,51,UF,4.4 | |
Construction,36780660,5/31/2016,6/2/2022,75,CLP,8.5 | |
Service,609349864,5/31/2016,6/5/2021,91,CLP,8.8 | |
Construction,49000000,6/1/2016,6/6/2023,80,CLP,12.0 | |
Commerce,242492668,6/6/2016,6/5/2023,63,UF,5.7 | |
Construction,91000000,6/8/2016,6/15/2021,70,CLP,14.3 |
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
Service,151972304,4/29/2016,2/5/2023,58,CLP,8.8 | |
Service,87676329,4/29/2016,2/2/2023,35,CLP,8.8 | |
Agriculture,100875677,5/2/2016,5/5/2023,42,CLP,12.0 | |
Commerce,39668011,5/10/2016,5/15/2023,89,CLP,14.4 | |
Construction,599789629,5/30/2016,6/4/2019,51,UF,4.4 | |
Construction,36780660,5/31/2016,6/2/2022,75,CLP,8.5 | |
Service,609349864,5/31/2016,6/5/2021,91,CLP,8.8 | |
Construction,49000000,6/1/2016,6/6/2023,80,CLP,12.0 | |
Commerce,242492668,6/6/2016,6/5/2023,63,UF,5.7 | |
Construction,91000000,6/8/2016,6/15/2021,70,CLP,14.3 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0"> | |
<style type="text/css"> | |
html, | |
body { | |
width: 100vw; | |
height: 100vh; |
OlderNewer