Skip to content

Instantly share code, notes, and snippets.

View sraboy's full-sized avatar
💭
Enjoying a new career. I'll come back around some day.

Steve Lavoie sraboy

💭
Enjoying a new career. I'll come back around some day.
  • United States
View GitHub Profile
@Gustavo-Kuze
Gustavo-Kuze / force-ctrl-c-v.md
Last active June 8, 2026 17:07
Enable copy and paste in a webpage from the browser console
javascript:(function(){
  allowCopyAndPaste = function(e){
  e.stopImmediatePropagation();
  return true;
  };
  document.addEventListener('copy', allowCopyAndPaste, true);
  document.addEventListener('paste', allowCopyAndPaste, true);
  document.addEventListener('onpaste', allowCopyAndPaste, true);
})(); 
@guillaumevincent
guillaumevincent / README.md
Last active June 3, 2026 08:07
Windows Service with Python 3.5 and pyinstaller
@mstroeck
mstroeck / DesktopToastsSample.cpp
Last active June 21, 2024 12:49 — forked from CalvinLinTrend/DesktopToastsSample.cpp
Toast Notification in Win32 app with COM server
#include "stdafx.h"
#include <wrl/module.h>
#include "ToastNotificationActivationCallback.h"
#include "DesktopToastsSample.h"
// This is taken from: http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/10/16/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx
DWORD g_allLocks;
// Main function
obj-m += rootkit.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean