Skip to content

Instantly share code, notes, and snippets.

Avatar

Paweł Szczur orian

View GitHub Profile
@orian
orian / crypt.py
Last active Nov 8, 2020 — forked from fideloper/crypt.py
Decrypt Laravel-encrypted value
View crypt.py
# Python3 code below
import os
import base64
import json
from Crypto.Cipher import AES
from phpserialize import loads
import hashlib
import hmac
@orian
orian / robot.js
Created Dec 4, 2012 — forked from guilhermebruzzi/robot.js
Merry Go round
View robot.js
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot){
//robot.clone();
this.robotOptions = {
clone: {
canStartFight: false,
goBackOnCollision: false
@orian
orian / robot.js
Created Dec 4, 2012 — forked from randompast/robot.js
QR-bot-002
View robot.js
//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.turn(1);
robot.ahead(2);
@orian
orian / robot.js
Created Dec 4, 2012 — forked from robertomoulin/robot.js
Chewbaccax
View robot.js
var Robot = function(robot) {
robot.clone();
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(40);
robot.rotateCannon(360);};
Robot.prototype.onScannedRobot = function(ev) {