#!/bin/bash | |
# | |
# not working atm, Install Oracle JDK 8 for use with SDKMAN on macOS | |
# download not working...to fix | |
# | |
# https://download.oracle.com/otn/java/jdk/8u401-b10/4d245f941845490c91360409ecffb3b4/jdk-8u401-macosx-x64.dmg | |
# https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 | |
set -eu |
This was taken from http://rxwiki.wikidot.com/101samples, because I wanted to be able to read it more comfortable with syntax highlighting.
Here's the unedited original, translated to Github Markdown glory:
This was taken from http://rxwiki.wikidot.com/101samples, because I wanted to be able to read it more comfortable with syntax highlighting.
Here's the unedited original, translated to Github Markdown glory:
I suggest that you create one or more Api.fs
files to expose F# code in a C# friendly way.
In this file:
- Define functions with
PascalCase
names. They will appear to C# as static methods. - Functions should use tuple-style declarations (like C#) rather than F#-style params with spaces.
namespace TestProvider.Provided | |
open System.Reflection | |
open FSharp.Core.CompilerServices | |
open ProviderImplementation.ProvidedTypes | |
open System.Collections.Generic | |
open Microsoft.FSharp.Quotations | |
[<TypeProvider>] | |
type SampleProvider(config) as this = |
Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.
- Create a GitHub account on github.com.
- Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
- (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
- Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
- Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level
Notes by Jeremy W. Sherman, October 2013, based on:
Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.
Foreword:
- Software systems degrade into a mess.
- Requirements ALWAYS change.
- Your goal as a software developer: Create designs that tolerate change.
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.