Skip to content

Instantly share code, notes, and snippets.

View hervehobbes's full-sized avatar

Hervé hervehobbes

View GitHub Profile
@hervehobbes
hervehobbes / WindowsTerminal.md
Created December 30, 2024 09:11 — forked from dahlsailrunner/WindowsTerminal.md
Customization and Setup notes for Windows Terminal
@hervehobbes
hervehobbes / vscode.md
Created December 30, 2024 09:11 — forked from dahlsailrunner/vscode.md
VS Code Notes

VS Code Notes

The following are some notes regarding my setup within VS Code for anyone that is curious.

Settings

  • Font: Cascadia Code (with ligatures)
  • Theme: Dracula -- see Extensions below
  • Workbench->Tree:Indent: 20. I like a little more indentation than is default -- it's easier to see diferrent levels / folders
  • Files->Exclude: I omit certain things from the VS Code Explorer to make focusing on the code easier:
 **/.git
@hervehobbes
hervehobbes / example.ahk
Created March 14, 2024 06:10 — forked from anonymous1184/example.ahk
YouTube Download Helper
;
; REQUIRED
;
ytdl.Path := "D:\CLI\youtube"
; Path of yt-dlp.exe
;
@hervehobbes
hervehobbes / VSCode.md
Created March 14, 2024 06:06 — forked from anonymous1184/VSCode.md
AHK Debugging with Visual Studio Code

AHK Debugging with Visual Studio Code

Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.

I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch of the [source][01]).

Table of Contents

@hervehobbes
hervehobbes / Crypt.ahk
Created December 29, 2023 05:19 — forked from anonymous1184/Crypt.ahk
MasterPassword.ahk
; ===============================================================================================================================
; AutoHotkey wrapper for Cryptography API: Next Generation
;
; Author ....: jNizM
; Released ..: 2016-09-15
; Modified ..: 2021-01-04
; Github ....: https://github.com/jNizM/AHK_CNG
; Forum .....: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=23413
; ===============================================================================================================================
@hervehobbes
hervehobbes / Twitter-ads-hiding.md
Created October 28, 2023 04:44 — forked from Lazza/Twitter-ads-hiding.md
Hiding Twitter ads (January 2023)

Hiding Twitter ads (January 2023)

Ads on post-Elon Twitter are becoming more and more obnoxious. You can hide them if you use a content blocking extension, such as the awesome uBlock Origin.

By targeting the little icon that appears near the "Sponsored" label, the filter works on Twitter in every language.

Simply add the following rule to your ad-blocker:

! 2023-01-02 https://twitter.com

/*
Step 1
Create NorthWindContacts database in SSMS
Step 2
Copy this script into SSMS, select NorthWindContacts
Step 3
Run the script
@hervehobbes
hervehobbes / VIMBinding.ps1
Created March 15, 2023 15:13 — forked from belotn/VIMBinding.ps1
KeyHandler and function for some VI text manipulation ci, ca, di and da in #Powershell #PSReadLine
Set-PSReadLineKeyHandler -Chord "c,i" -ViMode Command -ScriptBlock { VIChangeInnerBlock }
Set-PSReadLineKeyHandler -Chord "c,a" -ViMode Command -ScriptBlock { VIChangeOuterBlock }
Set-PSReadLineKeyHandler -Chord "d,i" -ViMode Command -ScriptBlock { VIDeleteInnerBlock }
Set-PSReadLineKeyHandler -Chord "d,a" -ViMode Command -ScriptBlock { VIDeleteOuterBlock }
Set-PSReadLineKeyHandler -Chord "c,s" -ViMode Command -ScriptBlock { VIChangeSurround }
Set-PSReadLineKeyHandler -Chord "d,s" -ViMode Command -ScriptBlock { VIDeleteSurround }
Set-PSReadLineKeyHandler -Chord "Ctrl+a" -ViMode Command `
-ScriptBlock { VIIncrement $args[0] $args[1] }
Set-PSReadLineKeyHandler -Chord "Ctrl+x" -ViMode Command `
-ScriptBlock { VIDecrement $args[0] $args[1] }
@hervehobbes
hervehobbes / group-policy.reg
Created October 20, 2022 14:55 — forked from AndrewVos/group-policy.reg
Kills off irritating group policy settings your domain may impose on you.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
; Sets the wallpaper to the default
"Wallpaper"=-
; Allows you to change wallpaper style (center, stretch etc.)
"WallpaperStyle"=-
; Allows you to change the visual style
"SetVisualStyle"=-
; Disables that profile quota message
@hervehobbes
hervehobbes / web-servers.md
Created September 18, 2022 15:57 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000