Scaffold Documentation
|
|
- Erica Shaw
- 6 years ago
- Views:
Transcription
1 Scaffold Documentation Release 1.1 Alin Eugen Deac Oct 29, 2017
2
3 Contents 1 Contents How to Install Install Scaffolds Create Scaffolds Release Notes Indices i
4 ii
5 How many times have you been doing the same task, over and over again? Maybe it s time for you to create some kind of helper that can perform that task for you. Perhaps this tool might be able to help you along the way. Scaffold is a php-based command line tool for creating and installing various files and directories into your project, based on a configuration file (scaffold). Key features Create desired directory structure Copy static files into desired location Ask user for input Generate files based on templates, compiled with data from the user In other words, you can perceive this tool as a console wizzard for installing something inside your project. Source is available on GitHub. Contents 1
6 2 Contents
7 CHAPTER 1 Contents The basics How to Install Requirements php version > composer This package uses composer. If you do not know what that is or how it works, I recommend that you read a little about, before attempting to use this package. Other than this, you scaffold application requires read / write access to the directories where you use it. Normally this isn t a problem. However if you run into these kinds of issues, please review your PHP s access privileges. Local Installation The Scaffold application is intended as a development tool, which is why it should be required via composer as a development dependency. composer require aedart/scaffold --dev Global Installation A global installation allows you to use the scaffold application everywhere. composer global require aedart/scaffold 3
8 Warning: If you have other packages installed globally, their dependencies might conflict. You can perhaps resolves this by making use of Consolidation/Cgr, which safely installs each command line tool application in it s own directory. How to use scaffolds Install Scaffolds Require Scaffold Regardless if you are within a new project or existing, you must first require your desired scaffold(s). This is done via composer s require command or by specifying it in your composer.json. composer require acme/scaffolds { } "name": "acme/my-project", "description": "My Proejct", "license": "BSD-3-Clause", "type": "library", "require": { "acme/scaffolds": "~1.0" }, Global Scaffolds If you have chosen to require your scaffold(s) globally, then they should already be available and there is no need for you to perform this. Install Scaffold Install Command The easiest way to install a your desired scaffold, is by invoking the install command vendor/bin/scaffold install This command will automatically create an index of all the found scaffolds and start displaying a list of vendors, packages and scaffolds you can chose to install. It should output something similar to this; Building index ==============! [NOTE] Building new index (.scaffold/index.json) Searching in /home/code/my-project/vendor! [NOTE] Indexing /home/code/my-project/vendor/acme/scaffolds/my-scaffold.scaffold. php 4 Chapter 1. Contents
9 Searching in /home/.composer/vendor! [NOTE] No scaffolds found in /home/.composer/vendor [OK] Indexing completed Install... ========== Please select a vendor: [0] acme > Tip: The install command supports several options. See command help for additional information. vendor/bin/scaffold install -h Build Command If you wish to skip the install procedure (listing of vendors, packages... etc), then you can use the build command to specify your desired scaffold directly. vendor/bin/scaffold build other/location/my-scaffold.scaffold.php Build From File Command Sometimes it can be useful to automate the building process. For instance, if you want to build several scaffolds at once, then you can use the build:file command. vendor/bin/scaffold build:file location/scaffoldstobuild.php The command accepts a single argument, file, which is a location to a php file that contains a list of scaffolds to be built. In other words, this command allows you to build multiple scaffolds in one and the same process. File Format The following illustrates the format that the build:file command accepts. [ // Location to scaffold 'location' => DIR. '/MyModel.scaffold.php', // Input (answers to questions) for that scaffold 'input' => [ 1.2. Install Scaffolds 5
10 [ [ ] 'AEDART/a' 'location' => DIR. '/MyController.scaffold.php', 'input' => [ 'Acme/b' ] 'location' => DIR. '/MyView.scaffold.php', 'input' => [ 'Punk/c' ] Output Location By default, bot the install and the build commands will output the resulting files and directories into the current working directory, form where you invoked the command. This behaviour can be modified by providing the commands with an optional output directory vendor/bin/scaffold install -o path/where/to/install/ vendor/bin/scaffold build -o path/where/to/install/ other/location/my-scaffold. scaffold.php Create your own Create Scaffolds Location The first thing you need to consider is, where to place your scaffold files. Regardless of your choice, I recommend that you use a version control system! Note: Make sure that the scaffold application is available a development dependency. See How to Install New Project The safest options is to create a new repository in which you only have to deal with the scaffold and it s resources. Doing so allows you to focus mainly on the structure of the scaffold and there is little risk for you to interfere with existing files. 6 Chapter 1. Contents
11 Tip: If you are new to using this application, then I recommend that you start off by creating scaffolds in a separate project. Existing Project Alternatively, you can also create scaffolds directly into existing projects. This does have the benefit of having a tight coupling between your project and associated scaffolds. However, be sure of what you are doing, as it is the nature of this application to write files! Location of (*).scaffold.php The *.scaffold.php file is covered in the upcoming chapters. For now, you just need to ensure that it is located in the project s root directory, at the same level as your composer.json. The reason why the scaffold configuration file (*.scaffold.php) needs to be located here, is due to the indexing performed by the application. By default, it will search for scaffolds inside the local vendor directory, searching each package s root directory only! Blank Scaffold To create a blank scaffold, execute the following command; vendor/bin/scaffold install -a Select the Blank Scaffold (aedart/scaffold) scaffold to be installed and follow the onscreen guide. Once completed, you should have a new empty *.scaffold.php file and a resources directory. (*).scaffold.php The *.scaffold.php file is the configuration file (a php array) that the scaffold application will read and execute upon installation. In short, it determines what will happen when an end-user installs it. 'name' 'description' => 'My Scaffold', => 'Creates cool stuff', 'basepath' => DIR. '/resources/', 'tasks' => [ 'folders' => [ 'files' => [ 'templatedata' => [ 'templates' => [ 1.3. Create Scaffolds 7
12 'scripts' => [ 'handlers' => [ In the following sections, each of the above properties is covered in detail. Name required yes Name of the Scaffold. The name is displayed in the list of available templates, when the install command is invoked. 'name' => 'My Scaffold', Description required yes Description of the scaffold. The description is displayed in the list of available templates, when the install command is invoked. 'description' => 'Creates a few things...', BasePath required yes Location of scaffold s resources, e.g. static files and templates. This path tells the scaffold where it can find it s resource, from which it can build and install one or several folders, files and or templates. 'basepath' => DIR. '/resources/', 8 Chapter 1. Contents
13 Tasks required yes An ordered list of all the tasks that must be executed. These tasks are responsible for building your project or resource. By default, several tasks are included in a blank scaffold. You can change these are you see fit, but keep in mind that the order does matter. 'tasks' => [ \Aedart\Scaffold\Tasks\AskForTemplateData::class, \Aedart\Scaffold\Tasks\AskForTemplateDestination::class, \Aedart\Scaffold\Tasks\CreateDirectories::class, \Aedart\Scaffold\Tasks\CopyFiles::class, \Aedart\Scaffold\Tasks\GenerateFilesFromTemplates::class, Note: You can remove all of the default tasks and replace them with your own. When creating custom tasks, just ensure that you implement the \Aedart\Scaffold\Contracts\Tasks\ConsoleTask interface. You can also just extend the \Aedart\Scaffold\Tasks\BaseTask abstract task, which does some of the ground work for you. Please review the documentation inside the source code for further information. Folders required only if \Aedart\Scaffold\Tasks\CreateDirectories::class is used List of directories (or folders) that will be created. 'folders' => [ 'app', 'config', 'src' => [ 'Contracts', 'Controllers', 'Events', 'Models', 'tmp' 1.3. Create Scaffolds 9
14 Files required only if \Aedart\Scaffold\Tasks\CopyFiles::class is used Copies files from basepath and into the output directory. See BasePath 'files' => [ // Source files (inside 'basepath') => Destination '.gitkeep' => '.gitkeep', 'logs/default.log' => 'tmp/log.log', 'docs/license.txt' => 'LICENSE', Warning: You should avoid large files. If your template requires such, then you should perhaps consider a custom task that can download them from an external source! Alternatively, you can use scripts to perform large file downloads. Just remember to specify a timeout. See Scripts TemplateData required a b c only if the following tasks are used \Aedart\Scaffold\Tasks\AskForTemplateData::class, \Aedart\Scaffold\Tasks\AskForTemplateDestination::class, \Aedart\Scaffold\Tasks\GenerateFilesFromTemplates::class Data to be used inside Twig templates. Depending upon the template-data s type, the end-user might be asked in the console for an answer. You can specify as many template data entries as you wish. 'templatedata' => [ 'myproperty' => [ 'value' => 'My property value' 10 Chapter 1. Contents
15 Syntax 'templatedata' => [ 'name-of-property' => [ 'type' => \Aedart\Scaffold\Contracts\Templates\Data\Type::QUESTION 'question' => 'The question to ask the user' 'value' => (default value, in case user just hits enter), 'validation' => function($answer){return $answer;}, $answer;}, ] 'postprocess' => function($answer, array $previousanswers){return The postprocess callback method is automatically provided with eventual previous values. This gives you the possibility creating computed values that combine previous given answers from the end-user. The postprocess is available for all supported types. In the following sections, an example is shown on each supported type. Question 'templatedata' => [ 'myquestion' => [ 'type' => \Aedart\Scaffold\Contracts\Templates\Data\Type::QUESTION, 'question' 'value' => 'What is your vendor name? (used as namespace prefix)', => 'Acme', 'validation' => function($answer){ if(strlen($answer) >= 3){ return $answer; } long'); }, throw new \RuntimeException('Vendor name should be at least 3 chars 'postprocess' => function($answer, array $previousanswers){ return ucfirst($answer); } 1.3. Create Scaffolds 11
16 Choice 'templatedata' => [ 'mychoice' => [ 'type' 'question' => \Aedart\Scaffold\Contracts\Templates\Data\Type::CHOICE, => 'In what sub-namespace should your class be located?', 'choices' => [ 'Controllers', 'Events', 'Models' 'value' => 'Controllers', Confirm 'templatedata' => [ 'myconfirm' => [ 'type' => \Aedart\Scaffold\Contracts\Templates\Data\Type::CONFIRM, 'question' => 'Add class PHPDoc?', 'value' => true, Hidden 'templatedata' => [ 'mypassword' => [ 'type' 'question' => \Aedart\Scaffold\Contracts\Templates\Data\Type::HIDDEN, => 'What password should be stored inside the.env?', 12 Chapter 1. Contents
17 'validation' => function($answer){ if(strlen($answer) >= 6){ return $answer; } throw new \RuntimeException('The password should be at least 6 characters long'); }, Value When using a simple value, the end-user is not prompted with any questions. Also, the type does not have to be declared explicitly. 'templatedata' => [ 'myvalue' => [ 'value' => 'My Value' It is also possible to perform post-processing of simple values. It can be used to create a computed value which consists of the given value and perhaps a previously given value. 'templatedata' => [ 'myvalue' => [ 'value' => 'My Value', 'postprocess' => function($answer, array $previousanswers){ return $answer. $previousanswers['myothervalue' } Templates required only if the following tasks are used a \Aedart\Scaffold\Tasks\AskForTemplateData::class, b \Aedart\Scaffold\Tasks\AskForTemplateDestination::class, c \Aedart\Scaffold\Tasks\GenerateFilesFromTemplates::class The snippets (or templates) from which one or several files must be generated from. Each defined template assumes that it s source Twig template is located inside the basepath. See BasePath 1.3. Create Scaffolds 13
18 'templates' => [ 'mytemplate' => [ 'source' => 'snippets/env.twig', 'destination' => [ 'value' => '.env', Ask for template destination The destination property works in the same way as with the templatedata, in that you can use it to ask the end user for a file destination. All types are supported. See TemplateData. 'templates' => [ 'mytemplate' => [ 'source' => 'snippets/markdown.twig', // Destination of a file - uses a "question" property 'destination' => [ 'type' => \Aedart\Scaffold\Contracts\Templates\Data\Type::QUESTION, ', 'question' 'value' => 'Name / location of file? (.md automatically added) => 'WIKI', // Use post processing to add file extension 'postprocess' => function($answer, array $previousanswers){ return $answer. '.md'; } Scripts required only if \Aedart\Scaffold\Tasks\ExecuteScripts::class is used CLI scripts (or commands) to be executed Scripts can be used to perform advanced operations. This could for instance be downloading large files, disk cleanup, running composer commands... etc. 14 Chapter 1. Contents
19 Multiple scripts are allowed and they can be stated in several ways. Simple Script 'scripts' => [ 'composer update', ] Script with Timeout If yor expect your script(s) to require more that 60 seconds, then consider specifying a custom timeout. 'scripts' => [ [ 'timeout' => 75, // Default is 60 seconds 'script' => 'composer install && composer update' ] Advanced Script If you need to perform very advanced scripts that depends on the scaffold configuration, then you can achieve this via an anonymous function. A copy of the scaffold configuration is given as argument. The function MUST return an instance of \Aedart\Scaffold\Contracts\Scripts\CliScript. 'scripts' => [ function(array $config){ $script = 'cd '. $config['outputpath']. ' && ls'; ] }, return new \Aedart\Scaffold\Scripts\CliScript([ 'timeout' => 10, 'script' => $script ]); Error when triggering composer commands If you trigger some kind of composer script, then you might see that composer s output is logger to the console as an error. This is due to that composer chooses to write diagnostic output to STDERR instead of STDOUT Create Scaffolds 15
20 You can read more about this in #1905 and #3795. Handlers required no These handlers are used by some of the default tasks. They provide an additional level of flexibility, in which you can use the default tasks, yet change the way that each of them handles certain operations. If you do not plan to change the default tasks behaviour, then you can leave out this part of the configuration. 'handlers' => [ 'directory' => \Aedart\Scaffold\Handlers\DirectoriesHandler::class, 'file' => \Aedart\Scaffold\Handlers\FilesHandler::class, 'property' => \Aedart\Scaffold\Handlers\PropertyHandler::class, 'template' => \Aedart\Scaffold\Handlers\TwigTemplateHandler::class, 'script' => \Aedart\Scaffold\Handlers\ScriptsHandler::class, ] Note: You can create your own handlers, if the default handlers are insufficient to cover your needs. Handlers need to implement the \Aedart\Scaffold\Contracts\Handlers\Handler interface. Alternatively, you can extend the \Aedart\Scaffold\Handlers\BaseHandler abstract handler. It should provide you with a few common methods implementation. Tip: Currently, only Twig templates are supported. If you do not like working with that engine, then you can implement a different one, by means of creating a new template handler (Please review \Aedart\Scaffold\Handlers\TwigTemplateHandler for inspiration). If this is the case, please consider if making that handler publicly available for others :) Testing Depending on your scaffold complexity, the fastest way of testing it is manually, by building it locally. vendor/bin/scaffold install -a -o temp/ The above command will first index your scaffold and thereafter install it. All of it s output will go into the temp directory. Automatic Testing If your scaffold(s) have become very complex, require lots of user input or perhaps depend on many resources, then perhaps it is better to write some kind of automatic test for, e.g. via PHPUnit. The current version of the scaffold application does not offer any testing utilities. However, you can review the tests\integration\installcommandtest as inspiration on how to write automatic tests for your scaffold. Behind the scenes, Symfony s Command Tester is being used. 16 Chapter 1. Contents
21 In future versions, this package might include better testing utilities. Helpers Since version a helpers.php file is included, which offers a few utility methods that can be used throughout your scaffold. The file is located in {{scaffold application location}}\helpers\helpers.php. Cache Available since version Confronting an end-user with too many questions can quickly become a hassle for them. Therefore, if you find yourself in a situation where you need a lot of user input, consider caching some of the input. Caching is made available in a scaffold, by making use of the scaffold_cache_* methods, which are defined inside the helpers.php file. Behind the Scene The caching system that is offered by the Scaffold Application, is basically just a wrapper around Laravel s Cache. It is configured to use the \Illuminate\Cache\FileStore, storing values withing the user provided cache directory. The cache directory is set via a --cache option on each available command that makes use of caching. It defaults.scaffold/cache/ if the option is not provided. Example In this example, once a user has answered the question first time, the scaffold will use a cached answer as the default value. Next time the scaffold is built, the default value will become the cached value. 'templatedata' => [ 'name' => [ 'type' => \Aedart\Scaffold\Contracts\Templates\Data\Type::QUESTION, 'question' 'value' => 'What is your name?', => scaffold_cache_get('name', 'John Doe'), 'postprocess' => function($answer, array $previousanswers){ // Update the cached value, in case user provides a "new" answer scaffold_cache_put('name', $answer, 60); } return $answer; 1.3. Create Scaffolds 17
22 Available Methods Please consider Laravel s documentation for further information and examples of using the cache. scaffold_cache() Returns an instance of \Illuminate\Contracts\Cache\Repository. scaffold_cache_put($key, $value, $minutes = 5) Store an item in the cache. scaffold_cache_remember($key, $minutes, Closure $callback) Get an item from the cache, or store the default value. scaffold_cache_forever($key, $value) Store an item in the cache indefinitely. scaffold_cache_has($key) Determine if an item exists in the cache. scaffold_cache_get($key, $default = null) Retrieve an item from the cache by key. scaffold_cache_pull($key, $default = null) Retrieve an item from the cache and delete it. scaffold_cache_forget($key) Remove an item from the cache. scaffold_cache_flush() Flushes the registered cache directory. Misc 18 Chapter 1. Contents
23 Release Notes Within this chapter, you will find a list of the most significant changes. Version 2.0.x v2.0.1 ( ) Fixed Incorrect populate of directories collection inside TwigTemplateHandler v2.0.0 ( ) Added Added build:file command Changed Changed minimum required PHP version to 7.1.x Adapted application to use Laravel 5.5.x. Several interfaces and service providers have changed. Adapted application to use Symfony 3.3.x components. Deprecated AedartScaffoldTestingConsoleStyleExtendedStyle, replaced by AedartScaffoldConsoleStyleExtendedStyle. Changed build command, now supports setting answers to questions via the input option. Version 1.2.x v1.2.0 ( ) Changed License updated Version 1.1.x v1.1.5 ( ) Fixed Re-fixed indexing order. First fix was correct, yet due to incorrect manual test, the issue didn t seemed fixed Release Notes 19
24 v1.1.4 ( ) Fixed Re-fixed order of default indexing directories. First fix caused undesired indexing results. v1.1.3 ( ) Fixed Fixed order of default index directories. v1.1.2 ( ) Fixed Fixed #4 Parse error: syntax error, unexpected -> (T_OBJECT_OPERATOR) (issue in PHP 5.6.x only) v1.1.1 ( ) Fixed Fixed Fatal error: Can t use function return value in write context (issue in PHP 5.6.x only) v1.1.0 ( ) Added Added Cache utility (#3). Added release notes documentation Added multiple smaller and more maintainable service providers Added documentation about why output from composer commands (in scripts) are logged to STDERR Changed Changed ScaffoldServiceProvider, has now become an AggregateServiceProvider instead. It registers a series of smaller service providers. Version 1.0.x v1.0.4 ( ) Fixed Fixed ScriptHandler logging of empty buffer 20 Chapter 1. Contents
25 v1.0.3 ( ) Fixed Fixed ScriptHandler dual logging of buffered output v1.0.2 ( ) Fixed Fixed console logging attempted converting array into string v1.0.1 ( ) Changed Changed required dependencies Fixed Fixed property value being cast to string, which caused issue for other types of values, e.g. arrays Fixed unstable tests, due to poor generated sample data v1.0.0 ( ) Release of first stable version Indices genindex 1.5. Indices 21
26 22 Chapter 1. Contents
27 Index B BasePath scaffold.php, 8 Blank Empty Scaffold, 7 Build Command, Install, 4 Build-File File Command, 4 C Cache, 17 CLI, 14 Command Build-File File, 4 Install Build, 4 Command Tester Symfony, 16 Composer STDERR, 14 STDOUT, 14 D Description scaffold.php, 8 E Empty Scaffold, Blank, 7 Scaffold, Location, 6 F File Command, Build-File, 4 Files scaffold.php, 9 Folders scaffold.php, 9 G Global Installation, 3 H Handlers scaffold.php, 16 helpers, 17 I Install Build Command, 4 Installation Global, 3 Local, 3 L Local Installation, 3 Location Empty Scaffold, 6 Output, 4 Scaffold, 6 N Name scaffold.php, 8 New Scaffold, 7 O Output Location, 4 P PHPUnit UnitTest, 16 R Release Notes, 18 23
28 Require Scaffold, 4 Requirements, 3 S Scaffold Blank Empty, 7 Location, 6 Location Empty, 6 New, 7 Require, 4 scaffold.php, 6, 7 BasePath, 8 Description, 8 Files, 9 Folders, 9 Handlers, 16 Name, 8 Scripts, 14 Tasks, 8 TemplateData, 10 Templates, 13 Scripts scaffold.php, 14 Single: Build, 4 Single: Build-File, 4 Single: Install, 4 STDERR Composer, 14 STDOUT Composer, 14 Symfony Command Tester, 16 T Tasks scaffold.php, 8 TemplateData scaffold.php, 10 Templates scaffold.php, 13 Testing, 16 U UnitTest PHPUnit, Index
A Tutorial on using Code::Blocks with Catalina 3.0.3
A Tutorial on using Code::Blocks with Catalina 3.0.3 BASIC CONCEPTS...2 PREREQUISITES...2 INSTALLING AND CONFIGURING CODE::BLOCKS...3 STEP 1 EXTRACT THE COMPONENTS...3 STEP 2 INSTALL CODE::BLOCKS...3 Windows
More informationBldr.io Documentation
Bldr.io Documentation Release 0.0.2 Aaron Scherer February 10, 2017 Contents 1 Content 5 1.1 Installation................................................ 5 1.2 Usage...................................................
More informationComposer and Drupal. CIDUG Meeting December 13, 2018 John Rearick
Composer and Drupal CIDUG Meeting December 13, 2018 John Rearick * Similar to other dependency managers such as: yum, apt, brew, macports, npm, pip, etc. * Helps manage dependency hell. * Lots of dependencies
More informationMagister 6 API Documentation
Magister 6 API Documentation Release 2.0 magister-api November 15, 2017 Contents 1 User Guide 3 1.1 Installation................................................ 3 1.1.1 Server Requirements......................................
More informationSYMFONY2 WEB FRAMEWORK
1 5828 Foundations of Software Engineering Spring 2012 SYMFONY2 WEB FRAMEWORK By Mazin Hakeem Khaled Alanezi 2 Agenda Introduction What is a Framework? Why Use a Framework? What is Symfony2? Symfony2 from
More informationMagister 6 API Documentation
Magister 6 API Documentation Release 2.0 magister-api September 22, 2018 Contents 1 User Guide 3 1.1 Installation................................................ 3 1.1.1 Server Requirements......................................
More informationWebDAV Configuration
Sitecore CMS 6.2 or later WebDAV Configuration Rev: 2013-10-03 Sitecore CMS 6.2 or later WebDAV Configuration WebDAV Implementation and Configuration for Sitecore Administrators and Developers Table of
More information2 Initialize a git repository on your machine, add a README file, commit and push
BioHPC Git Training Demo Script First, ensure that git is installed on your machine, and you have configured an ssh key. See the main slides for instructions. To follow this demo script open a terminal
More informationUSER MANUAL. Star Track Shipping TABLE OF CONTENTS. Version: 2.0.0
USER MANUAL TABLE OF CONTENTS Introduction... 2 Benefits of Star Track Shipping... 2 Pre-requisites... 2 Installation... 3 Installation Steps... 3 Extension Activation... 7 Configuration... 8 Contact Us...14
More informationManaged Make Project File Error Code Composer
Managed Make Project File Error Code Composer Also, I checked to make sure that in Project Properties, the TivaWare installation Using the imported project simply called 'Project', I managed to get the
More informationUSER MANUAL. Language Translator TABLE OF CONTENTS. Version: 1.0.4
USER MANUAL TABLE OF CONTENTS Introduction... 2 Benefits of Language Translator... 2 Pre requisite... 2 Installation... 3 Installation Steps... 3 Extension Activation... 8 Configuration... 9 FAQ... 24
More informationPyUpdater wxpython Demo Documentation
PyUpdater wxpython Demo Documentation Release 0.0.1 James Wettenhall Nov 17, 2017 Contents 1 Demo of a Self-Updating wxpython Application 3 1.1 Running from Source..........................................
More informationHandel-CodePipeline Documentation
Handel-CodePipeline Documentation Release 0.0.6 David Woodruff Dec 11, 2017 Getting Started 1 Introduction 3 2 Installation 5 3 Tutorial 7 4 Using Handel-CodePipeline 11 5 Handel-CodePipeline File 13
More informationCHAPTER 2. Troubleshooting CGI Scripts
CHAPTER 2 Troubleshooting CGI Scripts OVERVIEW Web servers and their CGI environment can be set up in a variety of ways. Chapter 1 covered the basics of the installation and configuration of scripts. However,
More informationUNIX Tutorial One
1.1 Listing files and directories ls (list) When you first login, your current working directory is your home directory. Your home directory has the same name as your user-name, for example, ee91ab, and
More informationEveBox Documentation. Release. Jason Ish
EveBox Documentation Release Jason Ish Jan 25, 2018 Contents: 1 Installation 1 2 Server 3 2.1 Running................................................. 3 2.2 Oneshot Mode..............................................
More informationPassword Memory 7 User s Guide
C O D E : A E R O T E C H N O L O G I E S Password Memory 7 User s Guide 2007-2018 by code:aero technologies Phone: +1 (321) 285.7447 E-mail: info@codeaero.com Table of Contents How secure is Password
More informationInstalling Dolphin on Your PC
Installing Dolphin on Your PC Note: When installing Dolphin as a test platform on the PC there are a few things you can overlook. Thus, this installation guide won t help you with installing Dolphin on
More informationUnable To Access An Error Message Corresponding To Your Field Name. Codeigniter Callback
Unable To Access An Error Message Corresponding To Your Field Name. Codeigniter Callback I get field was not set error when I'm validating a form. Here is my view Unable to access an error message corresponding
More informationCakePHP-Upload Documentation
CakePHP-Upload Documentation Release 3.0.0 Jose Diaz-Gonzalez March 18, 2016 Contents 1 Introduction 3 1.1 Upload Plugin 3.0............................................ 3 1.2 Background................................................
More informationPracticum 5 Maps and Closures
Practicum 5 Maps and Closures Assignment Details Assigned: February 18 th 2014. Due: February 20 th, 2014 at midnight. Background One of the requirements of PA1 Part 2 using a data structure to hold function
More informationGearmanBundle. Release
GearmanBundle Release Nov 28, 2017 Contents 1 User Documentation 3 1.1 Installing/Configuring.......................................... 3 1.2 Configuration...............................................
More informationHistory...: Displays a window of Gitk, a standard commit viewer for Git.
Git Services Wakanda includes Git features that will help you manage the evolution of your solutions and files. These features are designed to share code as well as to handle multi developer projects and
More informationComposer for Absolute Beginners. Alison Jo McCauley Drupal Developer, Cornell University
& l a up Dr Composer for Absolute Beginners Alison Jo McCauley Drupal Developer, Cornell University What is Composer? Composer is a (command-line) tool for dependency management in PHP. With composer,
More informationCherryPy on Apache2 with mod_python
Revision History CherryPy on Apache2 with mod_python Revision 1.5 November 9, 2009 Revised by: FB Ferry Boender 1. Introduction I ve recently written a web application using Python using the following
More informationEveBox Documentation. Jason Ish
Jason Ish May 29, 2018 Contents: 1 Installation 1 2 Server 3 2.1 Running................................................. 3 2.2 Oneshot Mode.............................................. 4 2.3 Authentication..............................................
More informationLinux shell scripting Getting started *
Linux shell scripting Getting started * David Morgan *based on chapter by the same name in Classic Shell Scripting by Robbins and Beebe What s s a script? text file containing commands executed as a unit
More informationSaleae Device SDK Starting a Device SDK Project on Windows Starting a Device SDK Project on Linux... 7
Contents Starting a Device SDK Project on Windows... 2 Starting a Device SDK Project on Linux... 7 Debugging your Project with GDB... 9 Starting a Device SDK Project on Mac... 11 Build Script / Command
More informationVirtual CD TS 1 Introduction... 3
Table of Contents Table of Contents Virtual CD TS 1 Introduction... 3 Document Conventions...... 4 What Virtual CD TS Can Do for You...... 5 New Features in Version 10...... 6 Virtual CD TS Licensing......
More informationVersion control system (VCS)
Version control system (VCS) Remember that you are required to keep a process-log-book of the whole development solutions with just one commit or with incomplete process-log-book (where it is not possible
More informationPhp Manual Header Redirect After 5 Seconds Using
Php Manual Header Redirect After 5 Seconds Using Okay, so I've seen a couple of different approaches for redirecting a user I didn't think it was important but after reading the header manual you are I
More informationCSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup
CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python
More informationPurpose. Target Audience. Prerequisites. What Is An Event Handler? Nagios XI. Introduction to Event Handlers
Purpose This document describes how to use event handlers in to take predefined actions when the hosts or services you are monitoring change state. Event handlers are used to automate processes taken when
More informationContents. 1 Introduction... 2 Introduction to Installing and Configuring LEI... 4 Upgrading NotesPump to LEI...
Contents 1 Introduction... Organization of this Manual... Related Documentation... LEI and DECS Documentation... Other Documentation... Getting Started with Lotus Enterprise Integrator... 2 Introduction
More informationSample Spark Web-App. Overview. Prerequisites
Sample Spark Web-App Overview Follow along with these instructions using the sample Guessing Game project provided to you. This guide will walk you through setting up your workspace, compiling and running
More informationIntroduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum
Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum Table of Contents Preparation... 3 Exercise 1: Create a repository. Use the command line.... 4 Create a repository...
More informationTECH 4272 Operating Systems
TECH 4272 Lecture 3 2 Todd S. Canaday Adjunct Professor Herff College of Engineering sudo sudo is a program for Unix like computer operating systems that allows users to run programs with the security
More informationQuick Start Manual. Not2Order for Magento 2. Start here
Quick Start Manual Not2Order for Magento 2 Start here 1 Introduction Reading Introduction Congratulations on your purchase of Not2Order for Magento 2. You are almost in business! This guide provides the
More informationVersion control with git and Rstudio. Remko Duursma
Version control with git and Rstudio Remko Duursma November 14, 2017 Contents 1 Version control with git 2 1.1 Should I learn version control?...................................... 2 1.2 Basics of git..................................................
More informationIRONKEY D300S SECURE USB 3.0 FLASH DRIVE
IRONKEY D300S SECURE USB 3.0 FLASH DRIVE User Guide Document No. 48000130-001.A01 D300S Page 1 of 27 Table of Contents About This Manual... 3 System Requirements...3 Recommendations...3 Setup (Windows
More information/* Copyright 2012 Robert C. Ilardi
/ Copyright 2012 Robert C. Ilardi Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
More informationPerforming Software Maintenance Upgrades
This chapter describes how to perform software maintenance upgrades (SMUs) on Cisco NX-OS devices. This chapter includes the following sections: About SMUs, page 1 Prerequisites for SMUs, page 3 Guidelines
More informationIndium Documentation. Release Nicolas Petton
Indium Documentation Release 1.2.0 Nicolas Petton Nov 23, 2018 Contents 1 Table of contents 3 1.1 Installation................................................ 3 1.2 Getting up and running..........................................
More informationAirLinc Troubleshooting
AirLinc Troubleshooting Connect, Inc. 1701 Quincy Avenue, Suites 5 & 6, Naperville, IL 60540 Ph: (630) 717-7200 Fax: (630) 717-7243 www.connectrf.com Table of Contents DSN Name Changes...1 Simulator Beep...3
More informationUsing GitHub to Share with SparkFun a
Using GitHub to Share with SparkFun a learn.sparkfun.com tutorial Available online at: http://sfe.io/t52 Contents Introduction Gitting Started Forking a Repository Committing, Pushing and Pulling Syncing
More informationDiskBoss DATA MANAGEMENT
DiskBoss DATA MANAGEMENT Disk Change Monitor Version 9.3 May 2018 www.diskboss.com info@flexense.com 1 1 Product Overview DiskBoss is an automated, policy-based data management solution allowing one to
More informationNetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2
More informationIT Essentials v6.0 Windows 10 Software Labs
IT Essentials v6.0 Windows 10 Software Labs 5.2.1.7 Install Windows 10... 1 5.2.1.10 Check for Updates in Windows 10... 10 5.2.4.7 Create a Partition in Windows 10... 16 6.1.1.5 Task Manager in Windows
More informationLab: Supplying Inputs to Programs
Steven Zeil May 25, 2013 Contents 1 Running the Program 2 2 Supplying Standard Input 4 3 Command Line Parameters 4 1 In this lab, we will look at some of the different ways that basic I/O information can
More informationInstalling and Using Your Web Server (Windows)
Installing and Using Your Web Server (Windows) This document provides instructions to and install and use the Windows version of your standalone Apache Web server on a portable USB drive or fixed drive.
More informationIntel Server RAID Controller U2-1 Integration Guide For Microsoft* Windows NT* 4.0
Intel Server RAID Controller U2-1 Integration Guide For Microsoft* Windows NT* 4.0 Revision 1.0 February 2000 Revision History Revision Revision History Date 1.0 Initial Release 02/10/00 Intel Corporation
More informationKea Messages Manual. Kea Messages Manual
Kea Messages Manual i Kea Messages Manual Kea Messages Manual ii Copyright 2011-2015 Internet Systems Consortium, Inc. Kea Messages Manual iii Contents 1 Introduction 1 2 Kea Log Messages 2 2.1 ALLOC Module....................................................
More informationProgramming Robots with ROS, Morgan Quigley, Brian Gerkey & William D. Smart
Programming Robots with ROS, Morgan Quigley, Brian Gerkey & William D. Smart O Reilly December 2015 CHAPTER 23 Using C++ in ROS We chose to use Python for this book for a number of reasons. First, it s
More informationMFP-Link for Sharp. Version 1.0
MFP-Link for Sharp Version 1.0 MFP-Link Introduction... 3 System Overview...3 Installation... 4 Operating System...4 Internet Information Services (IIS) Installation...4.NET Framework 2.0...6 MFP...6
More informationInstall and upgrade Qlik Sense. Qlik Sense 3.0 Copyright QlikTech International AB. All rights reserved.
Install and upgrade Qlik Sense Qlik Sense 3.0 Copyright 1993-2016 QlikTech International AB. All rights reserved. Copyright 1993-2016 QlikTech International AB. All rights reserved. Qlik, QlikTech, Qlik
More informationBackupVault Desktop & Laptop Edition. USER MANUAL For Microsoft Windows
BackupVault Desktop & Laptop Edition USER MANUAL For Microsoft Windows Copyright Notice & Proprietary Information Blueraq Networks Ltd, 2017. All rights reserved. Trademarks - Microsoft, Windows, Microsoft
More informationsimplevisor Documentation
simplevisor Documentation Release 1.2 Massimo Paladin June 27, 2016 Contents 1 Main Features 1 2 Installation 3 3 Configuration 5 4 simplevisor command 9 5 simplevisor-control command 13 6 Supervisor
More informationInstalling Sentry-go Quick Monitors, Sentry-go Plus!, Client Tools & Enterprise Reporting
Installing Sentry-go Quick Monitors, Sentry-go Plus!, Client Tools & Enterprise Reporting 3Ds (UK) Limited, November, 2013 http://www.sentry-go.com Be Proactive, Not Reactive! This guide gives full details
More informationOverview of the UNIX File System
Overview of the UNIX File System Navigating and Viewing Directories Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing
More informationUnifer Documentation. Release V1.0. Matthew S
Unifer Documentation Release V1.0 Matthew S July 28, 2014 Contents 1 Unifer Tutorial - Notes Web App 3 1.1 Setting up................................................. 3 1.2 Getting the Template...........................................
More informationXBMC. Ultimate Guide. HenryFord 3/31/2011. Feel free to share this document with everybody!
XBMC Ultimate Guide HenryFord 3/31/2011 Feel free to share this document with everybody! Contents Introduction... 2 XBMC... 3 Download and Install XBMC... 3 Setup the Sources... 3 Additional Settings...
More informationmatross Release SNAPSHOT
matross Release 0.1.0-SNAPSHOT June 01, 2014 Contents 1 Getting Started 3 1.1 What is matross?............................................. 3 1.2 Who is matross for?...........................................
More informationNew Dealership TeamDesign Installation Instructions
New Dealership TeamDesign Installation Instructions This document describes how to install the TeamDesign software for the first time. It is very important that you read this document completely before
More informationBernard. Release latest
Bernard Release latest Jul 06, 2018 Contents 1 Installation 1 2 Examples 3 2.1 Producing messages........................................... 3 2.2 Queues..................................................
More informationDataMan. version 6.5.4
DataMan version 6.5.4 Contents DataMan User Guide 1 Introduction 1 DataMan 1 Technical Specifications 1 Hardware Requirements 1 Software Requirements 2 Ports 2 DataMan Installation 2 Component Installation
More informationCakePHP-Upload Documentation
CakePHP-Upload Documentation Release 3.0.0 Jose Diaz-Gonzalez January 02, 2017 Contents 1 Introduction 3 1.1 Upload Plugin 3.0............................................ 3 1.2 Background................................................
More informationdbdos PRO 2 Quick Start Guide dbase, LLC 2013 All rights reserved.
dbdos PRO 2 Quick Start Guide 1 dbase, LLC 2013 All rights reserved. dbase, LLC may have patents and/or pending patent applications covering subject matter in this document. The furnishing of this document
More informationServer Edition USER MANUAL. For Microsoft Windows
Server Edition USER MANUAL For Microsoft Windows Copyright Notice & Proprietary Information Redstor Limited, 2016. All rights reserved. Trademarks - Microsoft, Windows, Microsoft Windows, Microsoft Windows
More informationTREX Set-Up Guide: Creating a TREX Executable File for Windows
TREX Set-Up Guide: Creating a TREX Executable File for Windows Prepared By: HDR 1 International Boulevard, 10 th Floor, Suite 1000 Mahwah, NJ 07495 May 13, 2013 Creating a TREX Executable File for Windows
More informationDependency Injection and the art of services and containers. With <3 from KnpUniversity
Dependency Injection and the art of services and containers With
More informationSetting up my Dev Environment ECS 030
Setting up my Dev Environment ECS 030 1 Command for SSHing into a CSIF Machine If you already have a terminal and already have a working ssh program (That is, you type ssh into the terminal and it doesn
More informationMicrosoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4,
Microsoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4, which are very similar in most respects and the important
More information1 Installation (briefly)
Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB
More informationP2: Collaborations. CSE 335, Spring 2009
P2: Collaborations CSE 335, Spring 2009 Milestone #1 due by Thursday, March 19 at 11:59 p.m. Completed project due by Thursday, April 2 at 11:59 p.m. Objectives Develop an application with a graphical
More informationTaking Advantage of ADSI
Taking Advantage of ADSI Active Directory Service Interfaces (ADSI), is a COM-based set of interfaces that allow you to interact and manipulate directory service interfaces. OK, now in English that means
More informationServer Edition. V8 Peregrine User Manual. for Microsoft Windows
Server Edition V8 Peregrine User Manual for Microsoft Windows Copyright Notice and Proprietary Information All rights reserved. Attix5, 2015 Trademarks - Microsoft, Windows, Microsoft Windows, Microsoft
More informationJonathan Wald and Jason Zigelbaum (A project report written under the guidance of Prof.
1 of 12 Jonathan Wald jwald@wustl.edu and Jason Zigelbaum jczigelb@wustl.edu (A project report written under the guidance of Prof. Raj Jain) Download Table of Content: 1. Introduction 1.1 What is OpenPacketPro
More informationPISCES Installation and Getting Started 1
This document will walk you through the PISCES setup process and get you started accessing the suite of available tools. It will begin with what options to choose during the actual installation and the
More informationBuild & Launch Tools (BLT) Automating best practices for enterprise sites
Build & Launch Tools (BLT) Automating best practices for enterprise sites Who are you? Matthew Grasmick @grasmash on Drupal.org, twitter, etc. Acquia Professional Services, 4yrs Drupalist, 9yrs Maintainer
More informationCentreon SSH Connector Documentation
Centreon SSH Connector Documentation Release 1.1.2 Centreon November 24, 2015 Contents i ii Centreon SSH Connector is a free software from Centreon available under the Apache Software License version
More informationInstalling Ubuntu 8.04 for use with ESP-r 8 May 2009 Jon W. Hand, ESRU, Glasgow, Scotland
Installing Ubuntu 8.04 for use with ESP-r 8 May 2009 Jon W. Hand, ESRU, Glasgow, Scotland Introduction These notes apply to Ubuntu version 8.04. There are different disk layouts discussed as well as two
More informationOGSI.NET UVa Grid Computing Group. OGSI.NET Developer Tutorial
OGSI.NET UVa Grid Computing Group OGSI.NET Developer Tutorial Table of Contents Table of Contents...2 Introduction...3 Writing a Simple Service...4 Simple Math Port Type...4 Simple Math Service and Bindings...7
More informationEasyLobby SVM 10.0 / CardAccess 3000 Configuration Guide
EasyLobby SVM 10.0 / CardAccess 3000 Configuration Guide DATE: 15 JULY 2013 DOCUMENT PERTAINS TO : EASYLOBBY SVM 10.0 / CARDACCESS 3000 CONFIGURATION GUIDE REVISION: REV A Continental 2013 EasyLobby /
More informationPlumeria Documentation
Plumeria Documentation Release 0.1 sk89q Aug 20, 2017 Contents 1 Considerations 3 2 Installation 5 2.1 Windows................................................. 5 2.2 Debian/Ubuntu..............................................
More informationpyramid_assetmutator Documentation
pyramid_assetmutator Documentation Release 1.0b1 Seth Davis February 22, 2017 Contents 1 Overview 1 2 Installation 3 3 Setup 5 4 Usage 7 5 Mutators 11 6 Settings 13 7 Asset Concatenation (a.k.a Asset
More informationTolerance Documentation
Tolerance Documentation Release 0.1.0 sroze Oct 31, 2017 Contents 1 Introduction 3 1.1 Why?................................................... 3 1.2 Getting started..............................................
More informationInstall and upgrade Qlik Sense. Qlik Sense 3.2 Copyright QlikTech International AB. All rights reserved.
Install and upgrade Qlik Sense Qlik Sense 3.2 Copyright 1993-2017 QlikTech International AB. All rights reserved. Copyright 1993-2017 QlikTech International AB. All rights reserved. Qlik, QlikTech, Qlik
More informationLesson 13 Transcript: User-Defined Functions
Lesson 13 Transcript: User-Defined Functions Slide 1: Cover Welcome to Lesson 13 of DB2 ON CAMPUS LECTURE SERIES. Today, we are going to talk about User-defined Functions. My name is Raul Chong, and I'm
More informationImport Manager Application in Compliance 360 Version 2018
Import Manager Application in Compliance 360 Version 2018 Import Manager Application Overview 4 Enhanced Templates 4 Recommendations 5 Import Manager Application (IMA) Security 6 Imports 6 Application
More informationNavigator Documentation
Navigator Documentation Release 1.0.0 Simon Holywell February 18, 2016 Contents 1 Installation 3 1.1 Packagist with Composer........................................ 3 1.2 git Clone or Zip Package.........................................
More informationTuesday 6th October Agenda
Dacorum U3A Apple Mac Users Group Tuesday 6th October 2015 Agenda Cleanup and Housekeeping your Mac & IOS Device - Remove old files, recover lost space, remove Trash and left over Apps. Agenda Identify
More informationA short guide to learning more technology This week s topic: Windows 10 Tips
Wednesday s Technology Tips November 2, 2016 A short guide to learning more technology This week s topic: Windows 10 Tips Like it or not, Microsoft is rushing quickly toward Windows 10 as the new standard
More informationAscent 6.1 Release Script for FileNet Content Manager 3.0. Release Notes
Ascent 6.1 Release Script for FileNet Content Manager 3.0 Release Notes 10001303-000 Revision A November 16, 2004 Copyright Copyright 2004 Kofax Image Products, Inc. All Rights Reserved. Printed in USA.
More informationThe CartIt Commerce System Installation Guide
The CartIt Commerce System Installation Guide On Windows Operating Systems Version 8.0 February 3, 2003 Copyright 2001 CartIt Corporation. All Rights Reserved. Page 1 of 10 THE CART IT COMMERCE SYSTEM
More informationFunction. Description
Function Check In Get / Checkout Description Checking in a file uploads the file from the user s hard drive into the vault and creates a new file version with any changes to the file that have been saved.
More informationHow many of you have never built a NetBSD kernel?
A Smart Port Card Tutorial - The Exercises John DeHart Washington University jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd 1 Question? How many of you have never built a NetBSD kernel? 2 page 1 Exercises
More informationMercury QuickTest Professional. Installation Guide Version 9.0
Mercury QuickTest Professional Installation Guide Version 9.0 Mercury QuickTest Professional Installation Guide, Version 9.0 This manual, and the accompanying software and other documentation, is protected
More informationDesktop & Laptop Edition
Desktop & Laptop Edition USER MANUAL For Mac OS X Copyright Notice & Proprietary Information Redstor Limited, 2016. All rights reserved. Trademarks - Mac, Leopard, Snow Leopard, Lion and Mountain Lion
More informationIBM Operational Decision Manager Version 8 Release 5. Configuring Operational Decision Manager on WebLogic
IBM Operational Decision Manager Version 8 Release 5 Configuring Operational Decision Manager on WebLogic Note Before using this information and the product it supports, read the information in Notices
More informationMs Dos Commands List With Examples Ppt
Ms Dos Commands List With Examples Ppt MS-DOS Prompt The prompt in MS-DOS displays your current directory Example: copy a:/*.txt c:/ will copy all text files to drive c:/ Example 2: copy files in the current
More information