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
<html> | |
<head> | |
<title>{Title}</title> | |
<link rel="shortcut icon" href="{Favicon}"> | |
<link rel="alternate" type="application/rss+xml" href="{RSS}"> | |
{block:Description} | |
<meta name="description" content="{MetaDescription}" /> | |
{/block:Description} | |
<style> | |
body { |
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
url: http://daringfireball.net/projects/markdown/syntax |
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
module Mandelbrot where | |
import Graphics.UI.SDL as SDL | |
import System.Exit | |
resolution = 30 | |
drawSlowly = True |
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
# Constants | |
class Player: | |
def __init__(self): | |
self.name = "Clinton Bill" | |
self.room = Family_Den() | |
self.description = "You are a tall dark and mysterious rogue android hell bent on finding your creator. You are a robotic aparition used for being a butlerbot. " | |
self.items = [Tophat()] | |
def view_items(self): |
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
module Percept where | |
-- The example training/testing data has single digit numbers set to True, and double digit numbers set to False | |
trainingData :: [([Double], Bool)] | |
testingData :: [([Double], Bool)] | |
trainingData = [ | |
([1], True), | |
([5], True), | |
([6], True), | |
([9], True), |
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 requests | |
import random | |
target = "http://mtgox.com.bz/login.php" | |
wordlist_file = "wordlist" | |
wordlist = open(wordlist_file, "r").readlines() | |
wordlist_len = len(wordlist) | |
while True: |
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
module Main where | |
config_input_cells = 1 :: Int | |
config_hidden_layer_cells = 10 :: Int | |
config_hidden_layers = 2 :: Int | |
config_output_cells = 1 :: Int | |
-- [ [ (Threshhold, [Connection Weights] ) ] ] | |
type Net = [ [ (Double, [Double] ) ] ] |
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
""" Classifies a point as belonging to a cluster of points """ | |
from math import sqrt | |
from random import shuffle | |
WIDTH = 28 | |
HEIGHT = 28 | |
POINT_TO_CLASSIFY = (2,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
## Q | |
CSS: | |
Explain the difference between visibility:hidden; and display:none; | |
## A | |
Visibility:Hidden; - It is not visible but takes up it's original space. | |
Display:None; - It is hidden and takes up absolutely no space as if it was never there. |
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 random | |
class MM(object): | |
def __init__(self): | |
# Wordlist form = ['this','is','words'] | |
# Graph form = [((1,1)],[(2,1)],[]] | |
# [((count, index)],[(count, index)],[]] | |
self.wordlist = [] | |
self.graphlist = [] |