Skip to content

Instantly share code, notes, and snippets.

View rozanovz's full-sized avatar

Alexey Rozanov rozanovz

View GitHub Profile
$rootScope.$on(events.OPENED, function (event, current) {
jQuery(el).find('.' + selectors.label)
.each(function (index, header) {
var ctrl = angular.element(header).scope();
if (ctrl) {
ctrl.isOpen = header === current ? !ctrl.isOpen : false;
}
});
});
class NavBarCtrl {
constructor($state, Auth, $scope) {
this.Auth = Auth;
this.$state = $state;
$scope.$on('$destroy', () => eventName.off(null, null, this));
}
}
moduleName.controller('NavBarCtrl', NavBarCtrl);
setTimeout(function () {
el.find('.group-edit-form .select2-input.ui-select-search').click(function () {
this.focus();
});
}, 300);
.fadein.ng-hide-remove,
.fadeout.ng-hide-add.ng-hide-add-active {
opacity: 0;
}
.fadeout.ng-hide-add,
.fadein.ng-hide-remove.ng-hide-remove-active {
opacity: 1;
}
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)
<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
<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
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
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 ...
[{
"name": "web",
"filters": [{
"name": "educationalPlatforms",
"value": "53",
"text": "Educational platforms"
}, {
"name": "healthcareFitness",
"value": "58",
"text": "Healthcare&amp;Fitness"