I hereby claim:
- I am pookdeveloper on github.
- I am davidpook (https://keybase.io/davidpook) on keybase.
- I have a public key ASAv1-dDdo1bjh1ld_3UdxoiV881r-SlyzX8ovVaAsdAgQo
To claim this, I am signing this object:
module.exports = { | |
"type": "mysql", | |
"host": process.env.HOST_BBDD || "localhost", | |
"port": process.env.PORT_BBDD || 3306, | |
"username": process.env.USER_BBDD || "root", | |
"password": process.env.PASSWORD_BBDD || "admin", | |
"database": process.env.DATABASE_BBDD || "mydatabase", | |
"synchronize": false, |
{ | |
"type": "mysql", | |
"host": "localhost", | |
"port": 3306, | |
"username": "root", | |
"password": "admin", | |
"database": "mydatabase", | |
"synchronize": false, | |
"logging": true, | |
"entities": [ |
import "reflect-metadata"; | |
import { createConnection, getManager } from "typeorm"; | |
import { resolve } from 'path'; | |
var document: any; | |
const fs = require('fs-extra') // this is no longer necessary | |
const hbs = require('handlebars'); | |
const path = require('path'); |
'use strict'; | |
module.exports = function (Examplemodel) { | |
var app = require('../../server/server'); | |
var seguridad = require('../seguridad/seguridad'); | |
var utilidades = require('../utilidades/utilidades'); | |
// Override the method create for model | |
Examplemodel.once('attached', function () { |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
window.devtoolsFormatters = [{ | |
header: function(obj) { | |
if(!obj.__format){ | |
return null | |
} | |
delete obj.__format; | |
return ['div', {}, `${JSON.stringify(obj, null, 2)}`] | |
}, | |
hasBody: function(){ | |
return false; |
// ==UserScript== | |
// @name Strava Auto Kudos | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automatically like Strava posts. | |
// @author You | |
// @match https://www.strava.com/dashboard | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=strava.com | |
// @grant none | |
// ==/UserScript== |
# Git alias ⬇️ | |
[alias] | |
nah = "!f(){ git reset --hard; git clean -df; if [ -d ".git/rebase-apply" ] || [ -d ".git/rebase-merge" ]; then git rebase --abort; fi; }; f" | |
# Bash function ⬇️ | |
nah () { | |
git reset --hard | |
git clean -df | |
if [ -d ".git/rebase-apply" ] || [ -d ".git/rebase-merge" ]; then | |
git rebase --abort |