tips to evolve as a developer
developers get stuck, paralized
https://www.oreilly.com/library/view/apprenticeship-patterns/9780596806842/ch04.html
Make It Stick https://www.amazon.com.br/Make-Stick-Science-Successful-Learning/dp/0674729013
| ROADMAP de Matemática antes de Cálculo 1: | |
| BÁSICO DO BÁSICO: | |
| - As quatro operações básicas | |
| - Expressões númericas | |
| - Frações | |
| - Operações com números decimais | |
| - Dízimas Periódicas | |
| - Múltiplos e Divisores | |
| - Critérios de Divisibilidade |
| import 'zone.js/dist/zone-node'; | |
| import { APP_BASE_HREF } from '@angular/common'; | |
| import { ngExpressEngine } from '@nguniversal/express-engine'; | |
| import * as express from 'express'; | |
| import { existsSync } from 'fs'; | |
| import { join } from 'path'; | |
| import * as redis from 'redis'; | |
| import { AppServerModule } from './src/main.server'; |
tips to evolve as a developer
developers get stuck, paralized
https://www.oreilly.com/library/view/apprenticeship-patterns/9780596806842/ch04.html
Make It Stick https://www.amazon.com.br/Make-Stick-Science-Successful-Learning/dp/0674729013
Se você possui MAC, provavelmente no arquivo ~/.zshrc.
Se você possui Linux, provavelmente ~/.bashrc.
Se você possui Windows, clique aqui
| import {Injectable} from '@angular/core'; | |
| import {Cache} from '../utils/storage.provider'; // Decorator to access local storage | |
| let OneSignal; | |
| const url = ''; | |
| @Injectable() | |
| export class OneSignalService { | |
| @Cache({pool: 'OneSignal'}) oneSignalInit; // to check if OneSignal is already initialized. |
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
const Moment = require('moment')
const array = [{date:"2018-05-11"},{date:"2018-05-12"},{date:"2018-05-10"}]
const sortedArray = array.sort((a,b) => new Moment(a.date).format('YYYYMMDD') - new Moment(b.date).format('YYYYMMDD'))
console.log(sortedArray)This is a very simple method, and for me (as a SysAdmin) it's very practical as I usually make things through SSH terminal.
For me it's never been a problem so far, but one never knows
First we generate the dump itself, for example:
mysqldump -umyuser -pmypass mydatabase > mydumpfile.sql
| Domain: TEST.local | |
| User Enumeration: | |
| Windows: | |
| net user | |
| net user /domain | |
| net user [username] | |
| net user [username] /domain | |
| wmic useraccount | |
| Mac: | |
| dscl . ls /Users |
| /** | |
| * Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken | |
| * It was requested to be introduced at as part of the jsonwebtoken library, | |
| * since we feel it does not add too much value but it will add code to mantain | |
| * we won't include it. | |
| * | |
| * I create this gist just to help those who want to auto-refresh JWTs. | |
| */ | |
| const jwt = require('jsonwebtoken'); |