Skip to content

Instantly share code, notes, and snippets.

@subnetz
subnetz / W11_git_for_windows.ps1
Created October 6, 2024 14:55
Git for Windows Powershell (to C:\git)
winget install Git.Git --override '/SILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /Dir="C:\git" /Components="gitlfs,assoc" /o:EditorOption=VisualStudioCode /o:PathOption=CmdTools /o:SSHOption=ExternalOpenSSH /o:CURLOption=WinSSL /o:CRLFOption=LFOnly /o:BashTerminalOption=ConHost /o:GitPullBehaviorOption=Merge /o:UseCredentialManager=Disabled /o:PerformanceTweaksFSCache=Enabled /o:EnableSymlinks=Disabled /o:EnablePseudoConsoleSupport=Disabled /o:EnableFSMonitor=Disabled'
<#
add to terminal settings.json:
{
"commandline": "C:/git/bin/bash.exe --login -i",
"guid": "{916f2925-597a-4b52-aac2-9a4387626b4c}",
"icon": "C:/git/usr/bin/mintty.exe",
"name": "Cygwin",
"startingDirectory": "%userprofile%/"
}
@subnetz
subnetz / clock.html
Last active June 25, 2018 06:02 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
</head>
<body translate="no" >