Skip to content

Instantly share code, notes, and snippets.

View orian's full-sized avatar

Paweł Szczur orian

View GitHub Profile
@orian
orian / robot.js
Created December 4, 2012 01:22 — forked from robertomoulin/robot.js
Chewbaccax
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) {
@orian
orian / robot.js
Created December 4, 2012 02:18 — forked from randompast/robot.js
QR-bot-002
//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 December 4, 2012 03:16 — forked from guilhermebruzzi/robot.js
Merry Go round
//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 / crypt.py
Last active April 12, 2022 20:48 — forked from fideloper/crypt.py
Decrypt Laravel-encrypted value
# Python3 code below
import os
import base64
import json
from Crypto.Cipher import AES
from phpserialize import loads
import hashlib
import hmac