Skip to content

Instantly share code, notes, and snippets.

View pitermarx's full-sized avatar

ριтєя мαяχ pitermarx

View GitHub Profile
@pitermarx
pitermarx / David Berlinsky - The Devil’s Delusion.md
Last active May 2, 2022 13:27
The Devil’s Delusion: Atheism and its Scientific Pretensions

Has anyone provided a proof of God’s inexistence? Not even close. Has quantum cosmology explained the emergence of the universe or why it is here? Not even close. Have the sciences explained why our universe seems to be fine-tuned to allow for the existence of life? Not even close. Are physicists and biologists willing to believe in anything so long as it is not religious thought? Close enough. Has rationalism in moral thought provided us with an understanding of what is good, what is right, and what is moral? Not close enough. Has secularism in the terrible twentieth century been a force for good? Not even close to being close. Is there a narrow and oppressive orthodoxy of thought and opinion within the sciences? Close enough. Does anything in the sciences or in their philosophy justify the claim that religious belief is irrational? Not even ballpark. Is scientific atheism a frivolous exercise in intellectual contempt? Dead on. David Berlinsky from http://www.davidberlinski.org/devils-delusion/about.php

@pitermarx
pitermarx / Creed. Poem by Steve Turner (PT).md
Last active May 2, 2022 13:28
Creed. Poem by Steve Turner

Steve Turner, (Jornalista Britânico),

“Credo”, o seu poema satírico sobre a mente moderna

Nós cremos em Marx Freud e Darwin

Cremos que tudo está bem desde que não prejudique ninguém até onde sabemos, e na nossa melhor definição de prejudicar.

Keybase proof

I hereby claim:

  • I am pitermarx on github.
  • I am pitermarx (https://keybase.io/pitermarx) on keybase.
  • I have a public key whose fingerprint is 7D48 C3D4 124B 1756 BA7A B993 8CD1 CD23 37E6 00E9

To claim this, I am signing this object:

Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinst librewolf # Vimium, Bitwarden
cinst vlc
cinst zoom
cinst treesizefree
cinst lockhunter
cinst obs-studio, obs-virtualcam
cinst musescore
cinst sumatrapdf
@pitermarx
pitermarx / closure-demo.ps1
Created August 7, 2018 11:10
Powershell closures
$Foo = 1
Write-Host "I expect Foo to be 1: " $Foo
function New-Closure {
param([Scriptblock] $Expression, $Foo = 2)
& $Expression
}
New-Closure -Expression {
Write-Host "I expected Foo to be 1, but was 2: " $Foo
@pitermarx
pitermarx / build.ps1
Last active December 9, 2019 11:57
Cake task autocomplete in powershell
[CmdletBinding()]
Param(
[string]$Script = "build.cake",
[ValidateSet("Quiet", "Minimal", "Normal", "Verbose", "Diagnostic")]
[string]$Verbosity = "Normal",
[Parameter(Position = 0, Mandatory = $false, ValueFromRemainingArguments = $true)]
[string[]]$ScriptArgs
)
dynamicparam {
@pitermarx
pitermarx / profile.ps1
Last active May 2, 2022 09:39
Powershell Profile
Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-9bda399\src\posh-git.psd1'
$GitPromptSettings.EnablePromptStatus = $false
Set-PoshPrompt negligible
Import-Module -Name Terminal-Icons
Set-Alias vi 'C:\Program Files (x86)\vim\vim80\vim.exe'
Function prof { & vim.exe $profile; & $profile }
Function vimrc { vim.exe $home\_vimrc }
@pitermarx
pitermarx / Encryptor.cs
Last active August 6, 2021 09:35
.net utils
// .Net Symetric encryption
public class Encryptor<T>
where T : SymmetricAlgorithm, new()
{
private const int KeySize = 256;
private readonly byte[] vectorBytes;
private readonly byte[] keyBytes;
public Encryptor(
string password,
@pitermarx
pitermarx / Stuff
Created March 23, 2020 09:02
Ubuntu Hyper-V Setup
# Hyper-V Quick Create
# Increase disk size in Hyper-v manager
# install Gparted and resize
# Change screen resolution
# sudo nano /etc/default/grub
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
# sudo update-grub
# REPL-like
sharplab.io/
dotnetfiddle.net/
linqpad.net/
gistlyn.com/
# Perf tools
github.com/0xd4d/dnSpy/
github.com/Microsoft/perfview/
getcodetrack.com/