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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |
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 Robot(robot) {} | |
// well, we need to do something... | |
// whenever our robot is idle, this method gets called. | |
Robot.prototype.onIdle = function(ev) { | |
var robot; | |
robot = ev.robot; | |
robot.ahead(150); | |
robot.rotateCannon(360); | |
robot.back(100); |
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
'''based on volf ram code''' | |
import random | |
import struct | |
import zlib | |
import socket | |
OT_RSA = 109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413 | |
def rsa_encrypt(m): | |
m = sum(x*pow(256, i) for i, x in enumerate(reversed(m))) | |
c = pow(m, 65537, OT_RSA) | |
return bytes((c >> i) & 255 for i in reversed(range(0, 1024, 8))) |
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
const WebSocket = require('ws'); | |
const fs = require('fs'); | |
var gameURL = 'ws://csgopoor.com:2052/socket.io/?EIO=3&transport=websocket'; //socket adress, can be checked in your browser (developer tools -> network -> websockets) | |
var depositURL = '';//csgopoor bot deposit url | |
var SteamCommunity = require('steamcommunity'); | |
var SteamTotp = require('steam-totp'); | |
var TradeOfferManager = require('steam-tradeoffer-manager'); | |
var steam = new SteamCommunity(); | |
var manager = new TradeOfferManager({ | |
"language": "en", // We want English item descriptions |
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 wykop | |
import config | |
import sys | |
import math | |
from datetime import datetime | |
import queue | |
from threading import Thread | |
from threading import Timer | |
q = queue.Queue() | |
entries = [] |
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
number = 15 | |
def getOnesInNumber(n): | |
numberOfOnes = 0 | |
while(n): | |
found = n%10 | |
n//=10 | |
if found==1: numberOfOnes+= found | |
return numberOfOnes | |
found = 0 |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFl1vNcBCADE+bLhK5NdGqfYWWCJi4fqhEpb6CuLUokLMKMoP3ALUQtdE9Yz | |
NkI09hEf9MBbUh7DFDNWWiZknBAxI7M6WN17LVHuekcpoYzDGn96yJtZEcvNgcjU | |
A8+URQYlXSFR6nZPxBfvaCYrqMSCwLfACgUvi+7GygvkbgIaL/VOUYlx1bdUzNsO | |
5XKfUVgURBUyJTygqmq24+XuzyWj57af74WPEGTFa84PpXMKsJboZFJbn99pvOyf | |
xNWISbuCYg1BlCJIvvYMewECrjMLt8UuXXKsI1tdbG84EdIhCYHrKjcYcJTb8GQj | |
GH8XRVLSX9v2xsBxlONeAO6OOoBsxsazHh0hABEBAAG0GEZpbGlwIDxmaXF4aW9A | |
Z21haWwuY29tPokBOQQTAQgAIwUCWXW81wIbAwcLCQgHAwIBBhUIAgkKCwQWAgMB |
This file has been truncated, but you can view the full file.
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
{ | |
"status" : "success", | |
"prices" : [ | |
{ | |
"appid" : "730", | |
"market_hash_name" : "AK-47 | Aquamarine Revenge (Battle-Scarred)", | |
"price" : "13.27", | |
"pricing_mode" : "market", | |
"skewness" : "0.14", | |
"created_at" : 1501134114, |
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 <iostream> | |
#include <ctime> | |
//grupa a | |
//1 jednowymiarowa | |
using namespace std; | |
void zadanie1(int *tab, unsigned int size) { | |
int max = INT32_MIN; | |
for (size_t i = 0; i < size; i++) | |
{ | |
if (!(*(tab + i) % 2)) { |
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 <iostream> | |
#include <cmath> | |
void printArray(double **tab, size_t n, size_t k) { | |
for (size_t i = 0; i < n; i++) | |
{ | |
for (size_t j = 0; j < k; j++) | |
{ | |
std::cout << tab[i][j] << '\t'; | |
} | |
std::cout << std::endl; |
OlderNewer