- In posts and comments, blur out names of players, where appropriate, to keep them anonymous. Do not post personal information. This is not a forum to call out specific players.
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
$ python xor.py | |
Training: | |
Epoch 0 MSE: 1.765 | |
Epoch 100 MSE: 0.015 | |
Epoch 200 MSE: 0.005 | |
* Target MSE reached * | |
Evaluating: | |
1 XOR 0 = 1 ( 0.904) Error: 0.096 | |
0 XOR 1 = 1 ( 0.908) Error: 0.092 | |
1 XOR 1 = 0 (-0.008) Error: 0.008 |
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 praw | |
import time | |
from random import choice | |
from collections import Counter | |
from praw.helpers import submissions_between | |
try: | |
import creds | |
except ImportError: | |
print("Must have creds.py with valid reddit login credentials. uid pw") | |
exit() |
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
/* LinkFlair Stuff */ | |
.title > .linkflairlabel { | |
background: url(%%armorsprite%%) no-repeat; | |
display:block; | |
height:36px; | |
width:36px; | |
padding:0; | |
margin:0 25px; | |
text-indent:-999px; |
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
<?php get_header(); ?> | |
<div class="content-wrap"> | |
<hr class="internal-line" /> | |
<?php if(have_posts() ) : ?> | |
<?php while(have_posts() ) : the_post(); ?> | |
<div class="home-content-1"> |
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
/* Fugly Search fixes */ | |
.searchpane.raisedbox {min-height:6em;} | |
.searchpane.raisedbox form > * {display:none;} | |
.searchpane.raisedbox form {display:block;} | |
.searchpane.raisedbox:hover form > * {display:block;} | |
.searchpane.raisedbox form > input:first-child {display:block;} |
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
.linkinfo { | |
background-color: #0B0721; | |
text-align: center; | |
font-size: 11px; | |
padding: 5px 0 2px; | |
border: 3px double #2C180D; | |
border-radius: 3px; | |
border-radius: 5px; | |
color:white; | |
width:280px; |
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
$("body").append("<div id='qrcode' style='position:absolute; top:0; left:0; z-index:99993; width:550px; height:550px;background-color:#fff; padding:49px; border:1px solid #ccc'><img src='http://chart.apis.google.com/chart?cht=qr&chs=500x500&choe=UTF-8&chld=H&chl="+window.location+"' /></div>"); |
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
<div class="ul"> | |
<div class="li"> | |
List item 1 | |
</div> | |
<div class="li"> | |
List item 2 | |
</div> | |
<div class="li"> | |
List item 3 | |
</div> |
NewerOlder