Skip to content

Instantly share code, notes, and snippets.

View spolujizda.md

x jedu pres Dejvice 15:20 a Smichov 15:30 do Pribrami, 1 volny misto

x jedu pres Dejvice 15:20 a Smichov 15:30 do Pribrami, 2 volny mista

x jedu v 5:50 do Prahy, 1 volny misto

x jedu v 5:50 do Prahy, 2 volny mista

Mam Cernou Teslu Model 3 spz EL6 68AE, cena jizdnyho 70,- a kdyztak tel 720 449 349.

@jakubsuchybio
jakubsuchybio / tutorial.md
Created May 8, 2020 — forked from Hengjie/tutorial.md
How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs
View tutorial.md

How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs

There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.

A word about VMWare ESXI 6.7

There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha

@jakubsuchybio
jakubsuchybio / data.csproj
Last active Nov 4, 2020
csproj additional folders copy
View data.csproj
<ItemGroup>
<DataFiles Include="$(ProjectDir)Data\**\*.*" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="@(DataFiles)" DestinationFiles="@(DataFiles->'$(TargetDir)Data\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
</Target>
<Target Name="AddPayloadsFolder" AfterTargets="Publish">
<Copy SourceFiles="@(DataFiles)" DestinationFiles="@(DataFiles->'$(PublishDir)Data\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
@jakubsuchybio
jakubsuchybio / ad_force_time_update
Last active Aug 29, 2015
Active Directory force time update
View ad_force_time_update
Import-Module ActiveDirectory
$list = Get-ADComputer -Filter * | Where { $_.DistinguishedName -like "*Computers*" }
foreach ($computer in $list) {
echo $computer.name
if (Test-Connection -Cn $computer.name -BufferSize 16 -Count 1 -ea 0 -quiet ) {
[string]$compname = $computer.name
w32tm /resync /nowait /computer:$compname
} else {
echo DOWN!