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
import sys | |
from struct import unpack | |
class Replay: | |
def __init__(self, filename): | |
self.file = open(filename, "rb") | |
self.versionbytes = 4 | |
self.headerbytes = 4 |
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
#!/usr/bin/perl -w | |
# | |
# check_raid nagios plugin | |
# | |
# Add plugins for different RAID tools to function check | |
# | |
# | |
# Version 1.0-1 | |
# Written by Fixar () | |
# |
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
.arrow.down:hover:after { | |
position:absolute; | |
display:block; | |
z-index:1000; | |
padding:5px; | |
background-color:#FEF0F0; | |
border:1px solid #FF9185; | |
content:"Doesn't contribute to discussion."; | |
} |
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
.subscribers { | |
margin-left: 29px; | |
} | |
.subscribers .word { | |
display: none; | |
} | |
.subscribers .number::after { | |
content: " Swift Windsteeds"; | |
} | |
.users-online .word { |
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
import urllib2, html5lib, re, sys | |
from bs4 import BeautifulSoup | |
page = urllib2.urlopen('http://www.ft.dk/Folketinget/searchResults.aspx?letter=ALLE&pageSize=100').read() | |
soup = BeautifulSoup(page) | |
thenames = [] | |
for anchor in soup.findAll('a', href=re.compile('^/Folketinget/findMedlem/')): | |
newpage = urllib2.urlopen('http://www.ft.dk' + anchor["href"]) | |
stew = BeautifulSoup(newpage) | |
print (stew.findAll('h1') + stew.findAll('a', href=re.compile('^mailto:'))) |
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
api_url = "https://api.github.com/" | |
request_ip = "204.232.175.75" | |
# get a list of ips from github | |
def gh_api_req(path): | |
try: | |
request_data = urllib2.urlopen(api_url+path).read() | |
except urllib2.HTTPError, e: | |
print "HTTP Error: %d" % e.code |
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
using System; | |
using System.IO; | |
using System.Threading; | |
using UnityEngine; | |
public class OurMono : MonoBehaviour | |
{ | |
StreamWriter log; | |
Timer t; |
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
// Type: LOLReplay.SpectatorServer | |
// Assembly: LOLReplay, Version=0.8.1.4, Culture=neutral, PublicKeyToken=null | |
// Assembly location: C:\Dokumente und Einstellungen\[...]\Desktop\Downloads\LOLReplay.exe | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; |
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
* **Ancestor's Call**<span style="color: #2f2f2f;"> "Hey! Ancestors!" - Ancestor's call</span> | |
* **Anima Golem** The Dark Animus is evil and mysterious and huge and unable to write sentences that utilize proper grammar. | |
* **Annoy-o-Tron** The inventor of the Annoy-o-Tron was immediately expelled from Tinkerschool, Tinkertown, and was eventually exiled from the Eastern Kingdoms altogether. | |
* **Anodized Robo Cub** It's adorable! AND OH MY GOODNESS WHY IS IT EATING MY FACE | |
* **Antique Healbot** They don't make 'em like they used to! (Because of explosions, mostly.) | |
* **Arcane Nullifier X-21** There was some hard talk between gnome magi and engineers about inventing this mech. | |
* **Blingtron 3000** PREPARE PARTY SERVOS FOR IMMEDIATE DEPLOYMENT. | |
* **Bolvar Fordragon** Spoiler alert: Bolvar gets melted and then sits on an ice throne and everyone forgets about him. | |
* **Bomb Lobber** He lobbies Orgrimmar daily on behalf of bombs. |
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
function generate_uuid() { | |
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); | |
return v.toString(16); | |
}) | |
} |
OlderNewer