npm i THIS_URL
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
import { createHash } from "crypto"; | |
import fs from "fs"; | |
import fsp from "fs/promises"; | |
import path from "path"; | |
import https from "https"; | |
import { PassThrough } from "stream"; | |
import type { Readable } from "stream"; | |
import type { LoaderFunction } from "remix"; | |
import sharp from "sharp"; | |
import type { Request as NodeRequest } from "@remix-run/node"; |
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
# scaffold your project | |
npx preact-cli@rc create default my-app && cd my-app | |
# upgrade to Preact X | |
npm i -D preact-cli@rc && npm i preact@latest preact-router@latest preact-render-to-string@latest | |
npm rm preact-compat |
A GSW está com vaga para Senior Software Engineer full-time para projeto de longa duração
Buscamos profissionais apaixonados e experientes, com visão arquitetural no contexto de APIs, arquiteturas orientadas a serviços e que se orgulham do código que produzem
Backend - Nodejs(express, koajs, wascally, mongoose, bluebird, mocha, chai, supertest), Rabbitmq, Mongodb, Redis
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
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
}; | |
NodeList.prototype.__proto__ = Array.prototype; |
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 mandrill = require('mandrill-api/mandrill'), | |
async = require('async'), | |
User = require('../../models').User; | |
module.exports = function (apiKey, lang) { | |
// setup mandrill api | |
var mandrill_client = new mandrill.Mandrill(apiKey); |
NewerOlder