Skip to content

Instantly share code, notes, and snippets.

View navarr's full-sized avatar
🖥️
Magento

Navarr Barnier navarr

🖥️
Magento
View GitHub Profile

Keybase proof

I hereby claim:

  • I am navarr on github.
  • I am navarr (https://keybase.io/navarr) on keybase.
  • I have a public key whose fingerprint is 343E 78BF F543 6070 C9E1 99D8 30B6 6B3E 3497 F109

To claim this, I am signing this object:

<!DOCTYPE html>
<p class="a">This is the first paragraph of text.</p>
<p class="b">This is the second paragraph of text.</p>
<p class="c">This is the third paragraph of text.</p>
<br /><hr /><br />
Milliseconds before first fade: <input id="first" type="number" value="0" /><br />
Milliseconds for Fade: <input id="fade" type="number" value="400" /><br />
Milliseconds Between Fades: <input id="between" type="number" value="500" /><br />
<label><input type="checkbox" id="wait" /> Wait for fade to finish before starting the next</label><br />
<input type="button" id="doFade" value="Test Fade" />
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<!--
A tic tac toe game written in XHTML5 for 314
by Navarr T. Barnier
-->
<head>
<title>Tic-Tac-Toe</title>
<style>
body { text-align: center; background-color: #111111; color: #DDDDDD; font-family: sans-serif; }
@navarr
navarr / REST.php
Created May 11, 2014 01:18
Did I program this? Because I am *not* proud of it
<?php
class Rest
{
public $host = null;
public $verb = null;
public $path = null;
public $scheme = 'http';
public $params = array();
public $post = array();
@navarr
navarr / info.md
Last active August 29, 2015 14:02

Additionally, in cases of a very large network - like Shotbow, Hypixel, The Hive, etc. where you connect to a central "hub server" that you can then join specific games and servers from - you may not be able to play with your friends.

The reason for this is two-fold: One, Mojang says that once you have access to a "server" (defined as an address you connect to in Minecraft) you have to be able to access any game or world made available by that server.

In Shotbow, we have many different games. Some are small (Light Bikes), and others are massive (MineZ - When in Rogue). Some, such as MineZ - also have paid-only worlds.

With the new rules in effect, we can't display these paid worlds in a hub that free players can access. So we would have to at minimum double our infrasturcture (more costs) and split out community in half (paying users and non-paying). So you can no longer hang out with your friends in the hub.

Even then, what happens in the paid worlds can't be shared with the free worlds - Any items,

<?php
namespace app\rbac;
use yii\rbac\Item;
use yii\rbac\Rule;
class CanGoToHell extends Rule
{
/**
@navarr
navarr / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;

Dear 10 Days or Whatever of Kwanzaa recipient,

A couple years ago, we made a joke that with the money we donated to the Wikimedia Foundation (CardsAgainstHumanity.com/holidaystats), we could have bought a small private island.

That gave us an idea: to buy a small private island.

This year, we used your money to purchase a wooded, uninhabited six-acre private island in St. George Lake, Maine.

We bought this island for two reasons. 1) Because it was funny, and 2) so we could give you a small piece of it. Also, 3) we're preserving a pristine bit of American wilderness.

@navarr
navarr / lib\Briteskies\Commands\MemoryCommand.php
Last active August 29, 2015 14:13
N98 Magerun MemoryCommand
<?php
namespace Briteskies\Commands;
use N98\Magento\command\AbstractMagentoCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class MemoryCommand extends AbstractMagentoCommand
{
@navarr
navarr / designer.html
Last active August 29, 2015 14:14
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>