Skip to content

Instantly share code, notes, and snippets.

@lushone
lushone / tall_box.css
Last active December 13, 2015 23:19 — forked from anonymous/tall_box.css
Specify a height on line 104.
#ad {
position:relative;
float:left;
margin: 0 1% 0 0;
top: 200px;
width:200px;
}
#main {
top: 15px;
.visible-desktop {
display: inherit;
}
.visible-tablet {
display: none !important;
}
.visible-mobile {
display: none !important;
@lushone
lushone / Responsive
Created December 14, 2012 17:14 — forked from anonymous/Responsive
.visible-desktop {
display: inherit;
}
.visible-tablet {
display: none !important;
}
.visible-mobile {
display: none !important;
@lushone
lushone / robot.js
Created December 3, 2012 20:35 — forked from cezarsa/robot.js
Simple Wall Robot
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
@lushone
lushone / robot.js
Created December 3, 2012 20:34
W00t #1 YEAH!!!! (Zolmesiter)
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
@lushone
lushone / robot.js
Created December 3, 2012 20:34 — forked from samshull/robot.js
destroyer of worlds
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
@lushone
lushone / robot.js
Created December 3, 2012 20:26
LUSH
//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(10);
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready( function(){
if ($.browser.webkit) {
window.location = 'http://www.webkit.org/';
}
else if ($.browser.msie) {