Skip to content

Instantly share code, notes, and snippets.

View jacekschae's full-sized avatar

Jacek Schæ jacekschae

View GitHub Profile
@jacekschae
jacekschae / gigs.json
Created June 2, 2018 06:23
API for Giggin App
[
{
"id":"gig-01",
"title":"Macaron",
"artist":"Baher Khairy",
"desc":"Sweet meringue-based rhythms with smooth and sweet injections of soul",
"img":"https://res.cloudinary.com/schae/image/upload/f_auto,q_auto/v1519552695/giggin/baher-khairy-97645.jpg",
"price":1000,
"sold-out": false
},
@jacekschae
jacekschae / cljs-and-js-comparision.cljs
Last active December 30, 2021 03:49
ClojureScript and JavaScript Comparison - ClojureScript Examples
;; Functions
(defn sum [x y] (+ x y))
;; Shorthand Functions
(def sum #(+ %1 %2))
;; Function Invocation
(sum 3 4)
@jacekschae
jacekschae / cljs-and-js-comparision.js
Last active May 30, 2019 16:51
ClojureScript and JavaScript Comparison - JavaScript Examples
// Functions
function sum(x, y) {
return x + y;
}
// Shorthand Functions
const sum = (x, y) => x + y;
// Function Invocation
sum(3, 4)