100+ results for 'php configuration'

Not the results you expected?

exceptions.php (https://github.com/simkimsia/cake2-practice-app.git) PHP · 491 lines

6 * PHP 5

7 *

8 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)

9 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)

10 *

13 *

14 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)

15 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests

16 * @package Cake.Error

17 * @since CakePHP(tm) v 2.0

379 */

380 class MissingDatasourceConfigException extends CakeException {

381 protected $_messageTemplate = 'The datasource configuration "%s" was not found in database.php';

382 }

383

Buckets.php (https://gitlab.com/efabian/maya) PHP · 268 lines

1 <?php

2 /*

3 * Copyright 2014 Google Inc.

165 /**

166 * Patches a bucket. Changes to the bucket will be readable immediately after

167 * writing, but configuration changes may take time to propagate.

168 * (buckets.patch)

169 *

236 /**

237 * Updates a bucket. Changes to the bucket will be readable immediately after

238 * writing, but configuration changes may take time to propagate.

239 * (buckets.update)

240 *

buttons.c (https://gitlab.com/karrei/imx6-kernel) C · 531 lines

515

516 default:

517 pr_debug("No buttons configuration found for this device\n");

518 return -ENOTSUPP;

519 }

AndroidProvisioningPartner.php (https://gitlab.com/efabian/maya) PHP · 457 lines

1 <?php

2 /*

3 * Copyright 2014 Google Inc.

35

36 public $customers;

37 public $customers_configurations;

38 public $customers_devices;

39 public $customers_dpcs;

83 )

84 );

85 $this->customers_configurations = new Google_Service_AndroidProvisioningPartner_Resource_CustomersConfigurations(

86 $this,

87 $this->serviceName,

88 'configurations',

89 array(

90 'methods' => array(

Settings.php (https://bitbucket.org/kudutest1/moodlegit.git) PHP · 332 lines

22 * @package PHPExcel_Settings

23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL

25 * @version ##VERSION##, ##DATE##

33 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../');

34 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');

35 }

36

112 * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management

113 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive

114 * @return boolean Success or failure

115 */

130 * @return string Name of the Zip handler Class that PHPExcel is configured to use

131 * for Zip file management

132 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive

133 */

134 public static function getZipClass() {

mod_authz_default.mak (https://bitbucket.org/jonasteuwen/apache2nginx.git) Makefile · 381 lines

2 !IF "$(CFG)" == ""

3 CFG=mod_authz_default - Win32 Debug

4 !MESSAGE No configuration specified. Defaulting to mod_authz_default - Win32 Debug.

5 !ENDIF

6

7 !IF "$(CFG)" != "mod_authz_default - Win32 Release" && "$(CFG)" != "mod_authz_default - Win32 Debug"

8 !MESSAGE Invalid configuration "$(CFG)" specified.

9 !MESSAGE You can specify a configuration when running NMAKE

12 !MESSAGE NMAKE /f "mod_authz_default.mak" CFG="mod_authz_default - Win32 Debug"

13 !MESSAGE

14 !MESSAGE Possible choices for configuration are:

15 !MESSAGE

16 !MESSAGE "mod_authz_default - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")

17 !MESSAGE "mod_authz_default - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")

18 !MESSAGE

19 !ERROR An invalid configuration is specified.

20 !ENDIF

21

mod_authn_default.mak (https://bitbucket.org/jonasteuwen/apache2nginx.git) Makefile · 381 lines

2 !IF "$(CFG)" == ""

3 CFG=mod_authn_default - Win32 Debug

4 !MESSAGE No configuration specified. Defaulting to mod_authn_default - Win32 Debug.

5 !ENDIF

6

7 !IF "$(CFG)" != "mod_authn_default - Win32 Release" && "$(CFG)" != "mod_authn_default - Win32 Debug"

8 !MESSAGE Invalid configuration "$(CFG)" specified.

9 !MESSAGE You can specify a configuration when running NMAKE

12 !MESSAGE NMAKE /f "mod_authn_default.mak" CFG="mod_authn_default - Win32 Debug"

13 !MESSAGE

14 !MESSAGE Possible choices for configuration are:

15 !MESSAGE

16 !MESSAGE "mod_authn_default - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")

17 !MESSAGE "mod_authn_default - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")

18 !MESSAGE

19 !ERROR An invalid configuration is specified.

20 !ENDIF

21

ext_tables.php (https://github.com/dreadwarrior/ext-giftcertificates.git) PHP · 349 lines

207 'endtime' => 'endtime',

208 ),

209 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/CertificateArticle.php',

210 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_giftcertificates_domain_model_certificatearticle.gif'

211 ),

234 'endtime' => 'endtime',

235 ),

236 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Cart.php',

237 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_giftcertificates_domain_model_cart.gif'

238 ),

342 'endtime' => 'endtime',

343 ),

344 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/BillingAddress.php',

345 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_giftcertificates_domain_model_billingaddress.gif'

346 ),

FileSystem_FtpTest.php (https://github.com/philipp2/core.git) PHP · 436 lines

1 <?php

2 require_once dirname(__FILE__) . '/../../../../bootstrap.php';

3

4 // exclude the following file from code coverage reports.

5 PHP_CodeCoverage_Filter::getInstance()->addFileToBlacklist(dirname(__FILE__). '/../../../../../src/lib/Zikula/FileSystem/Facade/Ftp.php');

6

7

10 * Zikula_FileSystem_Ftp test case.

11 */

12 class Zikula_FileSystem_FtpTest extends PHPUnit_Framework_TestCase

13 {

14

24 {

25 parent::setUp();

26 $config = new Zikula_FileSystem_Configuration_Ftp();

27 $this->Zikula_FileSystem_Ftp = new Zikula_FileSystem_Ftp($config);

28 }

IT.java (https://gitlab.com/yuping.shang/ArbutusService) Java · 389 lines

57

58 public void init() {

59 approvalService.deleteAllConfiguration(uc);

60 approvalService.deleteAllEntityInstances(uc);

61 }

exceptions.php (https://github.com/gfarrell/KORDS.git) PHP · 579 lines

1 <?php

2 /**

3 * Exceptions file. Contains the various exceptions CakePHP will throw until they are

6 * PHP 5

7 *

8 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)

9 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)

10 *

13 *

14 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)

15 * @link http://book.cakephp.org/2.0/en/development/testing.html

16 * @package Cake.Error

17 * @since CakePHP(tm) v 2.0

387 class MissingDatasourceConfigException extends CakeException {

388

389 protected $_messageTemplate = 'The datasource configuration "%s" was not found in database.php';

390

391 }

Settings.php (https://gitlab.com/rsilveira1987/Expresso) PHP · 332 lines

22 * @package PHPExcel_Settings

23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL

25 * @version 1.7.8, 2012-10-12

33 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../');

34 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');

35 }

36

112 * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management

113 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive

114 * @return boolean Success or failure

115 */

130 * @return string Name of the Zip handler Class that PHPExcel is configured to use

131 * for Zip file management

132 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive

133 */

134 public static function getZipClass() {

ConfigurationResolverTest.php (https://gitlab.com/I-NOZex/quiz) PHP · 306 lines

1 <?php

2

3 /*

4 * This file is part of the PHP CS utility.

5 *

6 * (c) Fabien Potencier <fabien@symfony.com>

12 namespace Symfony\CS\Tests;

13

14 use Symfony\CS\ConfigurationResolver;

15 use Symfony\CS\Fixer;

16 use Symfony\CS\FixerInterface;

20 * @author Dariusz Rumiński <dariusz.ruminski@gmail.com>

21 */

22 class ConfigurationResolverTest extends \PHPUnit_Framework_TestCase

23 {

24 protected $config;

mysql.sql (https://github.com/masuman/elgg-1.git) SQL · 370 lines

15 --

16

17 -- Site configuration.

18 CREATE TABLE `prefix_config` (

19 `name` varchar(32) NOT NULL,

289 ) ENGINE=MEMORY;

290

291 -- PHP Session storage

292 CREATE TABLE `prefix_users_sessions` (

293 `session` varchar(255) NOT NULL,

11.php (https://github.com/Sipcms/SipCMS.git) PHP · 92 lines

46 #6 Z:\home\sipcms.local\www\index.php(109): Kohana_Request->execute()

47 #7 {main}

48 2011-08-11 22:46:47 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

49 2011-08-11 22:46:49 --- ERROR: ErrorException [ 2 ]: Missing argument 2 for Kohana_Session::set(), called in Z:\home\sipcms.local\www\application\classes\sip\controller.php on line 9 and defined ~ SYSPATH\classes\kohana\session.php [ 243 ]

85 2011-08-11 22:47:09 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

86 2011-08-11 22:47:55 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

87 2011-08-11 22:47:56 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

88 2011-08-11 22:48:21 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

89 2011-08-11 22:48:22 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

90 2011-08-11 22:48:22 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

91 2011-08-11 22:48:22 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

92 2011-08-11 22:48:23 --- ERROR: Kohana_Exception [ 0 ]: No encryption key is defined in the encryption configuration group: default ~ SYSPATH\classes\kohana\encrypt.php [ 68 ]

WiFiElement.qml (https://bitbucket.org/kasimling/luna-sysmgr.git) QML · 297 lines

76 entry.isConnected = false;

77 if(state == "ipFailed") {

78 entry.itemStatus = runtime.getLocalizedString("IP configuration failed");

79 entry.boldStatus = true;

80 } else {

DebugDisabledPerformanceComparison.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 267 lines

17 package org.apache.logging.log4j;

18

19 import org.apache.logging.log4j.core.config.XMLConfigurationFactory;

20 import org.apache.logging.log4j.core.util.Profiler;

21 import org.junit.AfterClass;

55 @BeforeClass

56 public static void setupClass() {

57 System.setProperty(XMLConfigurationFactory.CONFIGURATION_FILE_PROPERTY, CONFIG);

58 System.setProperty(LOGBACK_CONF, LOGBACK_CONFIG);

59 System.setProperty(LOG4J_CONF, LOG4J_CONFIG);

62 @AfterClass

63 public static void cleanupClass() {

64 System.clearProperty(XMLConfigurationFactory.CONFIGURATION_FILE_PROPERTY);

65 System.clearProperty(LOGBACK_CONF);

66 System.clearProperty(LOG4J_CONF);

Relyingparty.php (https://gitlab.com/Anas7232/Layout-Changes) PHP · 292 lines

1 <?php

2 /*

3 * Copyright 2014 Google Inc.

107 }

108 /**

109 * Get project configuration. (relyingparty.getProjectConfig)

110 *

111 * @param array $optParams Optional parameters.

186 }

187 /**

188 * Set project configuration. (relyingparty.setProjectConfig)

189 *

190 * @param Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetProjectConfigRequest $postBody

Products.cs (https://bitbucket.org/dhirschl/wcf-4-step-by-step.git) C# · 303 lines

228

229 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]

230 [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ProductsClient.ProductsService.IProductsService")]

231 public interface IProductsService

232 {

261 }

262

263 public ProductsServiceClient(string endpointConfigurationName) :

264 base(endpointConfigurationName)

266 }

267

268 public ProductsServiceClient(string endpointConfigurationName, string remoteAddress) :

269 base(endpointConfigurationName, remoteAddress)

271 }

272

273 public ProductsServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :

274 base(endpointConfigurationName, remoteAddress)

EntityFormDisplayTest.php (https://gitlab.com/guillaumev/alkarama) PHP · 266 lines

1 <?php

2

3 namespace Drupal\Tests\field_ui\Kernel;

10

11 /**

12 * Tests the entity display configuration entities.

13 *

14 * @group field_ui

32 public function testEntityGetFromDisplay() {

33 // Check that entity_get_form_display() returns a fresh object when no

34 // configuration entry exists.

35 $form_display = entity_get_form_display('entity_test', 'entity_test', 'default');

36 $this->assertTrue($form_display->isNew());

Reference.cs (https://bitbucket.org/masterzdran/meic-1213-sd.git) C# · 248 lines

151

152 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]

153 [System.ServiceModel.ServiceContractAttribute(ConfigurationName="CentralServiceReference.IManageSupplier", CallbackContract=typeof(SupplierProject.CentralServiceReference.IManageSupplierCallback), SessionMode=System.ServiceModel.SessionMode.Required)]

154 public interface IManageSupplier {

155

182 }

183

184 public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) :

185 base(callbackInstance, endpointConfigurationName) {

186 }

187

188 public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) :

189 base(callbackInstance, endpointConfigurationName, remoteAddress) {

190 }

191

192 public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :

193 base(callbackInstance, endpointConfigurationName, remoteAddress) {

detect.h (https://github.com/batt/StratoSpera.git) C Header · 559 lines

140 + CPU_ARM_AT91SAM7X128 + CPU_ARM_AT91SAM7X256 \

141 + CPU_ARM_AT91SAM7X512 != 1

142 #error ARM CPU configuration error

143 #endif

144 #define CPU_ARM_LPC2 0

147

148 #if CPU_ARM_LPC2378 + 0 != 1

149 #error NXP LPC2xxx ARM CPU configuration error

150 #endif

151 #define CPU_ARM_AT91 0

158

159 #if CPU_ARM_AT91 + CPU_ARM_LPC2 + 0 /* Add other ARM families here */ != 1

160 #error ARM CPU configuration error

161 #endif

162 #else

CompilationSection.cs (https://github.com/t-ashula/mono.git) C# · 254 lines

1 //

2 // System.Web.Configuration.CompilationSection

3 //

4 // Authors:

30

31 using System;

32 using System.Configuration;

33 using System.ComponentModel;

34

35 namespace System.Web.Configuration

36 {

37 public sealed class CompilationSection : ConfigurationSection

38 {

39 static ConfigurationPropertyCollection properties;

40 static ConfigurationProperty compilersProp;

RTDAO.inc.php (https://github.com/mcrider/pkpUpgradeTestSuite.git) PHP · 605 lines

1 <?php

2

3 /**

4 * RTDAO.inc.php

5 *

6 * Copyright (c) 2003-2005 The Public Knowledge Project

11 * DAO operations for the OJS Reading Tools interface.

12 *

13 * $Id: RTDAO.inc.php,v 1.20 2005/07/16 03:52:02 alec Exp $

14 */

15

23

24 /**

25 * Retrieve an RT configuration.

26 * @param $versionId int

27 * @return RT

SearchService.php (https://gitlab.com/contextualcode/symfony-ez5-search-bundle) PHP · 428 lines

1 <?php

2 namespace ThinkCreative\SearchBundle\Services;

3 use ThinkCreative\SearchBundle\Solr\SolrQuery;

13 {

14 /**

15 * Solr configuration

16 * @var array

17 */

19

20 /**

21 * Search configuration

22 * @var array

23 */

58

59 /**

60 * Set search configuration.

61 * @param array $search_config

62 */

startup_rvmdk.S (https://github.com/hrshygoodness/Luminary-Micro-Library.git) Assembly · 260 lines

1 ; <<< Use Configuration Wizard in Context Menu >>>

2 ;******************************************************************************

3 ;

config.php (https://github.com/nigeldaley/moodle.git) PHP · 269 lines

1 <?php

2

3 // This file is part of Moodle - http://moodle.org/

17

18 /**

19 * Configuration for Moodle's Canvas theme.

20 *

21 * This theme is special, and implements a minimalist theme with basic styles.

88 $THEME->layouts = array(

89 'base' => array(

90 'file' => 'general.php',

91 'regions' => array('side-pre', 'side-post'),

92 'defaultregion' => 'side-post',

93 ),

94 'standard' => array(

95 'file' => 'general.php',

96 'regions' => array('side-pre', 'side-post'),

97 'defaultregion' => 'side-post',

WorkflowOptions.php (https://github.com/trob/fabrik.git) PHP · 287 lines

1 <?php

2

3 /**

22 * when a call to the

23 * `assignment_callback_url` fails

24 * @param string $configuration A JSON string that contains the rules to apply

25 * to the Workflow

26 * @param int $taskReservationTimeout How long TaskRouter will wait for a

82 $this->options['assignmentCallbackUrl'] = $assignmentCallbackUrl;

83 $this->options['fallbackAssignmentCallbackUrl'] = $fallbackAssignmentCallbackUrl;

84 $this->options['configuration'] = $configuration;

85 $this->options['taskReservationTimeout'] = $taskReservationTimeout;

86 $this->options['reEvaluateTasks'] = $reEvaluateTasks;

131 * @return $this Fluent Builder

132 */

133 public function setConfiguration($configuration) {

134 $this->options['configuration'] = $configuration;

_permissionsconfigurator.inc.php (https://github.com/sareche/thebuggenie.git) PHP · 83 lines

29 <li id="<?php echo $base_id; ?>_tab_projects"><a onclick="TBG.Main.Helpers.tabSwitcher('<?php echo $base_id; ?>_tab_projects', 'permissions_<?php echo $base_id; ?>_tabs');" href="javascript:void(0);"><?php echo __('Project-specific permissions'); ?></a></li>

30 <li id="<?php echo $base_id; ?>_tab_modules"><a onclick="TBG.Main.Helpers.tabSwitcher('<?php echo $base_id; ?>_tab_modules', 'permissions_<?php echo $base_id; ?>_tabs');" href="javascript:void(0);"><?php echo __('Module-specific permissions'); ?></a></li>

31 </ul>

32 </div>

46 <?php include_template('configuration/permissionsblock', array('base_id' => $base_id . 'page_permissions', 'permissions_list' => TBGContext::getAvailablePermissions('pages'), 'mode' => 'pages', 'target_id' => 0, 'module' => 'core', 'user_id' => $user_id, 'access_level' => $access_level)); ?>

47 <?php include_template('configuration/permissionsblock', array('base_id' => $base_id . 'configuration_permissions', 'permissions_list' => TBGContext::getAvailablePermissions('configuration'), 'mode' => 'configuration', 'target_id' => 0, 'module' => 'core', 'user_id' => $user_id, 'access_level' => $access_level)); ?>

48 <?php include_template('configuration/permissionsblock', array('base_id' => $base_id . 'project_page_permissions', 'permissions_list' => TBGContext::getAvailablePermissions('project_pages'), 'mode' => 'project_pages', 'target_id' => 0, 'module' => 'core', 'user_id' => $user_id, 'access_level' => $access_level)); ?>

54 <?php foreach (TBGContext::getModules() as $module_key => $module): ?>

55 <li>

56 <a href="javascript:void(0);" onclick="$('module_permission_details_<?php echo $module_key; ?>').toggle();"><?php echo image_tag('icon_project_permissions.png', array('style' => 'float: right;')); ?><?php echo $module->getLongName(); ?> <span class="faded_out smaller"><?php echo $module_key; ?></span></a>

57 <ul style="display: none;" id="module_permission_details_<?php echo $module_key; ?>">

68 <?php foreach (TBGProject::getAll() as $project): ?>

69 <li>

70 <a href="javascript:void(0);" onclick="$('project_permission_details_<?php echo $project->getID(); ?>').toggle();"><?php echo image_tag('icon_project_permissions.png', array('style' => 'float: right;')); ?><?php echo $project->getName(); ?> <span class="faded_out smaller"><?php echo $project->getKey(); ?></span></a>

71 <ul style="display: none;" id="project_permission_details_<?php echo $project->getID(); ?>">

Config.php (https://bitbucket.org/webpolis/liiv.git) PHP · 514 lines

1 <?php

2 /*

3 * CKFinder

21 * Include access control config class

22 */

23 require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";

24 /**

25 * Include resource type config class

26 */

27 require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";

28 /**

29 * Include thumbnails config class

30 */

31 require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";

32 /**

33 * Include thumbnails config class

Definition.php (https://gitlab.com/ElvisAns/tiki) PHP · 396 lines

1 <?php

2

3 // (c) Copyright by authors of the Tiki Wiki CMS Groupware Project

74 }

75

76 public function getConfiguration($key, $default = false)

77 {

78 return isset($this->trackerInfo[$key]) ? $this->trackerInfo[$key] : $default;

81 public function isEnabled($key)

82 {

83 return $this->getConfiguration($key) === 'y';

84 }

85

370

371 $attributelib = TikiLib::lib('attribute');

372 $attributes = $attributelib->get_attributes('tracker', $this->getConfiguration('trackerId'));

373

374 if (! isset($attributes['tiki.sync.provider'])) {

BuilderConfiguration.php (https://github.com/pmjones/php-framework-benchmarks.git) PHP · 396 lines

66 * Merges a BuilderConfiguration with the current one.

67 *

68 * @param BuilderConfiguration $configuration

69 *

70 * @return BuilderConfiguration The current instance

71 */

72 public function merge(BuilderConfiguration $configuration = null)

73 {

74 if (null === $configuration) {

80 $this->addParameters($configuration->getParameters());

81

82 foreach ($configuration->getResources() as $resource) {

83 $this->addResource($resource);

84 }

ee_mod_update_nginx.sh (https://gitlab.com/Blueprint-Marketing/easyengine) Shell · 129 lines

1 # Update NGINX configuration for $EE_DOMAIN

2

3 function ee_mod_update_nginx()

6 ee_lib_git /etc/nginx/ "Before ee site update: $EE_DOMAIN running on $EE_SITE_CURRENT_TYPE"

7

8 # Update NGINX configuration

9 ee_lib_echo "Updating $EE_DOMAIN, please wait..."

10

11 if [ -f /etc/nginx/sites-available/$EE_DOMAIN ]; then

12 # Find out current NGINX configuration header

13 ee_nginx_current_header=$(head -n1 /etc/nginx/sites-available/$EE_DOMAIN | grep "NGINX CONFIGURATION")

14

15 # Update NGINX configuration header

16 if [ "$EE_SITE_CREATE_OPTION" = "--html" ] || [ "$EE_SITE_CREATE_OPTION" = "--php" ] || [ "$EE_SITE_CREATE_OPTION" = "--mysql" ]; then

Collection.php (https://github.com/ggunlugu/ornekler.git) PHP · 612 lines

1 <?php

2 /**

3 *

9 /**

10 *

11 * Configuration values.

12 *

13 * @var array

memcached_library.php (https://github.com/tomschlick/memcached-library.git) PHP · 381 lines

1 <?php

2

3 if (!defined('BASEPATH')) {

49 Name: auto_connect

50 Purpose: runs through all of the servers defined in

51 the configuration and attempts to connect to each

52 @param return : none

53 +-------------------------------------+

field_ui.api.php (https://github.com/nicolasnm/divingbook.git) PHP · 204 lines

1 <?php

2

3 /**

142 * The view mode being configured.

143 * @param $form

144 * The (entire) configuration form array, which will usually have no use here.

145 * @param $form_state

146 * The form state of the (entire) configuration form.

Interface.php (https://github.com/sergey-gagarin/test02.git) PHP · 205 lines

1 <?php

2 /**

3 * PHP Version 5

16 * (_)(_) \/\/ (___/

17 *

18 * Amazon SQS PHP5 Library

19 * Generated: Wed Apr 08 20:15:38 PDT 2009

20 *

21 */

22 /**

23 * Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable hosted queue for storing messages as they travel between computers. By using Amazon SQS, developers can simply move data between distributed application components performing different tasks, without losing messages or requiring each component to be always available. Amazon SQS works by exposing Amazon's web-scale messaging infrastructure as a web service. Any computer on the Internet can add or read messages without any installed software or special firewall configurations. Components of applications using Amazon SQS can run independently, and do not need to be on the same network, developed with the same technologies, or running at the same time.

24 *

25 */

mc_enum_api.php (https://github.com/fusenigk/mantisbt-1.git) PHP · 322 lines

1 <?php

2 # MantisConnect - A webservice interface to Mantis Bug Tracker

3 # Copyright (C) 2004-2011 Victor Boctor - vboctor@users.sourceforge.net

208

209 /**

210 * Explode a configuration enumeration name into an array structure that can

211 * be safely converted into an ObjectRef structure.

212 *

291 * - id from objectref.

292 * - id corresponding to name in object ref.

293 * - default value for the specified enumeration, if exists in configuration.

294 * - first id, if object ref doesn't contain an id or a name.

295 *

296 * @param string $p_enum The name of the enumeration as in the MantisBT configuration file

297 * @param ObjectRef $p_object_ref An associate array with "id" and "name" keys.

298 * @return enum id

Program.cs (https://github.com/henrylu/SubSonic-3.0.git) C# · 187 lines

5 // License (the "License"); you may not use this file

6 // except in compliance with the License. You may obtain a copy of

7 // the License at http://www.opensource.org/licenses/bsd-license.php

8 //

9 // Software distributed under the License is distributed on an

20 using SubSonic.Tests.Linq.TestBases;

21 using SouthWind;

22 using System.Configuration;

23

24 namespace PerfRunner

26 public class Program

27 {

28 private static readonly IDataProvider mySqlProvider = ProviderFactory.GetProvider(TestConfiguration.MySqlTestConnectionString, DbClientTypeName.MySql);

29

30 private static readonly IDataProvider sql2005Provider = ProviderFactory.GetProvider(ConfigurationManager.ConnectionStrings["Northwind"].ConnectionString, DbClientTypeName.MsSql);

Serializer.php (https://github.com/nigeldaley/moodle.git) PHP · 191 lines

1 <?php

2

3 class HTMLPurifier_DefinitionCache_Serializer extends

65 /**

66 * Generates the file path to the serial file corresponding to

67 * the configuration and definition name

68 * @todo Make protected

69 */

171 $chmod = $chmod | 0070;

172 } else {

173 // PHP's probably running as nobody, so we'll

174 // need to give global permissions

175 $chmod = $chmod | 0777;

data_controller.php (https://github.com/markn86/moodle.git) PHP · 186 lines

1 <?php

2 // This file is part of Moodle - http://moodle.org/

3 //

170 if ($dataid = $this->get('id')) {

171 $context = $this->get_context();

172 $processed = file_rewrite_pluginfile_urls($value, 'pluginfile.php',

173 $context->id, 'customfield_textarea', 'value', $dataid);

174 $value = format_text($processed, $this->get('valueformat'), ['context' => $context]);

175 } else {

176 $fieldid = $this->get_field()->get('id');

177 $configcontext = $this->get_field()->get_handler()->get_configuration_context();

178 $processed = file_rewrite_pluginfile_urls($value, 'pluginfile.php',

Cloud.php (https://bitbucket.org/khuongduybui/openfisma.git) PHP · 410 lines

1 <?php

2 /**

3 * Zend Framework

24 * @see Zend_Tag_Item

25 */

26 // require_once 'Zend/Tag/Item.php';

27

28 /**

104 * Set options from array

105 *

106 * @param array $options Configuration for Zend_Tag_Cloud

107 * @return Zend_Tag_Cloud

108 */

151 $itemList[] = new Zend_Tag_Item($tag);

152 } else {

153 // require_once 'Zend/Tag/Cloud/Exception.php';

154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');

155 }

ProjectPersistenceManager.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 342 lines ✨ Summary

This Java code is part of a project viewer for a text editor, likely NetBeans. It provides functionality to save and load projects with custom node types, such as files, directories, and properties. The code handles XML serialization and deserialization, and allows users to add custom node handlers to extend the project viewer’s capabilities.

179

180 //{{{ +class _ProjectHandler_

181 /** Handler to read project configuration files. */

182 public static final class ProjectHandler extends DefaultHandler {

183

macro-index.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 410 lines

221 </para></abstract>

222 <para>

223 The macro includes configuration variables for using

224 different doclets for generating javadocs and for genreating

225 javadocs of the package of which the current buffer is a part.

NavHistoryPopup.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 415 lines ✨ Summary

This Java code is part of a text editor’s navigator component, responsible for displaying line numbers and syntax highlighted code snippets. It uses a custom CellRenderer to render each line in the navigator, which includes highlighting the line with proper syntax coloring based on the surrounding code. The renderer also displays additional information such as file paths and line numbers.

140 textArea.getLineStartOffset( caretLine );

141

142 Rectangle rect = view.getGraphicsConfiguration().getBounds();

143 Dimension d = getSize();

144 Point location = new Point( rect.x + ( rect.width - d.width ) / 2,

users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 406 lines

321

322 <para>

323 The configuration for the ProjectViewer plugin is now stored in XML format;

324 this makes it mandatory to have an XML parser available in the system. For

325 those using Java 1.3, you can dowload Crimson or Xerces from

333 available in the JRE 1.4 and the Xerces parser that comes with the XML

334 plugin for jEdit, due to some class loader issues. If you have such a

335 configuration, please install Xerces in the JDK/JRE extensions directory

336 (usually [path_to_jdk]/jre/lib/ext).

337 </para>

build.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 151 lines

106 Target: prepare

107 prepares certain files for distribution by doing string replacement.

108 Assumes that the configuration files and documentation files are ready.

109 ========================================================================= -->

110 <target name="prepare">

macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 966 lines

499 <para>

500 Startup scripts can perform initialization tasks that cannot be handled

501 by command line options or ordinary configuration options, such as

502 customizing jEdit's user interface by

503 changing entries in the Java platform's

ldm.c (http://omnia2droid.googlecode.com/svn/trunk/) C · 1552 lines ✨ Summary

This C code is part of a disk partitioning system, specifically designed to handle dynamic disks. It reads and parses data from a database stored on a device, creating partitions and devices as needed. The code checks for signs of a dynamic disk, validates the database contents, and creates the necessary partitions and devices.

316 *

317 * The privheads on disk show the size and location of the main disk area and

318 * the configuration area (the database). The values are range-checked against

319 * @hd, which contains the real size of the disk.

320 *

v3.4beta028.html (https://bitbucket.org/ultra_iter/qt-vtl.git) HTML · 146 lines

28 The following information is located here:

29 <UL>

30 <LI><A HREF="#configure">Changes in the software configuration</A>

31 <LI><A HREF="#libtiff">Changes in libtiff</A>

32 <LI><A HREF="#tools">Changes in the tools</A>

37 <P><HR WIDTH=65% ALIGN=right>

38

39 <A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>

40

41 <UL>

42 <LI>a <TT>-noninteractive</TT> flag was added to configure to

43 control whether or not it prints and prompts for configuration information

44 <LI>various typos and fixes were made in configure for the the

45 library-only build support (this and other configure fixes from

malloc.c (https://bitbucket.org/ultra_iter/qt-vtl.git) C · 5515 lines

840 options in mallopt. See below for details. Briefly, supported

841 parameters are as follows (listed defaults are for "typical"

842 configurations).

843

844 Symbol param # default allowed param values

yaml.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 84 lines

29 <!-- Useful for Symfony configuration files -->

30 <SPAN TYPE="MARKUP" DELEGATE="php::PHP">

31 <BEGIN>&lt;?php</BEGIN>

plugin-intro.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 132 lines

97 <listitem>

98 <para>Plugins may provide a range of options that the user can

99 modify to alter their configuration.</para>

100

101 <para>If a plugin provides configuration options in accordance with

111

112 <para>As noted, many of these features are optional; it is possible to write

113 a plugin that does not provide actions, configuration options, or dockable

114 windows. The majority of plugins, however, provide most of these

115 services.</para>

ExpandProperties.php (git://github.com/alexgorbatchev/SyntaxHighlighter.git) text · 0 lines

1 <?php

2

3 /*

4 * $Id: ExpandProperties.php 325 2007-12-20 15:44:58Z hans $

5 *

6 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

21 */

22

23 require_once 'phing/filters/BaseFilterReader.php';

24 include_once 'phing/filters/ChainableReader.php';

70 * Must not be <code>null</code>.

71 *

72 * @return object A new filter based on this configuration, but filtering

73 * the specified reader

74 */

target_name.gyp (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 19 lines

6 'targets': [

7 {

8 'target_name': 'configurations',

9 'type': 'none',

10 'configurations': {

netx_defconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 925 lines

241

242 #

243 # IP: Virtual Server Configuration

244 #

245 # CONFIG_IP_VS is not set

257

258 #

259 # Core Netfilter Configuration

260 #

261 # CONFIG_NETFILTER_NETLINK is not set

263

264 #

265 # IP: Netfilter Configuration

266 #

267 CONFIG_IP_NF_CONNTRACK=m

config.lasso (http://rorptm.googlecode.com/svn/trunk/) Unknown · 61 lines

5 *

6 * Licensed under the terms of the GNU Lesser General Public License:

7 * http://www.opensource.org/licenses/lgpl-license.php

8 *

9 * For further information visit:

13 *

14 * File Name: config.lasso

15 * Configuration file for the File Manager Connector for Lasso.

16 *

17 * File Authors:

53 ),

54 'DeniedExtensions' = map(

55 'File' = array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp'),

56 'Image' = array(),

57 'Flash' = array(),

SaveMetaTargetDialog.java (https://bitbucket.org/nbargnesi/idea.git) Java · 153 lines

38 private JTextField myTfName;

39 private final ExecuteCompositeTargetEvent myInitialEvent;

40 private final AntConfigurationBase myAntConfiguration;

41 private final AntBuildFile myBuildFile;

42

43 public SaveMetaTargetDialog(final Component parent,

44 final ExecuteCompositeTargetEvent event,

45 final AntConfigurationBase antConfiguration,

46 final AntBuildFile buildFile) {

47 super(parent, true);

48 myInitialEvent = event;

49 myAntConfiguration = antConfiguration;

50 myBuildFile = buildFile;

51 setModal(true);

ip_vs_core.c (http://omnia2droid.googlecode.com/svn/trunk/) C · 1543 lines ✨ Summary

This C code implements IP Virtual Server (IPVS), a Linux kernel module that provides advanced network load balancing and traffic management features. It sets up various components, including connection tracking, application helpers, protocols, and control interfaces, to manage incoming network connections and distribute them across multiple servers. The module registers hooks with the netfilter framework to integrate with other networking components.

391 IP_VS_ERR("Schedule: port zero only supported "

392 "in persistent services, "

393 "check your ipvs configuration\n");

394 return NULL;

395 }

Kconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 135 lines

1 #

2 # Configuration for initramfs

3 #

4

jedit.1 (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 163 lines

66 as file names, even if they begin with a dash.

67

68 .SH CONFIGURATION OPTIONS

69

70 .TP

157

158 .SH BUGS

159 See http://www.jEdit.org/index.php?page=feedback for bug reporting information.

160

161 .SH WEB

SqlPlugin.props (https://jedit.svn.sourceforge.net/svnroot/jedit) MSBuild · 172 lines

46

47 ### Properties for use by this plugin

48 sql.serverconfig.title=SQL Server Configuration

49 options.sql.serverconfig.label=SQL Server Configuration

50 options.sql.serverconfig.code=new sql.options.ServersOptionPane(projectviewer.config.ProjectOptions.getProject());

51 sql.config.label=Connection configuration

52

53 options.sql.servers.label=Servers

96 sql.publishErr.message={0} {1} was published on {2} with {3} errors.

97

98 sql.configurationError.title=Configuration Error

99 sql.configurationError.message=Invalid input:\n {0}

134 sql.resultSet.popup.showHideColumnsMenu.showAll.label=Show All

135

136 sql.illegalName=The name of the database configuration must be without white space

137 sql.emptyName=The name of the database configuration must be non-empty

config_generator.rb (git://github.com/jnunemaker/mongomapper.git) Ruby · 36 lines ✨ Summary

This Ruby code defines a Rails generator for creating a MongoMapper configuration file at config/mongo.yml. It takes an optional database_name argument and uses the application name to populate the configuration file. The generator uses templates from a templates directory to create the file, and it can be run using the Rails console or as part of a build process.

4 module Generators

5 class ConfigGenerator < Rails::Generators::Base

6 desc 'creates the MongoMapper configuration at config/mongo.yml'

7

8 argument :database_name, :type => :string, :optional => true

ftgl_static_lib.vcproj (http://angel-engine.googlecode.com/svn/trunk/) MSBuild · 1324 lines

15 <ToolFiles>

16 </ToolFiles>

17 <Configurations>

18 <Configuration

20 OutputDirectory=".\Debug_MT"

21 IntermediateDirectory=".\Debug_MT"

22 ConfigurationType="4"

23 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"

24 UseOfMFC="0"

90 Name="VCPostBuildEventTool"

91 />

92 </Configuration>

93 <Configuration

95 OutputDirectory=".\Release_MT"

96 IntermediateDirectory=".\Release_MT"

97 ConfigurationType="4"

98 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"

99 UseOfMFC="0"

ftgl_dll.dsp (http://angel-engine.googlecode.com/svn/trunk/) Unknown · 358 lines

11 !MESSAGE NMAKE /f "ftgl_dll.mak".

12 !MESSAGE

13 !MESSAGE You can specify a configuration when running NMAKE

14 !MESSAGE by defining the macro CFG on the command line. For example:

15 !MESSAGE

16 !MESSAGE NMAKE /f "ftgl_dll.mak" CFG="ftgl_dll - Win32 Debug"

17 !MESSAGE

18 !MESSAGE Possible choices for configuration are:

19 !MESSAGE

20 !MESSAGE "ftgl_dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")

unit_tests.dsp (http://angel-engine.googlecode.com/svn/trunk/) Unknown · 169 lines

11 !MESSAGE NMAKE /f "unit_tests.mak".

12 !MESSAGE

13 !MESSAGE You can specify a configuration when running NMAKE

14 !MESSAGE by defining the macro CFG on the command line. For example:

15 !MESSAGE

16 !MESSAGE NMAKE /f "unit_tests.mak" CFG="unit_tests - Win32 Debug"

17 !MESSAGE

18 !MESSAGE Possible choices for configuration are:

19 !MESSAGE

20 !MESSAGE "unit_tests - Win32 Release" (based on "Win32 (x86) Console Application")

LogDemo.html (http://emite.googlecode.com/svn/trunk/) HTML · 33 lines ✨ Summary

This HTML code creates a simple web page that demonstrates the use of the EmiteJS library for XMPP logging. When the “Run log demo” button is clicked, it logs a message to the console and attempts to login to an XMPP server using the provided credentials. The logged output is displayed on the webpage in a div element with the id “log”.

6 <script src="com.calclab.emite.js.EmiteJS.nocache.js"></script>

7

8 <!-- Emite connection configuration -->

9 <meta id="emite.httpBase" content="/com.calclab.emite.js.EmiteJS/proxy" />

10 <meta id="emite.host" content="localhost" />

system_msvc.sln (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines

26 EndProject

27 Global

28 GlobalSection(SolutionConfigurationPlatforms) = preSolution

29 Debug|Win32 = Debug|Win32

30 Release|Win32 = Release|Win32

31 EndGlobalSection

32 GlobalSection(ProjectConfigurationPlatforms) = postSolution

33 {81960557-E9A9-4E81-AC96-9E11C33CB058}.Debug|Win32.ActiveCfg = Debug|Win32

34 {81960557-E9A9-4E81-AC96-9E11C33CB058}.Debug|Win32.Build.0 = Debug|Win32

Preview_Javadoc_of_Buffer.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 609 lines

9 * - Includes the ability to use the Bouvard Doclet.

10 * Visit

11 * http://community.jedit.org/modules.php?

12 * op=modload&name=web_links&file=index&req=viewlink&cid=6

13 * for the Bouvard link

596 </para></abstract>

597 <para>

598 The macro includes configuration variables for using

599 different doclets for generating javadocs and for genreating

600 javadocs of the package of which the current buffer is a part.

README (https://bitbucket.org/ultra_iter/qt-vtl.git) Unknown · 17 lines

3

4 This is a little tool to generate lexical scanners from a rather simplistic

5 configuration file. We use it internally in Qt to generate the scanner for the

6 CSS parser that is built into the toolkit (used for the widget styling and the

7 HTML import into QTextDocument).

lua.swg (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 207 lines

5 * lua.swg

6 *

7 * SWIG Configuration File for Lua.

8 * This file is parsed by SWIG before reading any other interface file.

9 * ----------------------------------------------------------------------------- */

qsslsocket_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 183 lines

59 #include <private/qtcpsocket_p.h>

60 #include "qsslkey.h"

61 #include "qsslconfiguration_p.h"

62

63 #include <QtCore/qstringlist.h>

109 bool* readyReadEmittedPointer;

110

111 QSslConfigurationPrivate configuration;

112 QList<QSslError> sslErrors;

113

OldConfigLoader.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 256 lines ✨ Summary

This Java code is an OldConfigLoader class that loads old configuration data from files into a new virtual-tree object style. It converts old project configurations to the new format, allowing for compatibility with newer versions of the application. The loader reads properties files and directories, parsing them into VPTProject objects, which are then added to a ProjectManager instance.

65

66 //{{{ load(ProjectManager) method

67 /** Loads the old configuration data into the new object style. */

68 public static void load(ProjectManager manager) throws IOException {

69 File oldPropsFile = new File(ProjectPlugin.getResourcePath(OLD_CONFIG_FILE));

stopping.html.en (git://github.com/apache/httpd.git) Unknown · 264 lines

107 the parent process to <em>advise</em> the children to exit after

108 their current request (or to exit immediately if they're not

109 serving anything). The parent re-reads its configuration files and

110 re-opens its log files. As each child dies off the parent replaces

111 it with a child from the new <em>generation</em> of the

112 configuration, which begins serving new requests immediately.</p>

113

114 <p>This code is designed to always respect the process control

149 <div class="note">

150 <p>When you issue a restart, a syntax check is first run, to

151 ensure that there are no errors in the configuration files.

152 If your configuration file has errors in it, you will get an

157 <p>This still will not

158 guarantee that the server will restart correctly. To check the

159 semantics of the configuration files as well as the syntax, you

160 can try starting <code class="program"><a href="./programs/httpd.html">httpd</a></code> as a non-root user. If there

161 are no errors it will attempt to open its sockets and logs and fail

faq-use.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 715 lines

334

335 <answer>

336 <para>Using jEdit's default configuration, you can indent a

337 selection of text by pressing <keycombo action="simul">

338 <keycap>ALT</keycap>

AssemblyInfo.cs (http://paint-mono.googlecode.com/svn/trunk/) C# · 66 lines ✨ Summary

This C# code defines metadata for an assembly, specifically a Mono Paint setup front-end application. It provides information about the assembly’s title, description, company, and copyright details. The AssemblyVersion is set to 3.0 with default values for build and revision numbers. Assembly signing options are also specified, including key file and name settings.

55 // When specifying the KeyFile, the location of the KeyFile should be

56 // relative to the project output directory which is

57 // %Project Directory%\obj\<configuration>. For example, if your KeyFile is

58 // located in the project directory, you would specify the AssemblyKeyFile

59 // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]

ttpost.c (https://bitbucket.org/ultra_iter/qt-vtl.git) C · 522 lines

45

46

47 /* If this configuration macro is defined, we rely on the `PSNames' */

48 /* module to grab the glyph names. */

49

FacetFinderImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 149 lines

136 }

137

138 public void facetConfigurationChanged(final F facet) {

139 myModificationCount++;

140 }

users-guide.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 711 lines

170 <!-- INSTALLATION -->

171 <section id="install">

172 <title>Installation and Configuration</title>

173

174 <section id="install-aspell">

604 available from jedit repository. The documentation is generated using docbook xsl.

605 </para>

606 <para>Some tests are included. They are based upon <ulink url="http://fest.easytesting.org/swing/wiki/pmwiki.php">FEST-swing</ulink>

607 for GUI testing. Otherwise they are plain <ulink url="http://www.junit.org/">jUnit</ulink> tests.

608 To run the tests, <command>cd</command> to the plugin root directory and type <command>ant test</command>.

template_js_patch.txt (https://bitbucket.org/Tsiannian/cocos2d-x.git) Plain Text · 23 lines

2 <dict>

3

4 <key>Configurations</key>

5 <dict>

6 <key>Debug</key>

adm1025 (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 52 lines

37 input, or as the a fifth digital entry for the VID reading (bit 4). It's

38 kind of strange since both are useful, and the reason for designing the

39 chip that way is obscure at least to me. The bit 5 of the configuration

40 register can be used to define how the chip is hardwired. Please note that

41 it is not a choice you have to make as the user. The choice was already

42 made by your motherboard's maker. If the configuration bit isn't set

43 properly, you'll have a wrong +12V reading or a wrong VID reading. The way

44 the driver handles that is to preserve this bit through the initialization

tst_qsslsocket.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 2054 lines

348 QVERIFY(socket.atEnd());

349 QCOMPARE(socket.localCertificate(), QSslCertificate());

350 QCOMPARE(socket.sslConfiguration(), QSslConfiguration::defaultConfiguration());

351 QCOMPARE(socket.errorString(), QString("Unknown error"));

352 char c = '\0';

395 QCOMPARE(socket.protocol(), QSsl::SecureProtocols);

396

397 QSslConfiguration savedDefault = QSslConfiguration::defaultConfiguration();

398

399 // verify that changing the default config doesn't affect this socket

407

408 // verify the default as well:

409 QVERIFY(QSslConfiguration::defaultConfiguration().caCertificates().isEmpty());

410 QVERIFY(QSslConfiguration::defaultConfiguration().ciphers().isEmpty());

411

412 QSslConfiguration::setDefaultConfiguration(savedDefault);

413 }

414

LICENSE-2.0.txt (https://bitbucket.org/nbargnesi/idea.git) Plain Text · 202 lines

27 "Source" form shall mean the preferred form for making modifications,

28 including but not limited to software source code, documentation

29 source, and configuration files.

30

31 "Object" form shall mean any form resulting from mechanical

help.html (https://jedit.svn.sourceforge.net/svnroot/jedit) HTML · 188 lines ✨ Summary

This HTML code outputs a documentation page for a spell checking plugin for the Java-based text editor jEdit. It provides information on how to build and use the plugin, its features, current bugs and todo list, as well as release history. The content is written in a formal tone, suggesting that it is intended for technical users or developers who want to learn about the plugin’s functionality and development process.

37

38

39 <h2>Installation and Configuration</h2>

40

41 <ul>

rt28xx.h (http://photon-android.googlecode.com/svn/) C++ Header · 1689 lines ✨ Summary

This C++ header file defines a set of unions to represent various registers and configurations for a wireless communication device, likely a WiMAX or LTE modem. It provides a way to access and manipulate these registers using a uniform interface, allowing developers to write device-specific code that interacts with the hardware. The unions define different data types and bit layouts for each register, enabling flexible and platform-agnostic programming.

319 //

320 //

321 // 4.1 MAC SYSTEM configuration registers (offset:0x1000)

322 //

323 #define MAC_CSR0 0x1000

445

446 //

447 // 4.2 MAC TIMING configuration registers (offset:0x1100)

448 //

449 #define XIFS_TIME_CFG 0x1100 // MAC_CSR8 MAC_CSR9

494 #define CH_BUSY_STA 0x1134 // channle busy time

495 //

496 // 4.2 MAC POWER configuration registers (offset:0x1200)

497 //

498 #define MAC_STATUS_CFG 0x1200 // old MAC_CSR12

org-capture.el (git://github.com/jwiegley/org-mode.git) Emacs Lisp · 1833 lines ✨ Summary

This Emacs Lisp code defines a function org-capture that captures user input and expands embedded elisp expressions, replaces capture link keywords with their corresponding values, and imports templates from an old “remember” system into the current org-capture system. It also provides an interactive function org-capture-import-remember-templates to import these templates.

135

136 (file+headline \"path/to/file\" \"node headline\")

137 Fast configuration if the target heading is unique in the file

138

139 (file+olp \"path/to/file\" \"Level 1 heading\" \"Level 2\" ...)

579 :annotation annotation

580 :initial initial

581 :return-to-wconf (current-window-configuration)

582 :default-time

583 (or org-overriding-default-time

601 (string-match "\\`CAPTURE-" (buffer-name)))

602 (kill-buffer (current-buffer)))

603 (set-window-configuration (org-capture-get :return-to-wconf))

604 (error "Capture template `%s': %s"

605 (org-capture-get :key)

OperatingSystem.java (https://jedit.svn.sourceforge.net/svnroot/jedit) Java · 362 lines ✨ Summary

This Java code defines a class that determines the operating system and Java version of the running application. It uses various methods to detect the OS, including checking system properties and file separators. The detected values are stored in instance variables for later use. The class can be used to customize behavior based on the detected environment.

26 package org.gjt.sp.jedit;

27

28 import java.awt.GraphicsConfiguration;

29 import java.awt.GraphicsDevice;

30 import java.awt.GraphicsEnvironment;

102 for (Enumeration e = intersects.elements(); e.hasMoreElements();)

103 {

104 GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement();

105 if (gcc.getBounds().equals(gc.getBounds()))

106 break;

116 for (Enumeration e = intersects.elements(); e.hasMoreElements();)

117 {

118 GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement();

119 if (choice == null)

120 choice = gcc;

neponset_defconfig (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 1143 lines

440

441 #

442 # SCTP Configuration (EXPERIMENTAL)

443 #

444 # CONFIG_IP_SCTP is not set

781

782 #

783 # Logo configuration

784 #

785 # CONFIG_LOGO is not set

aclocal.m4 (https://bitbucket.org/freebsd/freebsd-head/) m4 · 905 lines ✨ Summary

This M4 code is a collection of configuration and build scripts for a C library, likely the GNU Binutils. It sets up various macros and functions for building and testing the library, including support for different tar formats, gettext, and other dependencies. The script also includes several external M4 files that provide additional functionality.

75 # Another solution, used here, is to always expand $ac_aux_dir to an

76 # absolute PATH. The drawback is that using absolute paths prevent a

77 # configured tree to be moved without reconfiguration.

78

79 AC_DEFUN([AM_AUX_DIR_EXPAND],

core_cia.h (http://photon-android.googlecode.com/svn/) C++ Header · 501 lines ✨ Summary

This C++ header file provides a set of functions and macros for interacting with the Alpha CPU’s CIA (Central Interface Architecture) bus. It defines a set of I/O operations, including reading and writing to memory-mapped I/O ports, as well as mapping and unmapping I/O regions. The code is designed to work on the Alpha processor, specifically in kernel mode.

166

167 /*

168 * 21171-CA System configuration registers

169 */

170 #define CIA_IOC_MCR (IDENT_ADDR + 0x8750000000UL)

Propagation.java (http://mycila.googlecode.com/svn/) Java · 91 lines ✨ Summary

This Java code defines an enumeration called Propagation that represents different transaction propagation behaviors for use with a Transactional annotation. It provides six values: REQUIRED, SUPPORTS, MANDATORY, REQUIRES_NEW, NOT_SUPPORTED, and NEVER, each describing how to handle transactions in various scenarios.

42 * As a consequence, the same resources (JDBC Connection, Hibernate Session, etc)

43 * will be shared for the entire specified scope. Note that this depends on

44 * the actual synchronization configuration of the transaction manager.

45 */

46 SUPPORTS,

KmlDataServlet.java (http://sigma-h.googlecode.com/svn/trunk/) Java · 262 lines ✨ Summary

This Java code serves a KML (Google Earth) file containing locations of activities visible to a user, authenticated using Basic HTTP authentication. It retrieves site data from the database based on the user’s permissions and generates a KML document with activity information, including location names, descriptions, and indicator values.

32 import javax.servlet.http.HttpServletRequest;

33 import javax.servlet.http.HttpServletResponse;

34 import javax.xml.transform.TransformerConfigurationException;

35 import javax.xml.transform.stream.StreamResult;

36 import java.io.IOException;

78 writeDocument(user, res.getWriter());

79

80 } catch (TransformerConfigurationException e) {

81 e.printStackTrace();

82 } catch (SAXException e) {

130 }

131

132 protected void writeDocument(User user, PrintWriter out) throws TransformerConfigurationException, SAXException, CommandException {

133

134 // TODO: rewrite using FreeMarker

Forum.cshtml (https://hg01.codeplex.com/nopcommerce) Razor · 232 lines ✨ Summary

This Razor code generates a table with various settings for a forum or discussion board, allowing administrators to configure and customize its features. The table displays checkboxes for each setting, along with dropdown menus and text input fields where necessary, enabling administrators to toggle on/off specific features and adjust their values.

3 @{

4 //page title

5 ViewBag.Title = T("Admin.Configuration.Settings.Forums").Text;

6 }

7 @using (Html.BeginForm())

9 <div class="section-header">

10 <div class="title">

11 <img src="@Url.Content("~/Administration/Content/images/ico-configuration.png")" alt="" />

12 @T("Admin.Configuration.Settings.Forums")

16 </div>

17 </div>

18 @Html.Action("StoreScopeConfiguration", "Setting")

19 @Html.ValidationSummary(false)

20 <table class="adminContent">

21 <tr>

22 <td class="adminTitle">

23 @Html.OverrideStoreCheckboxFor(model => model.ForumsEnabled_OverrideForStore, model => model.ForumsEnabled, Model.ActiveStoreScopeConfiguration)

24 @Html.NopLabelFor(model => model.ForumsEnabled):

25 </td>

AssemblyInfo.cs (git://github.com/richhickey/clojure-clr.git) C# · 36 lines ✨ Summary

This C# code defines metadata for an assembly, providing information about its title, company, and version number. It also specifies settings for COM visibility and provides a GUID for the typelib if the project is exposed to COM. The AssemblyVersion and AssemblyFileVersion values define the assembly’s version numbers.

8 [assembly: AssemblyTitle("Clojure.Tests")]

9 [assembly: AssemblyDescription("")]

10 [assembly: AssemblyConfiguration("")]

11 [assembly: AssemblyCompany("")]

12 [assembly: AssemblyProduct("Clojure.Tests")]

pom.xml (http://mycila.googlecode.com/svn/) XML · 261 lines

102 <plugin>

103 <artifactId>maven-compiler-plugin</artifactId>

104 <configuration>

105 <source>${jdk.version}</source>

106 <target>${jdk.version}</target>

107 </configuration>

108 </plugin>

109 <plugin>

125 <goal>process</goal>

126 </goals>

127 <configuration>

128 <resourceBundles>

129 <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>

ngx_http_ajp_module.c (git://github.com/yaoweibin/nginx_ajp_module.git) C · 1071 lines ✨ Summary

This C code is part of an Nginx module for handling AJP (Apache Jserv Protocol) connections. It processes configuration options and initializes various data structures, such as cache zones and hash tables, to manage AJP requests. The code also sets up functions for hiding headers in responses and intercepting errors. Its purpose is to enable AJP protocol support in Nginx web servers.

347

348 static ngx_http_module_t ngx_http_ajp_module_ctx = {

349 NULL, /* preconfiguration */

350 NULL, /* postconfiguration */

351

352 NULL, /* create main configuration */

353 NULL, /* init main configuration */

354

355 NULL, /* create server configuration */

356 NULL, /* merge server configuration */

357

358 ngx_http_ajp_create_loc_conf, /* create location configuration */

359 ngx_http_ajp_merge_loc_conf /* merge location configuration */

example.dsp (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 155 lines

11 !MESSAGE NMAKE /f "example.mak".

12 !MESSAGE

13 !MESSAGE You can specify a configuration when running NMAKE

14 !MESSAGE by defining the macro CFG on the command line. For example:

15 !MESSAGE

16 !MESSAGE NMAKE /f "example.mak" CFG="example - Win32 Release"

17 !MESSAGE

18 !MESSAGE Possible choices for configuration are:

19 !MESSAGE

20 !MESSAGE "example - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")

inode.c (http://photon-android.googlecode.com/svn/) C · 2152 lines ✨ Summary

This C code implements a Linux kernel module that provides a file system called “gadgetfs”. It allows users to interact with USB gadgets, such as devices and controllers, in a standardized way. The module registers a file system type with the kernel and provides functions for mounting, unmounting, and manipulating gadget-related files and directories.

57 *

58 * - First, dev_config() is called when /dev/gadget/$CHIP is configured

59 * (by writing configuration and device descriptors). Afterwards it

60 * may serve as a source of device events, used to handle all control

61 * requests other than basic enumeration.

62 *

63 * - Then, after a SET_CONFIGURATION control request, ep_config() is

64 * called when each /dev/gadget/ep* file is configured (by writing

65 * endpoint descriptors). Afterwards these files are used to write()

240

241 /* NOTE: don't use dev_printk calls before binding to the gadget

242 * at the end of ep0 configuration, or after unbind.

243 */

244

TwitterAlikeExample.html (http://redis.googlecode.com/svn/trunk/) HTML · 253 lines ✨ Summary

This HTML code outputs a blog post about Redis, a popular in-memory data store. The content explains how to implement a Twitter-like clone using Redis, including setting up followers and posting messages. It also discusses horizontal scaling of the system, including hashing keys, distributing user data across servers, and handling special cases like incrementing IDs and retrieving timeline data.

17 <div class="index">

18 <!-- This is a (PRE) block. Make sure it's left aligned or your toc title will be off. -->

19 <b>TwitterAlikeExample: Contents</b><br>&nbsp;&nbsp;<a href="#A case study: Design and implementation of a simple Twitter clone using only the Redis key-value store as database and PHP">A case study: Design and implementation of a simple Twitter clone using only the Redis key-value store as database and PHP</a><br>&nbsp;&nbsp;<a href="#Key-value stores basics">Key-value stores basics</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Atomic operations">Atomic operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Beyond key-value stores">Beyond key-value stores</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#The set data type">The set data type</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Prerequisites">Prerequisites</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Data layout">Data layout</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Following, followers and updates">Following, followers and updates</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Authentication">Authentication</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Updates">Updates</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Paginating updates">Paginating updates</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Following users">Following users</a><br>&nbsp;&nbsp;<a href="#Making it horizontally scalable">Making it horizontally scalable</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Hashing the key">Hashing the key</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#Special keys">Special keys</a>

20 </div>

21

27

28 <div class="narrow">

29 <h1><a name="A case study: Design and implementation of a simple Twitter clone using only the Redis key-value store as database and PHP">A case study: Design and implementation of a simple Twitter clone using only the Redis key-value store as database and PHP</a></h1>In this article I'll explain the design and the implementation of a <a href="http://retwis.antirez.com" target="_blank">simple clone of Twitter</a> written using PHP and <a href="http://code.google.com/p/redis/" target="_blank">Redis</a> as only database. The programming community uses to look at key-value stores like special databases that can't be used as drop in replacement for a relational database for the development of web applications. This article will try to prove the contrary.<br/><br/>Our Twitter clone, <a href="http://retwis.antirez.com" target="_blank">called Retwis</a>, is structurally simple, has very good performances, and can be distributed among N web servers and M Redis servers with very little efforts. You can find the source code <a href="http://code.google.com/p/redis/downloads/list" target="_blank">here</a>.<br/><br/>We use PHP for the example since it can be read by everybody. The same (or... much better) results can be obtained using Ruby, Python, Erlang, and so on.

30 <h1><a name="Key-value stores basics">Key-value stores basics</a></h1>

31 The essence of a key-value store is the ability to store some data, called <i>value</i>, inside a key. This data can later be retrieved only if we know the exact key used to store it. There is no way to search something by value. So for example I can use the command SET to store the value <b>bar</b> at key <b>foo</b>:<br/><br/><pre class="codeblock python" name="code">

79 </pre>Ok I think we are ready to start coding!

80 <h2><a name="Prerequisites">Prerequisites</a></h2>

81 If you didn't download it already please <a href="http://code.google.com/p/redis/wiki/README" target="_blank">grab the source code of Retwis</a>. It's a simple tar.gz file with a few of .php files inside. The implementation is very simple. You will find the PHP library client inside (redis.php) that is used to talk with the Redis server from PHP. This library was written by <a href="http://qix.it" target="_blank">Ludovico Magnocavallo</a> and you are free to reuse this in your own projects, but for updated version of the library please download the Redis distribution.<br/><br/>Another thing you probably want is a working Redis server. Just get the source, compile with make, and run with ./redis-server and you are done. No configuration is required at all in order to play with it or to run Retwis in your computer.

82 <h2><a name="Data layout">Data layout</a></h2>

83 Working with a relational database this is the stage were the database layout should be produced in form of tables, indexes, and so on. We don't have tables, so what should be designed? We need to identify what keys are needed to represent our objects and what kind of values this keys need to hold.<br/><br/>Let's start from Users. We need to represent this users of course, with the username, userid, password, followers and following users, and so on. The first question is, what should identify an user inside our system? The username can be a good idea since it is unique, but it is also too big, and we want to stay low on memory. So like if our DB was a relational one we can associate an unique ID to every user. Every other reference to this user will be done by id. That's very simple to do, because we have our atomic INCR operation! When we create a new user we can do something like this, assuming the user is callled &quot;antirez&quot;:<br/><br/><pre class="codeblock python python python python python python python python python python python python" name="code">

setup.c (http://photon-android.googlecode.com/svn/) C · 535 lines ✨ Summary

This C code initializes and configures various components of a Linux system running on an m68k processor, such as setting up memory management, floating-point unit emulation, and hardware detection. It also sets up process-related functionality, including a “hardware” proc file that displays information about the system’s hardware configuration. Additionally, it enables ADB (Android Debug Bridge) synchronization.

322 #endif

323 default:

324 panic("No configuration setup");

325 }

326

perform_mutate_job.rb (https://code.google.com/p/google-api-ads-ruby/) Ruby · 152 lines ✨ Summary

This Ruby script performs an asynchronous request to create a new job using the MutateJobService API. It creates multiple placement operations, submits the job, and then polls for its status until it’s completed. If the job fails, it raises an error with the reason. The script also handles HTTP and API errors that may occur during the process.

38

39 # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in

40 # the configuration file or provide your own logger:

41 # adwords.logger = Logger.new('adwords_xml.log')

42