Skip to content

Instantly share code, notes, and snippets.

View omares's full-sized avatar
💭
🚀

Ota Mares omares

💭
🚀
View GitHub Profile
// SomeClass is stored as typeof in a var
Func<SomeClass> factory = () => Container.GetInstance<SomeClass>();
Container.Register<Lazy<SomeClass>>(() => new Lazy<SomeClass>(factory));
scan.Click += async (sender, e) => {
var result = await scanner.Scan();
}
# zsh plugins managed via https://github.com/zdharma/zplugin
# https://github.com/zsh-users/zsh-completions
zplugin ice wait'0' blockf
zplugin load zsh-users/zsh-completions
# https://github.com/MichaelAquilina/zsh-you-should-use
zplugin ice wait'0' pick'you-should-use.plugin.zsh'
zplugin load MichaelAquilina/zsh-you-should-use
@omares
omares / demo.css
Last active March 14, 2019 00:13
glidejs/glide demos
body {
background-color: #05070b;
overflow-x: hidden;
margin: 0;
padding: 30px;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
color: white;
}
.heading--h1, .heading--h2, .heading--h3, .heading--h4, .heading--h5, .heading--h6, h1, h2, h3, h4, h5, h6 {
@omares
omares / keybase.md
Last active January 4, 2020 22:43
keybase

Keybase proof

I hereby claim:

  • I am omares on github.
  • I am omares (https://keybase.io/omares) on keybase.
  • I have a public key ASB07J2NJHGfcgZMJzQHWnyeUQvWF55gjYTuAzJCgIsQ5Ao

To claim this, I am signing this object: