Skip to content

Instantly share code, notes, and snippets.

View PycKamil's full-sized avatar
👋

Kamil Pyć PycKamil

👋
View GitHub Profile
@PycKamil
PycKamil / .bash_profile
Created May 7, 2018 12:46
bash_profile
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias rmdd="rm -rf ~/Library/Developer/Xcode/DerivedData/"
## Starts recording the simulator
recsim() {
xcrun simctl io booted recordVideo "$1"
@PycKamil
PycKamil / robot.js
Created December 5, 2012 14:13 — forked from Shipow/robot.js
showmean
var Robot = function(robot) {
robot.rotateCannon(-90);
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead();
//i'll add a clone but i need to refactor collision
//robot.clone();
};
@PycKamil
PycKamil / robot.js
Created December 4, 2012 12:09
Default
//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);
@PycKamil
PycKamil / robot.js
Created December 4, 2012 12:06 — forked from fabiopimentel/robot.js
Pyciu Tank
//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.clone();
@PycKamil
PycKamil / robot.js
Created December 4, 2012 11:59
Pyciu
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.lastHitAngle = -1;
Robot.prototype.radius = 20;
Robot.prototype.hit = 0;