Skip to content

Instantly share code, notes, and snippets.

View cymruu's full-sized avatar

filip cymruu

  • 12:43 (UTC +01:00)
View GitHub Profile
@cymruu
cymruu / robot.js
Created December 6, 2012 15:46
siemanko
//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);
@cymruu
cymruu / robot.js
Created December 6, 2012 15:52
strims
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);
@cymruu
cymruu / tibia.py
Last active September 13, 2024 20:35
tibia.py
'''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)))
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
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 = []
number = 15
def getOnesInNumber(n):
numberOfOnes = 0
while(n):
found = n%10
n//=10
if found==1: numberOfOnes+= found
return numberOfOnes
found = 0
-----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.
{
"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,
#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)) {
#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;