Skip to content

Instantly share code, notes, and snippets.

View ggrossetie's full-sized avatar
😅
Hi!

Guillaume Grossetie ggrossetie

😅
Hi!
View GitHub Profile
@ggrossetie
ggrossetie / current_raw_nabble_email_content.txt
Last active August 29, 2015 14:06
raw nabble email content
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Thu, 07 Mar 2013 08:55:34 -0800
Received: from mail-la0-f42.google.com ([209.85.215.42])
by sam.nabble.com with esmtp (Exim 4.72)
(envelope-from <[email protected]>)
id 1UDe6P-00048w-Mq
for [email protected]; Thu, 07 Mar 2013 08:55:34 -0800
Received: by mail-la0-f42.google.com with SMTP id fe20so736444lab.1
for <[email protected]>; Thu, 07 Mar 2013 08:55:27 -0800 (PST)

Keybase proof

I hereby claim:

  • I am mogztter on github.
  • I am ggrossetie (https://keybase.io/ggrossetie) on keybase.
  • I have a public key whose fingerprint is B9F7 CFC8 FFE1 4C0D 9A9B AEA9 76FE 1782 2EE4 C889

To claim this, I am signing this object:

@ggrossetie
ggrossetie / log-v1.html
Created March 12, 2015 09:36
Robot report and log new design
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="Generator" content="">
<link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAEAAAAAAAAAAAAAAAJEBoACtnfgA5cYYAERsiAEx2lAAbKkQAcazBACZCVwAcM1cAK0ucAAMDBQAnQncASG+FABkoVQAyWmgA6f8SgvH/Ij99+GLyIinyJfn/Yi//KSLzUy9iZogpIld3/4JVVTkid7vyUjNVNVJEAGOZ6Z7pXwAABpmZkRiLAAAGiJZpmGAAAEEt3SXdxAAATC7o/u3EAAC8MRZpjasAAAY1VVVTYAAABKqqqqpAAAAADKqq4AAAAAAAv4sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMADAADgAwAA4AcAAOAHAADgBwAAwAcAAOAHAADgDwAA8A8AAPg/AAD+fwAA">
<style>
class CustomSMTPConfigurationProvider extends Provider[SMTPConfiguration] {
override def get() = new SMTPConfiguration("typesafe.org", 1234)
}
class CustomMailerConfigurationModule extends Module {
def bindings(environment: Environment, configuration: Configuration) = Seq(
bind[SMTPConfiguration].toProvider[CustomSMTPConfigurationProvider]
)
}

Configure mailer instance

Runtime Dependency Injection

By default the plugin automatically configure the injected instances with the application.conf file:

class MyComponent @Inject() (mailer: MailerClient) {
  // ...
}

Asciidoctor Documentation

Follow the links on this page to learn about the AsciiDoc markup lan

My VAR is my variable

My VAR is my variable

(function(undefined) {
if (typeof(this.Opal) !== 'undefined') {
console.warn('Opal already loaded. Loading twice can cause troubles, please fix your setup.');
return this.Opal;
}
// The Opal object that is exposed globally
var Opal = this.Opal = {};
// All bridged classes - keep track to donate methods from Object
class IO
def read
if @eof
''
else
`res = self.read_proc(@path)`
@eof = true
@lineno = res.size
res
end
Node 0.12.0
Asciidoctor 1.5.4
Opal 0.10.0.beta3
Load scripts: 0.234s
Run #1: 1,642
Run #2: 1,309
Run #3: 1,26
Run #4: 1,236