This file contains hidden or 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
| /* Raw IR decoder sketch! | |
| This sketch/program uses the Arduno and a PNA4602 to | |
| decode IR received. This can be used to make a IR receiver | |
| (by looking for a particular code) | |
| or transmitter (by pulsing an IR LED at ~38KHz for the | |
| durations detected | |
| Code is public domain, check out www.ladyada.net and adafruit.com | |
| for more tutorials! | |
| */ |
This file contains hidden or 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
| DEVELOPMENT: | |
| <script data-main='/assets/js/build' src="/assets/js/vendor/require.js"></script> | |
| PRODUCTION | |
| <script data-main='/assets/js/main.min' src="/assets/js/vendor/require.js"></script> |
This file contains hidden or 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
| grunt.loadNpmTasks('grunt-contrib-requirejs'); |
This file contains hidden or 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
| requirejs: { | |
| compile: { | |
| options: { | |
| mainConfigFile: 'assets/js/build.js', | |
| baseUrl: "assets/js", | |
| name: "main", | |
| include: ['build'], | |
| out: 'assets/js/main.min.js' | |
| } | |
| } |
This file contains hidden or 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
| define ['backbone', 'jquery', 'router'], (Backbone, $, AppRouter) -> | |
| new AppRouter |
This file contains hidden or 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
| require.config { | |
| deps: ['main'] | |
| baseUrl: "/assets/js" | |
| paths: | |
| jquery: 'vendor/jquery' | |
| lodash: 'vendor/lodash' | |
| backbone: 'vendor/backbone' | |
| handlebars: 'vendor/handlebars' | |
| shim: | |
| handlebars: |
This file contains hidden or 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
| assets | |
| ├── coffee | |
| │ ├── build.coffee | |
| │ ├── config.coffee | |
| │ ├── helpers | |
| │ │ └── template-loader.coffee | |
| │ ├── main.coffee | |
| │ ├── models | |
| │ │ └── base.coffee | |
| │ ├── router.coffee |
This file contains hidden or 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
| .class | |
| font-size: 12 | |
| color: #ff0000 |
This file contains hidden or 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
| 1.9.3-p194 ⚡ root ⚡ ~ ⚡ cat /etc/network/interfaces | |
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
| # The primary network interface | |
| auto eth0 |
This file contains hidden or 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
| 1.9.3-p194 ⚡ root ⚡ ~ ⚡ route -n | |
| Kernel IP routing table | |
| Destination Gateway Genmask Flags Metric Ref Use Iface | |
| 0.0.0.0 xxx.xxx.xxx.1 0.0.0.0 UG 0 0 0 eth0 | |
| xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |