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
#include <omp.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "SHA3api_ref.h" | |
#include <netdb.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
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/env python | |
from twisted.internet.protocol import Protocol, Factory | |
from twisted.internet import reactor | |
from twisted.protocols.basic import LineReceiver | |
from uuid import uuid1 as uuid | |
import time | |
START_CHUNK_SIZE = 10 ** 6 |
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 csv | |
import urllib | |
import urllib2 | |
args = { | |
"title": "Special:Ask", | |
"p[format]": "csv", | |
"order_num": "ASC", | |
"p[limit]": "100", | |
"eq": ["yes", "yes"], |
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
# Author: cybojanek | |
# Board size | |
SIZE=8 | |
# ASCI value for queen | |
QUEEN='Q' | |
def number_to_row_permutation(n): | |
"""Retun the nth permutation of a row |
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
-- lick = require "lick" | |
-- lick.reset = true | |
function love.load() | |
love.graphics.setBackgroundColor(139, 137, 137) | |
love.graphics.setColor(205, 201, 201) | |
circle = {} | |
circle.x = 1 | |
circle.y = 0 |