This file contains hidden or 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
I/ActivityManager( 121): Starting activity: Intent { act=android.intent.action. | |
MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/ | |
com.android.launcher2.Launcher } | |
W/InputManagerService( 121): Ignoring hideSoftInput of: com.android.internal.vi | |
ew.IInputMethodClient$Stub$Proxy@45dcdd90 | |
D/Warhol ( 218): A pack appears to be installed -- skipping Installer | |
D/PhoneInterfaceManager( 215): [PhoneIntfMgr] CMD_END_CALL: no call to hang up | |
D/WindowManager( 121): I'm tired mEndcallBehavior=0x2 | |
I/power ( 121): *** set_screen_state 0 | |
D/LockScreen( 121): Updating Lock Screen text to Ruim |
This file contains hidden or 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
using FubuMVC.Core; | |
namespace EducationWeb.AssetsMap | |
{ | |
public class ConfigureFubuMVC : FubuPackageRegistry | |
{ | |
public ConfigureFubuMVC() | |
{ | |
Applies.ToAssemblyContainingType<ConfigureFubuMVC>().ToAllPackageAssemblies(); |
This file contains hidden or 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
public class ModelTest : DynamicModel | |
{ | |
public ModelTest() | |
: base("pgtest", "\"ModelTest\"", "id") | |
{ | |
} | |
} | |
public class ModelTestRecord | |
{ |
This file contains hidden or 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
[TableName("\"ModelTest\"")] | |
[PrimaryKey("id")] | |
public class ModelTest | |
{ | |
public int id { get; set; } | |
public string test1 { get; set; } | |
public string test2 { get; set; } | |
} | |
public static class ExpandoCasting |
This file contains hidden or 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
[ServiceDirectory("/examples")] // cause the request to be handled at /servicestack/{FORMAT}/syncreply/examples/HelloWorld | |
public class HelloWorldService : IService<HelloWorld> | |
{ | |
public object Execute(HelloWorld request) | |
{ | |
return new HelloWorldResponse() { Text = "Hello World" }; | |
} | |
} |
This file contains hidden or 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
<html> | |
<head> | |
<title>Home :: <? Theme::store_name() ?></title> | |
</head> | |
<body> | |
<h1><? Theme::store_name() ?></h1> | |
<h2>Home</h2> | |
<p>Welcome to the store!</p> | |
<? // here specials are products flagged as on sale or something in the admin and the loop is provided by the system |
This file contains hidden or 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 | |
// in functions.php? | |
Hooks::addFilter('specials_filter', 'filterTheSpecials'); | |
function filterTheSpecials($filter) | |
{ | |
// limit to physical products only | |
$filter->limitTo('PhysicalProduct'); | |
// or limit to the Computer category | |
$filter->limitTo('Category', 'Computer'); |
This file contains hidden or 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
-- phpMyAdmin SQL Dump | |
-- version 3.3.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Jul 10, 2012 at 09:39 PM | |
-- Server version: 5.0.84 | |
-- PHP Version: 5.3.8-pl0-gentoo | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
This file contains hidden or 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
url = "etrade request credentials url" | |
consumer = oauth.Consumer(key="your consumer key", secret="your secret") | |
params = { | |
'oauth_nonce': oauth.generate_nonce(), | |
'oauth_timestamp': int(time.time()), | |
'oauth_callback': 'oob', | |
'oauth_consumer_key': consumer.key | |
} | |
req = oauth.Request(method="POST", url=url, parameters=params) |
This file contains hidden or 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
public class Artist : BaseRequestDTO | |
{ | |
/// <summary> | |
/// Limit results to the specified region. | |
/// </summary> | |
public int RegionId { get; set; } | |
/// <summary> | |
/// Only fetch featured artists. | |
/// </summary> | |
public bool Featured { get; set; } |
OlderNewer