I hereby claim:
- I am puthnith on github.
- I am puthnith (https://keybase.io/puthnith) on keybase.
- I have a public key ASCugN17P3JOKs4lTaxu8jUgyNk8-3mktY6n65qv53PVFQo
To claim this, I am signing this object:
package example | |
import data.fns | |
date_ranges[{ "node": node }] { | |
node = fns.get_date_range(input[_].node) | |
} |
const insurance = Machine({ | |
id: 'insurance', | |
initial: 'inactive', | |
states: { | |
inactive: { | |
on: { | |
CREATION: 'active', | |
}, | |
}, | |
active: { |
import Foundation | |
struct StudentType1 { | |
func setScore(x: Int) { | |
print(x) | |
} | |
func getScore() -> Int { | |
return 0 |
import UIKit | |
// Int, Double (Float), Bool, String | |
// Declaring Constants | |
let a = 0 | |
let x: Int | |
x = 10 |
I hereby claim:
To claim this, I am signing this object:
import { graphiqlKoa, graphqlKoa } from 'apollo-server-koa'; | |
import gql from 'graphql-tag'; | |
import { makeExecutableSchema } from 'graphql-tools'; | |
import * as Koa from 'koa'; | |
import * as bodyParser from 'koa-bodyparser'; | |
import * as KoaRouter from 'koa-router'; | |
/* | |
yarn add \ |
import Foundation | |
// no semi-colon | |
/* /* */ */ | |
// `var` variable (mutable) and `let` constant (immutable) | |
// let is the recommand to declar a variable | |
var x = 0.0 // inferred type / implicitly defined type | |
x = 10 |
[ | |
{ | |
"id" : 101, | |
"title" : "WWDC 2017 Keynote", | |
"base_url" : "https://p-events-delivery.akamaized.net/17qopibbefvoiuhbsefvbsefvopihb06/vod2/", | |
"codename" : "", | |
"hd" : "", | |
"sd" : "1706iobnouhbljhbsdfv.mp4", | |
"pdf" : "" | |
}, |
// | |
// Node.swift | |
// | |
// Created by Puthnith Var on 18/03/2017. | |
// Copyright © 2017 Puthnith. All rights reserved. | |
// | |
import Foundation |
import Firebase | |
// sign up | |
FIRAuth.auth()?.createUser(withEmail: email, password: password) { | |
(user, error) in | |
// user?.email? | |
} | |
// sign in | |
FIRAuth.auth()?.signIn(withEmail: email, password: password) { |