Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Lee Freeman",
"label": "Full Stack NodeJS/TypeScript/React Developer",
"image": "",
"email": "lee.freeman1@gmail.com",
"phone": "",
"url": "",
"summary": "I'm a Irish/British Software Engineer living in Amsterdam. I am currently developing applications using Typescript, NodeJS, React and GraphQL and Neo4J (and writing lots of tests with Jest/Testing Library/Cypress). \n\nBuilding side projects with the above, Docker, K8s, MongoDB, Redis and Postgres. ",
const data = [
{
name: 'A',
description: 'This is a description of A',
parentId: '',
},
{
name: 'B',
description: 'This is a description of B',
parent: 'A',
{
"data": [
{
"name": "A",
"description": "This is a description of A",
"parent": ""
},
{
"name": "B",
"description": "This is a description of B",
def params
[0,0]
end
def examples
[
{
:x => 1,
:y => 3
},
const training = [
[0,3], [1,6], [2,8], [3,7], [9, 100]
]
// alpha
const learningRate = 0.05
const hypothesis = (x,params) => params[1] * x + params[0]
const cost = (training,params) => {
const training = [
[0,3], [1,6], [2,8], [3,7], [9, 100]
]
// alpha
const learningRate = 0.05
const hypothesis = (x,params) => params[1] * x + params[0]
//download file and run with node hangman.js
function wrongGuessCount(word, guesses) {
return guesses.filter(letter => word.indexOf(letter) == -1).length;
}
function showGuess(word, guesses) {
let show = [];
let letters = word.split("");
letters.filter(letter => guesses.indexOf(letter) > -1 ? show.push(letter) : show.push("_"));
show = show.join(" ");
@leefreemanxyz
leefreemanxyz / tennis.rb
Created March 17, 2017 16:27
Chiling at my dojo w/Anika
class TennisGame1
SCORES = ["Love", "Fifteen", "Thirty", "Forty"]
def initialize(player1Name, player2Name)
@player1Name = player1Name
@player2Name = player2Name
@playerScores = [0,0]
@lastPointWinner = ""
end