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
Titanium.UI.setBackgroundColor('#000'); | |
var tabGroup = Titanium.UI.createTabGroup(); | |
var win1 = Titanium.UI.createWindow({ | |
url:'categories.js', | |
title:'Categories', | |
barColor:'#670000', | |
catid: 0 | |
}); |
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
/* | |
| ------------------------------------------------------------------- | |
| Native Auto-load | |
| ------------------------------------------------------------------- | |
| | |
| Nothing to do with cnfig/autoload.php, this allows PHP autoload to work | |
| for base controllers and some third-party libraries. | |
| | |
*/ | |
function __autoload($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
* Intro | |
<blah> <------ That is called a tag. | |
All html elements have an opening and closing tag. Notice the forward slash on the closing tag. | |
<opening>Blah blah blah</closing> | |
* Paragraph |
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 ui = require('/libraries/ui'); | |
// Default screen. | |
exports.screen_init = function (body, callbacks) | |
{ | |
// Clear from other screens. | |
win.rightNavButton = null; | |
// Container for holding this page. | |
var wrapper = ui.view({ |
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/sh | |
IPT=/sbin/iptables | |
LOCAL_IFACE=eth0 | |
INET_IFACE=wlan0 | |
# Flush the tables | |
$IPT -F INPUT | |
$IPT -F OUTPUT | |
$IPT -F FORWARD |
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 | |
return array( | |
/* | |
|-------------------------------------------------------------------------- | |
| PDO Fetch Style | |
|-------------------------------------------------------------------------- | |
| | |
| By default, database results will be returned as instances of the 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
<?php | |
return [ | |
// Site Config. | |
'site_name' => '', | |
// Amazon Glacier | |
'aws_glacier_key' => '', | |
'aws_glacier_secret' => '', | |
'aws_glacier_region' => 'us-east-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
<?php | |
return array( | |
/* | |
|-------------------------------------------------------------------------- | |
| Mail Driver | |
|-------------------------------------------------------------------------- | |
| | |
| Laravel supports both SMTP and PHP's "mail" function as drivers for the |
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
for i in `php artisan queue:failed | awk '{ print $2 }'`; do php artisan queue:retry $i; done |
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
g6Rib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgkydlZMvoL42RA8AYxl3Kwm4FjdAIi8xXqYoMTeP2lUkKp3BheWxvYWTFAux7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwOTMyNzY1NjRjYmU4MmY4ZDkxMDNjMDE4YzY1ZGNhYzI2ZTA1OGRkMDA4OGJjYzU3YTk4YTBjNGRlM2Y2OTU0OTBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwOTMyNzY1NjRjYmU4MmY4ZDkxMDNjMDE4YzY1ZGNhYzI2ZTA1OGRkMDA4OGJjYzU3YTk4YTBjNGRlM2Y2OTU0OTBhIiwidWlkIjoiNjAyNzkzNzc0MWMzOGI1Y2Q4MmVjZjgzZGU1OGQ0MTk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