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
### this is preamble (framework code), the user wouldn't type this. | |
$bindings = @{ | |
projects = @() | |
} | |
function project($projectFilename, $block) { | |
function output-type($type) { | |
#maybe validate or translate, etc... | |
$bindings.outputType = $type |
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
#![allow(dead_code)] | |
#![allow(unused_imports)] | |
use std::mem; | |
use std::ops; | |
use std::convert; | |
struct Point<T> { | |
x: T, | |
y: T | |
} |
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
sudo apt install p7zip-full | |
curl https://gslvhcd66k6digicalcapisa.blob.core.windows.net/bob/publish.7z -o publish.7z | |
sudo apt-get install libunwind8 | |
sudo apt-get install libcurl3 | |
# pkill -f gicalcsvc | |
sudo rm -rf /var/opt/gicalc | |
sudo 7za x -o/var/opt/gicalc publish.7z | |
sudo chmod +x /var/opt/gicalc/gicalc-console | |
sudo date > /var/opt/gicalc/deploy-date |
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
using System; | |
using System.Collections.Generic; | |
using System.IdentityModel.Tokens.Jwt; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.ApplicationInsights.DependencyCollector; | |
using Microsoft.ApplicationInsights.Extensibility; | |
using Microsoft.AspNetCore.Authentication.JwtBearer; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Builder; |
OlderNewer