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
var Advania = { | |
Plugins: { | |
/** | |
* Tab control plugin | |
* TODO: add state to cookies | |
* | |
* @return void | |
*/ |
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
<?php | |
class Inflector extends Kohana_Inflector { | |
public static function plural_icelandic($word, $count = NULL) | |
{ | |
$count = ($count === NULL) ? 0.0 : (float) $count; | |
if ($count == 1) | |
return $word; |
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
/** | |
* Arduino based "2-step launch control" | |
* Works by interrupt power signal to ignition coil. | |
* Requires RPM and Clutch signal | |
* | |
* @author Birkir Gudjonsson (birkir.gudjonsson@gmail.com) | |
* @licence http://en.wikipedia.org/wiki/BSD_licenses | |
*/ | |
// settings |
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
<?php | |
/** | |
* Twitter Bootstrap Kohana helper | |
* | |
* example of use: | |
* <?=Bootstrap::grid($grid, Bootstrap::FLUID);?> | |
* <?=$grid->span($view, 4);?> | |
* <?=Bootstrap::icon('download', TRUE);?> | |
* <?=Bootstrap::button('Button'); ?> |
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
/*-------------------------------------------------------------------- | |
Scripts for creating and manipulating custom menus based on standard <ul> markup | |
Version: 3.0, 03.31.2009 | |
By: Maggie Costello Wachs (maggie@filamentgroup.com) and Scott Jehl (scott@filamentgroup.com) | |
http://www.filamentgroup.com | |
* reference articles: http://www.filamentgroup.com/lab/jquery_ipod_style_drilldown_menu/ | |
Copyright (c) 2009 Filament Group | |
Dual licensed under the MIT (filamentgroup.com/examples/mit-license.txt) and GPL (filamentgroup.com/examples/gpl-license.txt) licenses. |
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
<?php | |
/** phpSerial = https://php-serial.googlecode.com/svn/trunk/php_serial.class.php **/ | |
include "php_serial.class.php"; | |
/** | |
* Wireless Sensors middle-layer-class | |
* | |
* @require phpSerial |
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
body { | |
padding-top: 100px; | |
} | |
.navbar-masthead { | |
top: 30px; | |
} | |
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
/** | |
* Find all the evil jscript and integrate new property values | |
* | |
* @return void | |
*/ | |
(function () { | |
// scope jquery | |
var $ = window.jQuery, |
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 <SPI.h> | |
#include <Mirf.h> | |
#include <nRF24L01.h> | |
#include <MirfHardwareSpiDriver.h> | |
// structure for gate packet | |
typedef struct { | |
int Identity; | |
boolean State; | |
float Distance; |
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
/** | |
* BMW IBus Daemon reads BMW IBus data through serial port. It detects | |
* BMW board monitor(at least BM53) unit and steering wheel button presses | |
* from IBus data, maps them to key events and injects them to system event | |
* queue via uinput. | |
* | |
* It also can be configured to inject key events only in certain state like | |
* TAPE or AUX which can be useful if you want to hijack for example TAPE | |
* mode for other use. | |
* |