View Procfile
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
web: myFirstKituraProject |
View main.swift
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() |
View Package.swift
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), | |
] | |
) |
View 0_reuse_code.js
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 |
View gist:8020787
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" | |
} |
View gist:8003607
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); | |
} |
View appstore.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 | |
error_reporting(0); | |
// Array of appstore ID's to always look up | |
$idArray = array( | |
"428243918", | |
"442713833" | |
); | |
$arguments = array_merge($idArray, array_slice($argv, 1) ); |
View NSDictionary+QueryStringBuilder.h
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 |
View gist:368292
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> |
View gist:294659
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> |
NewerOlder