Skip to content

Instantly share code, notes, and snippets.

View voronoipotato's full-sized avatar

Alan Ball voronoipotato

  • NC
View GitHub Profile
0: initializing aardvark ........................................................................
0: System Information:
0: System: Linux 5.5.15-200.fc31.x86_64 #1 SMP Thu Apr 2 19:16:17 UTC 2020
0: Processor: 12 core x64
0: Process: x64
0: Framework: .NET Core 3.1.3
0: Loading plugins ............................................................................
0: [LoadPlugins] Using plugin cache file name: /home/alanball/.config/Aardvark/cache/00 - HelloWorld_plugins.bin
0: [ReadCacheFile] loaded cache file: /home/alanball/.config/Aardvark/cache/00 - HelloWorld_plugins.bin
0: [GetPluginAssemblyPaths] retrying to load because not in cache /home/alanball/Documents/Projects/aardvark.rendering/bin/Debug/netcoreapp3.1/00 - HelloWorld.dll
name of display: :1
display: :1 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_multisample, GLX_EXT_buffer_age,
@voronoipotato
voronoipotato / gist:01a0dd1357cfedcf17e928a8ef2b1afd
Created September 19, 2019 02:10 — forked from jorool/gist:57714bcdc06953531749
Powershell script to download images from multiple urls
$images = 'https://foo.jpg', 'https://bar.jpg'
$targetDir = 'C:\foo\bar'
function DownloadFile([Object[]] $sourceFiles,[string]$targetDirectory) {
$wc = New-Object System.Net.WebClient
foreach ($sourceFile in $sourceFiles){
$sourceFileName = $sourceFile.SubString($sourceFile.LastIndexOf('/')+1)
$targetFileName = $targetDirectory + $sourceFileName
$wc.DownloadFile($sourceFile, $targetFileName)

is:issue is:open sort:updated-desc label:":books: Area - F# Guide"

Note: This documentation is the specification of version 4.1 of the F# language, released in 2015-16.

Note: thi does not yet incorporate the RFCs for F# 4.1, see

https://github.com/fsharp/fslang-design/tree/master/FSharp-4.1

https://github.com/fsharp/fslang-design/tree/master/FSharp-4.1b

Discrepancies may exist between this specification and the 4.1 implementation. Some of these are noted as comments in this document. If you find further discrepancies please contact us and we will gladly address the issue in future releases of this specification. The F# team is always grateful for feedback on this specification, and on both the design and implementation of F#. You can submit feedback by opening issues, comments and pull requests at [https://github.com

//Source http://matthewrayfield.com/articles/animating-urls-with-javascript-and-emojis/#%F0%9F%95%9B
var f = ['🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘'];
function loop() {
location.hash = f[Math.floor((Date.now()/100)%f.length)];
setTimeout(loop, 50);
}
loop();
open System.IO
open System.Text.RegularExpressions
//__SOURCE_DIRECTORY__ is a keyword that represents the working directory in the commandline
let sourceDirectory = __SOURCE_DIRECTORY__
let fileNames = Directory.GetFiles sourceDirectory
printf "%s" sourceDirectory