This file contains hidden or 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 java.util.*; | |
| public class MyList<E> implements List<E> { | |
| public boolean add(E e) { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public void add(int index, E element) { | |
| throw new UnsupportedOperationException(); | |
| } |
This file contains hidden or 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
| __author__ = 'mammothbane' | |
| import sys | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import logging | |
| logging.basicConfig(level=logging.DEBUG, filename='guess.log') | |
| dotabuff_url = 'http://www.dotabuff.com/players/' | |
| for x in range(1, len(sys.argv)): |
This file contains hidden or 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
| NDefines = { | |
| NGame = { | |
| START_DATE = "1444.11.11", | |
| END_DATE = "1821.1.2", | |
| MAX_RANDOM_NEW_WORLD = "1492.1.1" | |
| }, | |
| NDiplomacy = { | |
| MAX_CLIENT_STATES = 10, -- Max client states for one country |
This file contains hidden or 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 <unistd.h> | |
| #include <stdio.h> | |
| int main(int argc, char **argv) { | |
| uid_t uid = geteuid(); | |
| if (uid) { | |
| printf("It's a weird tree.\n"); | |
| } else { | |
| printf(" _ __\n"); | |
| printf(" / `\\ (~._ ./ )\n"); |
NewerOlder