- 5$
- 1 CPU
- 512Mb memory
- 1T transfer
- 20GB SSD
The version of ImageMagick that is installed when you run apt-get install imagemagick
on Ubuntu 14.04 is older than I would like.
$ convert --version
Version: ImageMagick 6.7.7-10 2016-06-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
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
raise 'Wrong Ruby version!' unless RUBY_VERSION >= '2.6.0' | |
module Strings | |
Trim = -> str { String(str).strip } | |
Replace = -> (sub, new_sub, str) { String(str).gsub(sub, new_sub) } | |
LowerCase = -> str { String(str).downcase } | |
end | |
# -- Alternative syntax -- | |
Slugify = # Slugify = |
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
defmodule Slug1 do | |
def slugify(input), do: map_slug(input, %{pattern: ~r/\s+/}) | |
def slugify2(input), do: map_slug(input, %{pattern: " "}) | |
defp map_slug(input, %{pattern: pattern}) do | |
input | |
|> to_string() | |
|> String.trim() | |
|> String.downcase() |
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
// ==UserScript== | |
// @name Unblur scribd.com | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://vi.scribd.com/* | |
// @grant none | |
// ==/UserScript== | |
(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
'use strict'; | |
const functions = require('firebase-functions'); | |
const {WebhookClient} = require('dialogflow-fulfillment'); | |
var nodemailer = require('nodemailer'); | |
function enviarEmail(usuario, produto, quantidade){ | |
// Configurações do Email | |
var transporter = nodemailer.createTransport({ | |
service: 'gmail', |
OlderNewer