Skip to content

Instantly share code, notes, and snippets.

View josedaniel's full-sized avatar
Building.

José Daniel Paternina josedaniel

Building.
View GitHub Profile
@josedaniel
josedaniel / Quote.js
Last active July 16, 2018 17:16
Regular Vulcano CRUD model
/* global mongoose, Quote, VSError */
/**
* Quote.js
*/
module.exports = {
attributes: {
active: {
@CodeMaxter
CodeMaxter / auto-setup-scoop.ps1
Created November 15, 2018 06:39
PowerShell script to install a software development environment using scoop package manager
# git
scoop install git
# add the optional 'extras' bucket
scoop bucket add extras
# utils
scoop install colortool cmder 7zip curl sudo coreutils grep cygwin totalcommander nvm paint.net
# colaboration
@naranjja
naranjja / index.js
Last active March 10, 2022 00:16
Google Analytics tracking using Dialogflow API v2 and some REST API
const ua = require("universal-analytics");
const request = require("request-promise");
const { https } = require("firebase-functions");
function getUserID (obj) {
if (!obj.source) {
return "dialogflow";
} else {
switch (obj.source) {
case "twilio":