This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FieldException: Attempt to create field name <em class="placeholder">logged_item_type</em> which already exists and is active. in field_create_field() (line 85 of /Users/martindean/Sites/drupal-core/modules/field/field.crud.inc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Contains content installed by the module. | |
* | |
* Created by PhpStorm. | |
* User: martindean | |
* Date: 26/11/14 | |
* Time: 05:14 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_node_info(). | |
*/ | |
function genima_log_node_info() { | |
// Returns an array defining a new node type. | |
return array( | |
'logged_item' => array( | |
'name' => t('Logged Item'), | |
'base' => 'genima_logged_item', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$feeds_importer = new stdClass(); | |
$feeds_importer->disabled = FALSE; /* Edit this to true to make a default feeds_importer disabled initially */ | |
$feeds_importer->api_version = 1; | |
$feeds_importer->id = 'items_import'; | |
$feeds_importer->config = array( | |
'name' => 'Items Import', | |
'description' => 'Import WildStar item data from XML', | |
'fetcher' => array( | |
'plugin_key' => 'FeedsFileFetcher', | |
'config' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wildstar Item Import 51 has been created. | |
context : | |
<N K="tItemDb" T="t"> <N F="37671" T="t"> <N K="tItemInfo" T="t"> <N K="nPowerLevel" T="n" V="48"/> <N K="sIcon" T="s" V="IconSprites:Icon_ItemArmor_Heavy_Armor_Shoulders_01"/> <N K="nItemPower" T="n" V="1434"/> <N K="tPrimary" T="t"> <N K="strName" T="s" V="Mutagen Shoulder Plates"/> <N K="eCategory" T="n" V="3"/> <N K="tLevelRequirement" T="t"> <N K="nLevelRequired" T="n" V="48"/> <N K="bRequirementMet" T="b" V="-"/> </N> <N K="nId" T="n" V="37671"/> <N K="bDestroyOnLogout" T="b" V="-"/> <N K="tCost" T="t"> <N K="nBuyCost" T="n" V="78384"/> <N K="nSellValue" T="n" V="15676"/> </N> <N K="tDurability" T="t"> <N K="nMax" T="n" V="71"/> </N> <N K="eType" T="n" V="18"/> <N K="tStack" T="t"> <N K="nMaxCount" T="n" V="1"/> </N> <N K="arInnateProperties" T="t"> <N F="1" T="t"> <N K="nSortOrder" T="n" V="3"/> <N K="eProperty" T="n" V="42"/> <N K="nValue" T="n" V="1496"/> </N> </N> <N K="tProfRequirement" T="t"> <N K="nId" T="n" V="2"/> <N K="bRequirementMet" T="b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><%= full_title(yield(:title)) %></title> | |
<%= stylesheet_link_tag "application", media:" all" %> | |
<%= javascript_include_tag "application" %> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "mmofish" %>"> | |
<%= csrf_meta_tags %> | |
<%= render 'layouts/shim' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts 'DEFAULT USERS' | |
user = User.find_or_create_by_email :username => ENV['ADMIN_NAME'].dup, :email => ENV['ADMIN_EMAIL'].dup, | |
:password => ENV['ADMIN_PASSWORD'].dup, :password_confirmation => ENV['ADMIN_PASSWORD'].dup | |
puts 'username: ' << user.username | |
user.add_role :admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mmofish gemfile -- DO NOT MODIFY without speaking to Mizpah! | |
source 'https://rubygems.org' | |
# We have chose to use a pessamistic versioning constraint (~>2.1) during development | |
# in some cases, amd latest versions (optimistic constraint) (=>2.1) in others. | |
# This iwll be reviewed for production | |
gem 'rails', '~>3.2' | |
# Bundle edge Rails instead (initiate for testing only): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Finished in 0.59557 seconds | |
13 examples, 0 failures, 2 pending | |
<-- Slave(2) run done! | |
Martin@BALOO /g/Aptana Studio 3 Workspace/mmofish (master) | |
$ git push heroku master | |
Enter passphrase for key '/c/Users/Martin/.ssh/id_rsa': | |
Counting objects: 44, done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= hidden_field_tag :direction, params[:direction] %> | |
<%= hidden_field_tag :sort, params[:sort] %> | |
<table class="pretty"> | |
<thead> | |
<tr> | |
<th><%= sortable "name" %></th> | |
<th>Description</th> | |
<th><%= sortable "game_id" %></th> | |
<th></th> | |
<th></th> |
NewerOlder