Skip to content

Instantly share code, notes, and snippets.

View rozanovz's full-sized avatar

Alexey Rozanov rozanovz

View GitHub Profile
in Model.php line 424
at Model->fill(array('webhosting' => array('package' => null, 'term' => null, 'initl_price' => null, 'ren_price' => '6', 'primary_domain_name' => 'sadasda', 'init_price' => '5'), 'domains' => array(array('name' => 'asdasd', 'tld' => array('id' => '2', 'name' => 'academy'), 'reg_type' => array('name' => 'Registration', 'value' => 'registration'), 'term' => array('name' => '1 year', 'value' => '1'), 'init_price' => '5', 'ren_price' => '5')), 'manual_subscriptions' => array(array('description' => 'dasda', 'term' => array('name' => '3 month', 'value' => '3'), 'init_price' => null, 'ren_price' => '4', 'start_date' => '2016-06-06T21:00:00.000Z', 'init' => array('price' => '5'))), 'area_code' => '1234', 'payment_id' => '3', 'box' => '3', 'building' => '3248', 'city' => 'Hellerport', 'client_id' => '1', 'coc_number' => '2', 'contact_email' => '[email protected]', 'contact_name' => 'Savanna Fritsch MD', 'corporate_name' => 'Mr. General Strosin Jr.', 'country' => 'ID', 'country_name' => 'Indon
response:{
"errors": [
{
"status": "422",
"code": "invalid-attribute",
"title": "Invalid Attribute",
"detail": "The corporate name field is required.",
"source": {
"pointer": "/data/attributes/corporate_name"
}
{
"data": {
"type":"orders",
"attributes": {
"hosting_package": {
"id": 2, "term": "1y"
}
,
"client_id":1,
"invoicing_data_id":2,
{
"_id": "5612d85f40c1c650630c70d6",
"guid": "b5685054-4d68-4005-926d-5b5940f42b15",
"isActive": false,
"picture": "http://placehold.it/32x32",
"age": 23,
"name": {
"first": "Navarro",
"last": "Foley"
},
[{
"name": "web",
"filters": [{
"name": "educationalPlatforms",
"value": "53",
"text": "Educational platforms"
}, {
"name": "healthcareFitness",
"value": "58",
"text": "Healthcare&Fitness"
Downloading/unpacking psycopg2==2.6.1 (from -r requirements.txt (line 3))
Downloading psycopg2-2.6.1.tar.gz (371kB): 371kB downloaded
Running setup.py (path:/tmp/pip_build_alex/psycopg2/setup.py) egg_info for package psycopg2
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
Downloading/unpacking psycopg2==2.6.1 (from -r requirements.txt (line 3))
Downloading psycopg2-2.6.1.tar.gz (371kB): 371kB downloaded
Running setup.py (path:/tmp/pip_build_alex/psycopg2/setup.py) egg_info for package psycopg2
Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2.egg-info
<html>
<head>
<meta name="robots" content="noindex,nofollow" />
<style>
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
html { background: #eee; padding: 10px }
img { bord
<button class="btn-cyan btn-sm group-update button color hvr-ripple-out" type="button"
ng-click="updateModal()" ng-if="isAvailableSaveAndUpdateBtn()" ng-hide="!isChanged">
Save & Update Team
</button>
поменять на
<button class="btn-cyan btn-sm group-update button color hvr-ripple-out" type="button"
ng-click="updateModal()" ng-if="isAvailableSaveAndUpdateBtn() && isChanged">
Save & Update Team
0. level 0
0.1. HTML and CSS
0.1.1. htmlacademy.ru
0.1.2. codecademy.ru (HTML and CSS course)
0.1.3. project "Make a Website" on codecademy.com
0.1.4. take any psd template and try to implement them with knowledge gain.
0.2. Javascript
0.2.1. codecademy.com (javascript)
0.2.2. codeschool.com (javascript road trip and best practices)
0.2.3. learn.javascript.ru (going deeper in js)