- Install Windows7
- Install relevant drivers
- Update
- Update
- Update
- ...a couple more reboots
- Set power button action to suspend and disable lock on resume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import sys, time, math, atexit, select | |
class Screen(object): | |
def __init__(self, width=80, height=24): | |
self.output = sys.stdout | |
atexit.register(self.clear) | |
# FIXME: don't flush on every escapecode | |
def _e(self, s): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#ifndef VERBOSITY_LEVEL | |
#define VERBOSITY_LEVEL 3 | |
#endif | |
#define _stringify2(n) #n | |
#define _stringify(n) _stringify2(n) | |
#define PRINT_MESSAGE(type, color, fmt, ...) printf("\033[0;" color "m" \ | |
__FILE__ "@" _stringify(__LINE__) " \033[1;" color "m" type ":\033[0;" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
You may wonder what the heck is going on here. | |
This is simply my take on code reloading with persisting open sockets i thought | |
of using in some future IRC bot. A good way to research a little bit more about | |
exec, file descriptors and sockets. | |
""" | |
import socket | |
import random | |
import time |
- Make sure you have successfuly set up iPXE, iSCSI target (iSCSI Enterprise Target on Debian works fine for me), TFTP server and some time to spend.
- Get yourself a NTFS-formatted USB stick.
- Copy contents of installation DVD into mentioned USB stick.
- Get a copy of wimboot and load it into your TFTP server.
- Copy boot/bcd, boot/boot.sdi, sources/boot.wim and bootmgr into TFTP root as well.
- Create the bootstrap script (included bootstrap.ipxe file) and boot your
NewerOlder