Skip to content

Instantly share code, notes, and snippets.

View jgoux's full-sized avatar
I'm the fastest meme alive

Julien Goux jgoux

I'm the fastest meme alive
View GitHub Profile
jgoux / exampleUsage.ts
Created March 17, 2021 13:08 — forked from jasonkuhrt/exampleUsage.ts
Abstraction for defining result fields in Nexus
* This does not show surrounding code like referenced types.
resultMutationField('inviteUserToProject', {
input(t) {'userHandle')'projectId')
t.nonNull.field('role', {
type: 'ProjectRole',
jgoux /
Created November 8, 2016 13:28 — forked from tcnksm/
How to install oracle client to Ubuntu 12.04

Install SQL*Plus

  1. Download .rpm package here
    • oracle-instantclinet*-basic-*.rpm
    • oracle-instantclinet*-devel-*.rpm
    • oracle-instantclinet*-sqlplus-*.rpm
  2. Install alien (sudo apt-get install alien)
  3. Convert the rpm files and install
    • sudo alien -i oracle-instantclinet*-basic-*.rpm
  • sudo alien -i oracle-instantclinet*-devel-*.rpm

Advanced Functional Programming with Scala - Notes

Copyright © 2017 Fantasyland Institute of Learning. All rights reserved.

1. Mastering Functions

A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.

val square : Int => Int = x => x * x
jgoux / ClickCounter.purs
Created August 26, 2016 19:36 — forked from sloosch/ClickCounter.purs
Adapt State and Actions
module ClickCounter where
import Prelude
import Component as C
import Pux.Html as H
import Pux.Html.Events as E
import Data.Generic (class Generic)
type State = Int
jgoux / NestedRoutes.purs
Created August 17, 2016 07:38 — forked from sloosch/NestedRoutes.purs
nested routes
module Main where
import HeroPrelude
import Component as C
import Counter as Counter
import Data.String as String
import Pux as Pux
import Pux.Html as H
import Pux.Router as PuxRouter
import TypeHere as TypeHere