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
license: mit |
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
using Rhino.Compute; | |
using System; | |
using System.Threading.Tasks; | |
namespace hammertime | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
using System; | |
using System.Diagnostics; | |
using System.Threading; | |
namespace procaff | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
# escape=` | |
# https://key4coding.com/2020/04/windows-nanoserver-issues-quick-fix/ | |
FROM mcr.microsoft.com/windows/servercore:ltsc2019 as Servercore | |
FROM mcr.microsoft.com/windows/nanoserver:1809 | |
COPY --from=Servercore /windows/system32/netapi32.dll /windows/system32/ | |
USER ContainerAdministrator | |
# download and unzip before building |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Rhino; | |
using Rhino.Geometry; | |
using Grasshopper; | |
using Grasshopper.Kernel; | |
using Grasshopper.Kernel.Data; |
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
using System; | |
using System.Threading; | |
static class Program { | |
static void Main() { | |
Console.Write("Performing some task... "); | |
using (var progress = new ProgressBar()) { | |
for (int i = 0; i <= 100; i++) { | |
progress.Report((double) i / 100); |
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
# https://docs.microsoft.com/en-gb/dotnet/core/install/linux-package-manager-centos7 | |
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm | |
sudo yum install -y dotnet-sdk-2.2 cmake3 gcc-c++ git | |
# symlink cmake3 to ~/bin/cmake (on $PATH) | |
mkdir -p ~/bin && ln -s $(which cmake3) ~/bin/cmake | |
git clone --recursive https://github.com/mcneel/rhino3dm.git |
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
#!/usr/bin/env bash | |
set -e | |
for dir in pull_request2_* | |
do | |
echo -e "\n----> Cleaning $dir\n" | |
pushd $dir |
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
#!/usr/bin/env python | |
# Reformat c++ documentation comments from docjet (also supported by | |
# doc-o-matic) to c#-style xml (supported by doxygen). | |
# | |
# Configure doxygen filter like so... | |
# | |
# FILTER_PATTERNS = *.h="python docjet2xml.py" | |
# | |
# |
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
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div class="centered"> | |
<h1>SpeckleRhino</h1> | |
</div> |
NewerOlder