-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1fc2535
Showing
10 changed files
with
613 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
# Autodetect text or binary. Do not leave merge conflict markers in the files. | ||
* text=auto merge=union | ||
|
||
# Use LF in the working directory by default. Override with core.autocrlf=true. | ||
*.fs eol=lf | ||
|
||
# Visual Studio can read LF sln files, but it always writes them as CRLF. | ||
*.sln eol=crlf | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain | ||
|
||
*.sh text eol=lf |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Xamarin Studio / monodevelop user-specific | ||
*.userprefs | ||
|
||
# Build results | ||
|
||
[Dd]ebug/ | ||
[Rr]elease/ | ||
x64/ | ||
build/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets | ||
!packages/*/build/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
*_i.c | ||
*_p.c | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.log | ||
*.scc | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
*.ncrunch* | ||
.*crunch*.local.xml | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.Publish.xml | ||
|
||
# Enable nuget.exe in the .nuget folder (though normally executables are not tracked) | ||
!.nuget/NuGet.exe | ||
|
||
# Windows Azure Build Output | ||
csx | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.[Pp]ublish.xml | ||
*.pfx | ||
*.publishsettings | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file to a newer | ||
# Visual Studio version. Backup files are not needed, because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# SQL Server files | ||
App_Data/*.mdf | ||
App_Data/*.ldf | ||
|
||
|
||
#LightSwitch generated files | ||
GeneratedArtifacts/ | ||
_Pvt_Extensions/ | ||
ModelManifest.xml | ||
|
||
# ========================= | ||
# Windows detritus | ||
# ========================= | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Mac desktop service store files | ||
.DS_Store | ||
|
||
# =================================================== | ||
# Exclude F# project specific directories and files | ||
# =================================================== | ||
|
||
# NuGet Packages Directory | ||
packages/ | ||
|
||
# Generated documentation folder | ||
docs/output/ | ||
|
||
# Temp folder used for publishing docs | ||
temp/ | ||
|
||
# Test results produced by build | ||
TestResults.xml | ||
|
||
# Nuget outputs | ||
nuget/*.nupkg | ||
.paket/paket.exe | ||
output | ||
paket-files | ||
release.cmd |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#FsReveal | ||
|
||
FsReveal brings F# to the [reveal.js][revealjs] web presentation framework. | ||
|
||
## Features | ||
|
||
- F# syntax highlighting with tool-tips! It supports heaps of other languages as well | ||
- Write in Markdown | ||
- Speaker notes; Shows the current slide, next slide, elapsed time and current time | ||
- Generate slides from .fsx files | ||
- Built in themes | ||
- Horizontal AND vertical slides | ||
- Built in slide transitions using CSS 3D transforms | ||
- Slide overview | ||
- Works on mobile browsers. Swipe your way through the presentation. | ||
|
||
|
||
## Getting Started | ||
|
||
### Get | ||
Clone or download this repo. Check out GitHub's links to the right if you need some help. | ||
|
||
### Create | ||
Open `slides/input.md` in your favourite text editor. | ||
|
||
This is the source for your entire presentation. Inside you will find an example presentation that demonstrates how to use FsReveal. | ||
|
||
### Build | ||
Open a console/terminal and `cd` into the FsReveal folder. | ||
|
||
If you're using Windows run | ||
|
||
build.cmd | ||
|
||
If you're using a Mac run | ||
|
||
./build.sh | ||
|
||
This will download all of the packages that FsReveal needs to create your slides. | ||
|
||
Your slides are generated and saved to the `output` folder. | ||
|
||
A web server will start automatically and your presentation will be opened in your browser. | ||
|
||
FsReveal will detect changes to your slides and generate them again for you; you just need to refresh your browser. | ||
|
||
> We're working on auto refreshing the browser for you. | ||
### Use | ||
- Use the arrow keys to navigate left, right, up and down | ||
- Press `Esc` to see an overview | ||
- Press `f` to view in fullscreen | ||
- Press `s` to see speaker notes. This only works when running your presentation from the web server. | ||
|
||
## Examples | ||
Check out what others have created. Submit a PR if you have something to add to the list. | ||
|
||
- [Markdown example][md-example] by [@kimsk][kimsk-twitter] [(source)][md-example-source] | ||
- [.fsx example][fsx-example] by [@kimsk][kimsk-twitter] [(source)][fsx-example-source] | ||
- [RPG F# Workshop][rpg-fsharp-workshop] by [@troykershaw][troykershaw-twitter] [(source)][rpg-fsharp-workshop-source] | ||
- [F# on the Web - 0 to production in 12 weeks][fsharp-on-the-web] by [@panesofglass][panesofglass-twitter] [(source)][fsharp-on-the-web-source] | ||
|
||
|
||
[revealjs]: https://github.com/hakimel/reveal.js/ "reveal.js | HTML presentations made easy" | ||
|
||
[kimsk-twitter]: https://twitter.com/kimsk "@kimsk on Twitter" | ||
[troykershaw-twitter]: https://twitter.com/troykershaw "@troykershaw on Twitter" | ||
[panesofglass-twitter]: https://twitter.com/panesofglass "@panesofglass on Twitter" | ||
|
||
[fsx-example]: http://fsreveal.azurewebsites.net/ ".fsx example" | ||
[fsx-example-source]: https://github.com/fsprojects/FsReveal/blob/master/src/presentations/FsReveal.fsx ".fsx example source" | ||
|
||
[md-example]: http://fsreveal.azurewebsites.net/index-md.html "Markdown example" | ||
[md-example-source]: https://raw.githubusercontent.com/fsprojects/FsReveal/master/src/presentations/FsReveal.md "Markdown example source" | ||
|
||
[rpg-fsharp-workshop]: http://troykershaw.github.io/RpgFsharpWorkshop "RPG F# Workshop" | ||
[rpg-fsharp-workshop-source]: https://github.com/troykershaw/RpgFsharpWorkshop "RPG F# Workshop source" | ||
|
||
[fsharp-on-the-web]: http://panesofglass.github.io/TodoBackendFSharp "F# on the Web - 0 to production in 12 weeks" | ||
[fsharp-on-the-web-source]: https://github.com/panesofglass/TodoBackendFSharp "F# on the Web source" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@echo off | ||
cls | ||
|
||
.paket\paket.bootstrapper.exe prerelease | ||
if errorlevel 1 ( | ||
exit /b %errorlevel% | ||
) | ||
|
||
.paket\paket.exe restore -v | ||
if errorlevel 1 ( | ||
exit /b %errorlevel% | ||
) | ||
|
||
packages\FAKE\tools\FAKE.exe build.fsx %* |
Oops, something went wrong.