Skip to content

Instantly share code, notes, and snippets.

@Smenus
Smenus / gist:6429316
Last active December 22, 2015 06:09
Remote Debian Installation with Encrypted RootFS

Remote Debian Installation with Encrypted RootFS

This is a quick run-down of how I installed Debian on my dedicated server (@ OVH - super cheap!), and managed to setup an encrypted rootfs with ssh during boot to unlock. This is both for the offchance that I'll have to do it again, and if anyone else is wanting to do the same thing. There are a few guides out there to get the unlocking over SSH, and a few for remote installation of Debian, but none that combine the two.

These instructions need an existing Debian install, although Ubuntu might work too.

1. Preparing Remote Installation

Source for this part of the guide was here

@program247365
program247365 / Outlook07GetLinkOfMessage.vba
Created February 8, 2011 18:36
VBA Macro for Outlook 2007 that will allow you to get a link for a particular message that is selected. Be sure to go to "Insert" > "UserForm" to be able to get a reference to the clipboard in your project for this to work.
' Code lifted and adjusted from: http://superuser.com/questions/71786/can-i-create-a-link-to-a-specific-email-message-in-outlook
' You may have to enable links in Outlook if these links are destined for Outlook itself - http://www.davidtan.org/outlook-2007-adding-outlook-url-protocol/
' Reference: http://www.davidtan.org/create-hyperlinks-to-outlook-messages-folders-contacts-events/
' To Assign Keyboard Shortcut to your new Macro: http://stackoverflow.com/questions/57075/how-do-i-assign-a-keyboard-shortcut-to-a-vba-macro-in-outlook-2007
'Adds a link to the currently selected message to the clipboard
Sub AddLinkToMessageInClipboard()
Dim objMail As Outlook.MailItem
@yamaz
yamaz / gist:753826
Created December 24, 2010 02:35
My AutoHotKey config
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script is a .INI file because it is a special script that is
; automatically launched when you run the program directly. By contrast,
; text files that end in .ahk are associated with the program, which
; means that they can be launched simply by double-clicking them.
; You can have as many .ahk files as you want, located in any folder.
; You can also run more than one .ahk file simultaneously and each will
; get its own tray icon.
@larsch
larsch / gist:185242
Created September 11, 2009 11:38
AutoHotkey script for window positioning like on Windows 7
;;
;; Mimic Windows7 window positions using Win+Up/Left/Right
;; Not tested with multiple monitors
;;
#up::
WinRestore A
WinMaximize A
return