This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ssd1306.h" | |
#include "nano_engine.h" | |
NanoEngine1 engine; | |
const unsigned char news_bitmap [] PROGMEM = { | |
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | |
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf3, 0xf3, | |
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x1f, 0x7f, 0xff, | |
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xe3, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, | |
0xfe, 0xff, 0xff, 0xff, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0xfd, 0xff, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
input=$1 | |
if [ ! -f "$input" ]; then | |
echo "Usage: ./label-burn.sh path/labels.txt" | |
exit | |
fi | |
output=${input%.txt}.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
input=$1 | |
if [ ! -f "$input" ]; then | |
echo "Usage: ./burn.sh path/input.hex" | |
exit | |
fi | |
output=${input%.hex}.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"><head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Smart Wizard 3 - Basic Example - a javascript jQuery wizard control plugin</title> | |
<link href="http://mstratman.github.com/jQuery-Smart-Wizard/styles/demo_style.css" rel="stylesheet" type="text/css"> | |
<link href="http://mstratman.github.com/jQuery-Smart-Wizard/styles/smart_wizard.css" rel="stylesheet" type="text/css"> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script> | |
<script type="text/javascript" src="http://mstratman.github.com/jQuery-Smart-Wizard/js/jquery.smartWizard.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package MooParent; | |
use Moo; | |
has who => ( | |
is => 'ro', | |
default => sub { 'MooParent' }, | |
); | |
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This is simply an example of a legacy array-based object. | |
# I do not recommend using it. | |
package Animal3; | |
use strict; | |
our $NAME_INDEX = 0; | |
sub new { | |
my $class = shift; | |
my $self = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This is simply an example of a legacy blessed-hash object. | |
# I do not recommend using it. | |
package Animal2; | |
use strict; | |
sub new { | |
my $class = shift; | |
my $self = {}; | |
$self->{_name} = shift; | |
bless($self, $class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This is simply an example of a legacy blessed-hash object. | |
# I do not recommend using it. | |
package Animal1; | |
use strict; | |
sub new { | |
my $class = shift; | |
my $self = shift; | |
$self = {} unless $self && ref $self eq 'HASH'; | |
bless($self, $class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package MyDate; | |
use Moose; | |
use namespace::autoclean; | |
use Date::Handler; | |
has '_date_handler' => ( | |
is => 'ro', | |
isa => 'Date::Handler', | |
handles => qr/.*/, | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This is simply an example of a legacy blessed-hash object. | |
# I do not recommend using it. | |
package Animal2; | |
use strict; | |
sub new { | |
my $class = shift; | |
my $self = {}; | |
$self->{_name} = shift; | |
bless($self, $class); |
NewerOlder