Skip to content

Instantly share code, notes, and snippets.

View markbratanov's full-sized avatar
🎯
Focusing

Mark Bratanov markbratanov

🎯
Focusing
View GitHub Profile
in FieldTypeBuilder.php line 98
at FieldTypeBuilder->build(array('type' => 'anomaly.field_type.text', 'field' => 'key', 'label' => 'anomaly.module.settings::field.key.name', 'config' => array())) in FieldModel.php line 162
at FieldModel->getType() in AssignmentModel.php line 148
at AssignmentModel->getFieldType(object(SettingModel)) in EntryModel.php line 184
at EntryModel->getFieldType('key') in EntryModel.php line 237
at EntryModel->getAttribute('key') in Model.php line 3291
at Model->__get('key') in SettingModel.php line 44
at SettingModel->getKey() in SettingCollection.php line 26
at SettingCollection->__construct(array(object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingModel), object(SettingMode
vagrant@scotchbox:/var/www$ composer create-project pyrocms/pyrocms=3.0-beta1 --prefer-dist
Installing pyrocms/pyrocms (v3.0.0-beta1)
- Installing pyrocms/pyrocms (v3.0.0-beta1)
Loading from cache
Created project in /var/www/pyrocms
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing anomaly/dashboard-module (v1.0.0)
Cloning 2ded9752dcbf5e04cf396f7a8ea7d2e3b7583141
2ded9752dcbf5e04cf396f7a8ea7d2e3b7583141 is gone (history was rewritten?)
Failed to download anomaly/dashboard-module from source: Failed to execute g
it checkout "2ded9752dcbf5e04cf396f7a8ea7d2e3b7583141" -- && git reset --hard "2
ded9752dcbf5e04cf396f7a8ea7d2e3b7583141" --
HEAD is now at 2ded975... Remove versioning
error: unable to create file resources/js/highcharts/exporting-server/java/highc
harts-export/highcharts-export-web/target/highcharts-export-web/WEB-INF/classes/
@markbratanov
markbratanov / gist:da6b82d117a925a01365
Created August 5, 2015 14:38
Composer install for pyrocms
Created project in C:\Users\Mark\Desktop\CA Systems\pyrocms
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing anomaly/streams-composer-plugin (1.0.0)
Loading from cache
- Installing symfony/process (v2.7.3)
Loading from cache
- Installing kriswallsmith/assetic (v1.2.1)
void onCreate (Bundle savedInstanceState) {
// Get intent, action and MIME type
Intent intent = getIntent();
String action = intent.getAction();
String type = intent.getType();
if (Intent.ACTION_SEND.equals(action) && type != null) {
if ("application/pdf".equals(type)) {
handlePDF(intent); // Handle text being sent
//specification file for the numberlist class
#ifndef NUMBERLIST_H
#define NUMBERLIST_H
class NumberList
{
private:
//declares a structure for the list
struct ListNode
@markbratanov
markbratanov / file_to_load_by_ajax.php
Created March 19, 2015 21:23
This is the file that the AJAX call loads. The Javascript is included at the bottom (and the library that it references to is called on page load)
<div class='admin-box'>
<h3>Vocabulary</h3>
<?php echo form_open($this->uri->uri_string(), 'class="form-horizontal"'); ?>
<fieldset>
<div class="control-group<?php echo form_error('vocab_text') ? ' error' : ''; ?>">
<?php echo form_label('Vocab text'. lang('bf_form_label_required'), 'vocab_text', array('class' => 'control-label')); ?>
<div class='controls'>
<input id='vocab_text' type='text' required='required' name='vocab_text' maxlength='255' value="<?php echo set_value('vocab_text', isset($vocabulary->vocab_text) ? $vocabulary->vocab_text : ''); ?>" />
@markbratanov
markbratanov / gist:808eeb42254edab5eeb0
Created January 15, 2015 16:41
GitHub error report
2015-01-15 11:35:38.8812|WARN|thread: 1|StandardUserErrors|Showing user error Failed to create a new commit.
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.EnumerableEx.<Catch_>d__80`2.MoveNext()
at System.Linq.EnumerableEx.<Catch_>d__80`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
FatalErrorException in FormBuilder.php line 9:
Trait 'Illuminate\Support\Traits\Macroable' not found
in FormBuilder.php line 9
at HandleExceptions->fatalExceptionFromError(array('type' => '1', 'message' => 'Trait 'Illuminate\Support\Traits\Macroable' not found', 'file' => 'C:\wamp\www\streams\vendor\illuminate\html\FormBuilder.php', 'line' => '9')) in HandleExceptions.php line 118
at HandleExceptions->handleShutdown()
C:\Apache24\htdocs\streams [master]> composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing anomaly/streams-composer-plugin (dev-master fbb78bf)
Cloning fbb78bf240416e95f2c2855f32c0ebb1109db784
- Installing psr/log (dev-master a78d650)
Cloning a78d6504ff5d4367497785ab2ade91db3a9fbe11
- Installing symfony/debug (2.6.x-dev 9e11c84)