This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Learning resources | |
- [Video Course - egghead - Up and Running with Remix from Kent C. Dodds](https://egghead.io/courses/up-and-running-with-remix-b82b6bb6) | |
- [Video Course - egghead - Learn Remix by building a Social Media Platform with TypeScript and Prisma](https://egghead.io/courses/learn-remix-by-building-a-social-media-platform-with-typescript-and-prisma-cddb0550) | |
- [Video Course - LevelUp Tutorial - Realtime Remix with Supabase from Melbourne](https://leveluptutorials.com/tutorials/realtime-remix-with-supabase/create-a-supabase-project) | |
- [Blog Post](https://www.prisma.io/blog/fullstack-remix-prisma-mongodb-1-7D0BfTXBmB6r) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Lwt.Infix; | |
open Graphql_lwt; | |
type role = | |
| User | |
| Admin; | |
type user = { | |
id: int, | |
name: string, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info building @opam/ocamlfind@opam:1.8.1@0e6469e7 | |
error: build failed with exit code: 1 | |
build log: | |
# esy-build-package: building: @opam/ocamlfind@opam:1.8.1 | |
# esy-build-package: pwd: /Users/anthonymittaz/.esy/3___________________________________________________________/b/opam__s__ocamlfind-opam__c__1.8.1-29b79927 | |
# esy-build-package: running: './configure' '-bindir' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/bin' '-sitelib' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib' '-mandir' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/man' '-config' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf' '-no-custom' | |
Welcome to findlib version 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type css = {. "about": string}; | |
[@bs.module] external css: css = "./about.css"; | |
[@react.component] | |
let make = (~onServer) => { | |
<div | |
className={ | |
css##about; | |
}> | |
<p> {React.string("This is the about page.")} </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MemCache = { | |
type t; | |
[@bs.deriving abstract] | |
type config = {initialState: Js.Json.t}; | |
type conf = Js.Json.t; | |
[@bs.module "graphql-hooks-memcache"] | |
external _createMemCache: config => t = "default"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[@bs.config {jsx: 3}]; | |
type route = | |
| Home | |
| More; | |
let mapPathToRoute = (path: list(string)) => | |
switch (path) { | |
| [] => Home | |
| ["more"] => More |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ENV['SL_RUN_UNIT_TESTS'] then | |
launcher_path = File.join(ENV['SRCROOT'], "../../bin", "ios-sim") | |
test_bundle_path= File.join(ENV['BUILT_PRODUCTS_DIR'], "#{ENV['PRODUCT_NAME']}.#{ENV['WRAPPER_EXTENSION']}") | |
environment = { | |
'DYLD_INSERT_LIBRARIES' => "/../../Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection", | |
'XCInjectBundle' => test_bundle_path, | |
'XCInjectBundleInto' => ENV["TEST_HOST"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// KBNetworkActivityIndicator.h | |
// Kobov3 | |
// | |
// Created by Jim Dovey on 10-03-21. | |
// Copyright 2010 Kobo Inc. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tour": { | |
"title": "New tour uploading test", | |
"description": "Test Description", | |
"tags": "Test ", | |
"transport_type": "0", | |
"published": "true", | |
"tracks_attributes": [{ | |
"position": "1", | |
"title": "Stop 1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSURL *url = [NSURL URLWithString:BASE_URL]; | |
[ASIHTTPRequest removeCredentialsForHost:[url host] port:[[url port] intValue] protocol:[url scheme] realm:@"Web Password"]; |
NewerOlder