Skip to content

Instantly share code, notes, and snippets.

@hydra3333
hydra3333 / DrizinEMLimport.vba
Created July 2, 2024 11:11 — forked from mavaddat/DrizinEMLimport.vba
Drizin's EML importer for Outlook Desktop
'----------------------------------------------------
' Code by Ricardo Drizin (contact info at http://www.drizin.com.br) @Drizin
'----------------------------------------------------
Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Option Explicit
'---------------------------------------------------------------------
' This method closes ActiveInspectors if any.
' All importing is based on the assumption that the EML
' is opened by shell and we can refer to it through the ActiveInspector
@hydra3333
hydra3333 / DrizinEMLimport.vba
Created July 2, 2024 11:11 — forked from mavaddat/DrizinEMLimport.vba
Drizin's EML importer for Outlook Desktop
'----------------------------------------------------
' Code by Ricardo Drizin (contact info at http://www.drizin.com.br) @Drizin
'----------------------------------------------------
Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Option Explicit
'---------------------------------------------------------------------
' This method closes ActiveInspectors if any.
' All importing is based on the assumption that the EML
' is opened by shell and we can refer to it through the ActiveInspector
@hydra3333
hydra3333 / chromecast_with_subtitles.html
Created December 5, 2019 05:23 — forked from guerrerocarlos/chromecast_with_subtitles.html
The chromecast documentation for Chrome is terrible, so to save other's some time, here is the straigt-forward way to stream something quickly and with subtitles
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
</head>
<body>
@hydra3333
hydra3333 / snakeoil.sh
Created December 5, 2019 02:24 — forked from yyuu/snakeoil.sh
Generate snakeoil SSL certificates on Debian
sudo apt-get install ssl-cert
sudo make-ssl-cert generate-default-snakeoil
sudo usermod --append --groups ssl-cert yyuu
ls -l /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/private/ssl-cert-snakeoil.key