-
Open Vim (
vi ~/.zshrc
) -
Add the entry (
i
) -
Exit (
Esc
+:wq
) -
Refresh (
source ~/.zshrc
)
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
#r "System.Net.Http" | |
open System.Net.Http | |
type Foo = Foo of HttpRequestMessage |
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
let rec ggT a b = | |
let r = a % b | |
if r = 0 || r = b then | |
b, 0, 1 | |
else | |
let q = a / b | |
let g, s, t = ggT b r | |
g, t, s - q * t |
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
namespace Foo | |
module Bar = | |
let RelationsReducer (state:RelationState) action = | |
match action with | |
| ActivitiesRequestSucceeded (id, items) | |
-> { state with FacilityActivity = state.FacilityActivity |> Array.filter (fun (f, _) -> f <> id) | |
|> Array.append (items |> Array.map (fun item -> (id, item.Id))) } | |
| _ -> state |
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
namespace FabulousSubModules | |
open Fabulous.Core | |
open Fabulous.DynamicViews | |
open Xamarin.Forms | |
module App = | |
type Model = | |
{ Global: GlobalModel | |
Page1: Page1.Model |
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
namespace MvuCsharp | |
{ | |
public class Cmd | |
{ | |
public static readonly Cmd None = new Cmd(); | |
public static Cmd OfMsg(IMessage msg) => new Cmd(); // TODO | |
} | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<settings> | |
<hitlist> | |
<connectionString>" & Session("defaultConnectionString") & "</connectionString> | |
<hitlistDataSource>ViewAcciadoAdminHitlistArticles</hitlistDataSource> | |
<hitlistDataSourceOrphaned>ViewAcciadoAdminArticlesWithoutReferences</hitlistDataSourceOrphaned> | |
<recordsPerPage>25</recordsPerPage> |
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 App | |
open Elmish | |
type State = | |
{ CurrentUser: string option } | |
type Msg = | |
| SignIn of string | |
| SignOut |
Constraints:
- Production = Google Play + Apple AppStore.
- AppStore requires a manual review by Apple which can last between a couple of hours and a couple of days. It is not guaranteed to succeed, releases can be rejected.
- It is not possible to put multiple releases in a queue – it is only possible to have one in review at Apple at a time.
- There is no roll-back possible.
- There will always be multiple release versions in use in parallel.
Goals:
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
import React, { useReducer } from "react"; | |
interface State { | |
userName: string; | |
password: string; | |
isValid: boolean; | |
} | |
const initialState: State = { | |
userName: "", |