I hereby claim:
- I am airways on github.
- I am airways (https://keybase.io/airways) on keybase.
- I have a public key ASA3E-SpXPxLruHW3Az8XZ56s7rQszUvQQt5Pe2UPaKa_Qo
To claim this, I am signing this object:
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| FUEL NAVIGATION: An array of navigation items for the left menu in the admin | |
|-------------------------------------------------------------------------- | |
*/ | |
$config['nav']['site'] = array( | |
'site/articles' => lang('module_site_articles'), |
<?php | |
// database table to be exported | |
$db_table = 'XXXXXXXXX'; | |
// optional where query | |
$where = 'WHERE 1 ORDER BY 1'; | |
// filename for export | |
$csv_filename = 'db_export_'.$db_table.'_'.date('Y-m-d').'.csv'; | |
// database variables | |
$hostname = "localhost"; |
{exp:proform:form form_name="{segment_2}" variable_prefix="pf_"} | |
{if pf_no_results} | |
{if pf_pref:invalid_form_message} | |
{pf_pref:invalid_form_message} | |
{if:else} | |
Invalid form name specified! | |
{/if} | |
{/if} | |
{if pf_complete} | |
{if pf_pref:thank_you_message} |
<script type="text/javascript" > | |
// So the JS knows where our files are | |
var site_url = "{site_url}"; | |
</script> | |
{!-- The AJAX code should work with the default HTML generated by the simple form tag: --} | |
{exp:proform:simple form_name="contact_us"} | |
<script type="text/javascript" src="http://localhost/index.php//assets/js/contact_us.js"></script> |
{exp:proform:form form_name="{segment_2}" variable_prefix="pf_" error_delimiters="|"} | |
{pf_formpref:html_prefix} | |
{if pf_no_results} | |
{if pf_pref:invalid_form_message} | |
{pf_pref:invalid_form_message} | |
{if:else} | |
Invalid form name specified! | |
{/if} | |
{/if} |
{fields} | |
{if field_type != "hidden"} | |
{field_label}: {field_value} | |
{/if} | |
{/fields} |
<?php | |
namespace Craft; | |
/** | |
* Class IOHelper | |
* | |
* @author Pixel & Tonic, Inc. <[email protected]> | |
* @copyright Copyright (c) 2014, Pixel & Tonic, Inc. | |
* @license http://craftcms.com/license Craft License Agreement | |
* @see http://craftcms.com |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
CONNECTION=1 | |
while [ 1 ] | |
do | |
if ping -q -c 1 -w 1 -I eth0 google.com > /dev/null ; then | |
if [ $CONNECTION -eq 0 ] ; then | |
echo "Ethernet connection is up, killing pppd" | |
killall pppd |
<?php | |
/** | |
* @title Soft File to License Scheme | |
* @path application/default/plugins/misc/softsalefile-to-license.php | |
*/ | |
class Am_Plugin_SoftsalefileToLicense extends Am_Plugin | |
{ | |
const PLUGIN_STATUS = self::STATUS_PRODUCTION; |