Skip to content

Instantly share code, notes, and snippets.

View aramkoukia's full-sized avatar
🏠
Working from home

Aram Koukia aramkoukia

🏠
Working from home
View GitHub Profile
InVision
Staff Product Designer 2/24/2020 Anywhere #design, #anywhere, #Full Time https://www.invisionapp.com/ https://workew.com/job/staff-product-designer-invision/
Product Management Director 2/24/2020 Anywhere #tech, #project-management, #anywhere, #Freelance https://www.invisionapp.com/ https://workew.com/job/product-management-director-invision/
UX Researcher 2/4/2020 Anywhere #design, #anywhere, #Full Time https://www.invisionapp.com/ https://workew.com/job/ux-researcher-invision/
Staff Product Designer, Core 2/29/2020 #design, #Design, #visual design, #ux, #agile, #interactive design, #Product Design, #UI/UX, #sketch https://remotive.io/remote-jobs/design/staff-product-designer-core-84679
Lead Product Manager, Studio 2/18/2020 #tech, #Product, #product management, #saas https://remotive.io/remote-jobs/product/lead-product-manager-studio-81737
Principal Product Manager 2/17/2020 #tech, #Product, #product management, #cloud, #SRE https://remotive.io/remote-jobs/product/princip
@aramkoukia
aramkoukia / HttpHandler.fs
Created July 22, 2018 04:03
HttpHandler.fs
namespace firstGiraffe
module HttpHandlers =
open Microsoft.AspNetCore.Http
open Giraffe
open firstGiraffe.Models
let handleGetHello =
fun (next : HttpFunc) (ctx : HttpContext) ->
@aramkoukia
aramkoukia / program.fs
Created July 22, 2018 03:58
program fs
module firstGiraffe.App
open System
open Microsoft.AspNetCore.Builder
open Microsoft.AspNetCore.Cors.Infrastructure
open Microsoft.AspNetCore.Hosting
open Microsoft.Extensions.Logging
open Microsoft.Extensions.DependencyInjection
open Giraffe
open firstGiraffe.HttpHandlers
@aramkoukia
aramkoukia / models.fs
Created July 22, 2018 03:54
models.fs
namespace firstGiraffe.Models
[<CLIMutable>]
type Message =
{
Text : string
}
<div class="top-row pl-4 navbar navbar-dark">
<a class="navbar-brand" href="">WebAssemblySample</a>
<button class="navbar-toggler" onclick=@ToggleNavMenu>
<span class="navbar-toggler-icon"></span>
</button>
</div>
<div class=@(collapseNavMenu ? "collapse" : null) onclick=@ToggleNavMenu>
<ul class="nav flex-column">
<li class="nav-item px-3">
@page "/test"
<h1>test page</h1>
@aramkoukia
aramkoukia / counter.cshtml
Created June 16, 2018 19:36
counter Blazor code sample
@page "/counter"
<h1>Counter</h1>
<p>Current count: @currentCount</p>
<button class="btn btn-primary" onclick="@IncrementCount">Click me</button>
@functions {
int currentCount = 0;
@aramkoukia
aramkoukia / PingController.cs
Created April 16, 2018 15:01
Ping Controller
namespace Product.CommandService.Controllers
{
[Route("api/[controller]")]
public class PingController : Controller
{
// GET api/ping
[HttpGet]
public string Get()
{
return "Ping";
@aramkoukia
aramkoukia / PingControllerTests.cs
Created April 16, 2018 15:00
Integration Test
using FluentAssertions;
using System.Threading.Tasks;
using Xunit;
namespace Product.CommandService.IntegrationTests
{
public class PingControllerTests : IClassFixture<TestServerFixture>
{
private readonly TestServerFixture _fixture;
@aramkoukia
aramkoukia / TestServerFixture.cs
Created April 16, 2018 14:56
Test Server Fixture .Net Core
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.PlatformAbstractions;
using System;
using System.IO;
using System.Net.Http;
namespace Product.CommandService.IntegrationTests
{
public class TestServerFixture : IDisposable