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 Bootstrap extends Zend_Application_Bootstrap_Bootstrap | |
{ | |
/* Other functions may have been omitted */ | |
protected function _initTwigView() | |
{ | |
$twigView = new ZExt_Twig(APPLICATION_PATH, APPLICATION_PATH."/modules"); | |
$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper("ViewRenderer"); |
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
<div id="manageable_id_2" class="ep_manageable"> | |
<div class="ep_manageable_data"> | |
<input id="manageable_id_2_check" type="checkbox"> <a href="http://wlbr.local/2/">ZeroWIN Vision Conference</a> | |
</div> | |
<div class="ep_manageable_controls"> | |
<ul> | |
<li>Manage Bookmark</li> | |
<li>Edit Resource</li> | |
<li>Delete Resource</li> | |
</ul> |
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
<div id="manageable_id_102" class="ep_manageable"> | |
<div class="ep_manageable_data"> | |
<input type="checkbox" name="bulkaction_eprintids" value="102" id="select-102" class="ep_resource_manager_select_check"> | |
<a href="http://resourcemanager.quango-vm.local/102/"><span class="ep_manageable_data_title">My New EdShare Resource</span></a> | |
<span class="ep_manageable_data_viewperms">Just me</span> | |
</div> | |
<div class="ep_manageable_controls"> | |
<ul> | |
<li><a href="http://resourcemanager.quango-vm.local/102/">View</a></li> | |
<li><a href="http://resourcemanager.quango-vm.local/cgi/users/home?screen=EPrint::Edit&eprintid=102">Edit</a></li> |
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
#import <Foundation/Foundation.h> | |
@interface NSDictionary (QueryStringBuilder) | |
- (NSString *)queryString; | |
@end |
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 | |
error_reporting(0); | |
// Array of appstore ID's to always look up | |
$idArray = array( | |
"428243918", | |
"442713833" | |
); | |
$arguments = array_merge($idArray, array_slice($argv, 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
$(function() { | |
$(".sort_ajax").on("blur", function() { | |
var $this = $(this); | |
if ($this.attr("checked")) { | |
var data = {}; | |
data.value = $this.siblings("[name='Style_code']").value(); | |
$.post("Product_Range", data, function(data) { | |
$("#crud_page").trigger("change"); | |
}, html); | |
} |
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
android { | |
defaultConfig { | |
versionCode versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild | |
versionName "${versionMajor}.${versionMinor}.${versionPatch}" | |
} | |
buildTypes { | |
debug { | |
versionNameSuffix "-SNAPSHOT" | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
import PackageDescription | |
let package = Package( | |
name: "myFirstKituraProject", | |
dependencies: [ | |
.Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 1, minor: 0), | |
.Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", majorVersion: 1, minor: 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
import Foundation | |
import Kitura | |
import HeliumLogger | |
// Initialize HeliumLogger | |
HeliumLogger.use() | |
// Create new router | |
let router = Router() |
OlderNewer