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
#! /usr/bin/python | |
from gi.repository import Gtk, Gdk, GObject | |
from agtk import MainWindow | |
""" | |
@brief AWR Graphic User Interface | |
""" | |
class AWRGUI: | |
""" | |
@brief Constructor |
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
#! /usr/bin/python | |
""" | |
AGTKS (abidibo's GTK library) | |
This library containes reusable GTK classes. | |
@author abidibo (Stefano Contini) <[email protected]> | |
@license MIT License (http://opensource.org/licenses/MIT) | |
@date 2013 | |
""" | |
from gi.repository import Gtk, Gdk |
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
.mcheckbox-container { | |
display: inline-block; | |
vertical-align: middle; | |
height: 160px; | |
overflow: auto; | |
} | |
.mcheckbox-table { | |
margin-right: 20px; | |
width: 100%; | |
} |
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
// requires mootools selectors | |
var path = function path(element) { | |
if(element.get('id')) { | |
return '#' + element.get('id'); | |
} | |
if(element == document.body) { | |
return 'body'; |
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 | |
/** | |
* @file cache.php | |
* @brief Contains the \ref cache, outputCache and dataCache classes. | |
* | |
* @author abidibo [email protected] | |
* @version 0.99 | |
* @date 2011-2012 | |
* @copyright Otto srl [MIT License](http://www.opensource.org/licenses/mit-license.php) | |
*/ |
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
// new namespace | |
var tcg = {}; | |
// main graph controller | |
tcg.graph = new Class({ | |
options: { | |
x_grid_step: 20, // grid step in px on x axis | |
y_grid_step: 40, // grid step in px on y axis | |
x_factor: 1, // multiplier factor of each grid step on x axis (value = m * grid-steps) |
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
.mootab .tab_contents { | |
border: 1px solid #eee; | |
padding: 10px; | |
} | |
.mootab .tab_titles .link { | |
cursor: pointer; | |
display: inline-block; | |
border:1px solid #eee; | |
border-bottom-width: 0; | |
padding: 2px 5px; |
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
GENERAL | |
================= | |
Two machines, 1 server and 1 client | |
The backoffice and frontend applications resides on the server | |
SERVER | |
================= | |
Suppose the server ip on the local netw is 192.168.0.74 | |
ls -la /var/ape |
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
**in topBar phpModuleView** | |
================================= | |
$encode = true; | |
if($_SERVER['REQUEST_URI'] == '/index.php') { | |
$ubase = $_SERVER['REQUEST_URI']."?textview="; | |
$encode = false; | |
} | |
elseif(substr($_SERVER['SCRIPT_URL'], -1) == '/') { | |
$ubase = $_SERVER['REQUEST_URI']."?"; | |
} |
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
video.fp_setPlaylist = function(playlist) { | |
log("Setting playlist"); | |
activeIndex = 0; | |
for ( var i = 0; i < playlist.length; i++ ) { | |
if(typeof playlist[i].url != 'undefined') playlist[i] = fixClip(playlist[i]); | |
} | |
activePlaylist = playlist; | |
// keep flowplayer.js in sync |