We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
# Class for managing multiple servers or anything with start() and stop() methods | |
class ServerRack(object): | |
def __init__(self, servers): | |
self.servers = servers | |
def start(self): | |
started = [] | |
try: |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
<!DOCTYPE html> | |
<html><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Хабрахабр / Профилактические работы</title> | |
<meta charset="utf-8"> | |
<meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport"> | |
<style> | |
@font-face { | |
font-family: 'PT Sans'; | |
font-style: normal; |
Picking the right architecture = Picking the right battles + Managing trade-offs
server { | |
.... | |
location ~ ^/x/(.*) { | |
if ($args = "go-get=1") { | |
add_header Content-Type text/html; | |
return 200 '<meta name="go-import" content="$host/x/$1 git https://github.com/jessfraz/$1.git">'; | |
} | |
return 302 https://github.com/jessfraz/$1; | |
} |