Boot up with an Fedora Live USB stick.
- Run
vgs
to check if there's any space:
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora 1 3 0 wz--n- <237.28g 0
# Track build time components below | |
$steps = [System.Collections.Generic.List[PSObject]]@() | |
function TrackTime { | |
Param( | |
[string]$name, | |
[scriptblock]$script | |
) | |
Write-Host "" | |
Write-Host -ForegroundColor Blue "[$(([DateTime](Get-Date)).ToString("u"))] Step: $name" |
using System; | |
using System.Threading.Tasks; | |
namespace System.Collections.Concurrent | |
{ | |
public static class ConcurrentDictionaryExtensions | |
{ | |
/// <summary> | |
/// Provides an alternative to <see cref="ConcurrentDictionary{TKey, TValue}.GetOrAdd(TKey, Func{TKey, TValue})"/> that disposes values that implement <see cref="IDisposable"/>. | |
/// </summary> |
<Project> | |
<Target Name="NpmInstall" Condition="Exists('package.json')"> | |
<Exec Command="npm install" /> | |
</Target> | |
<Target Name="NpmCiTest" Condition="Exists('package.json')"> | |
<Exec Command="npm run ci-test" /> | |
<ItemGroup Condition="'$(TestResultsOutputPath)' != ''"> | |
<TestResultFiles Include="obj\karma-testresults\**" /> |
<div id="three-container"></div> | |
<div id="instructions"> | |
click and drag to control the animation | |
</div> |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
@echo off | |
if _%1_==__ goto USAGE | |
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem -subj "/CN=My Cert Name" | |
openssl pkcs12 -export -out mycert.pfx -inkey mycert.pem -in mycert.pem -passout pass:%1 | |
openssl x509 -inform pem -in mycert.pem -outform der -out mycert.cer | |
openssl pkcs12 -in mycert.pfx -nodes -passin pass:%1 | openssl x509 -noout -fingerprint | |
openssl x509 -in mycert.pem -noout -fingerprint |
Press minus + shift + s
and return
to chop/fold long lines!
<Project | |
xmlns="http://schemas.microsoft.com/developer/msbuild/2003" | |
ToolsVersion="4.0" | |
DefaultTargets="Demo" > | |
<Target Name="Demo"> | |
<PropertyGroup> | |
<CurrentDate>$([System.DateTime]::Now.ToString(yyyyMMdd-mmss))</CurrentDate> | |
</PropertyGroup> |