Skip to content

Instantly share code, notes, and snippets.

View morzzz007's full-sized avatar

Márton Papp morzzz007

View GitHub Profile
@morzzz007
morzzz007 / gist:d83aa66ea34b9253540f
Last active August 29, 2015 14:15
validatorUtils
// First step:
beforeEach(function () {
validatorUtils.mockValidators();
});
// Sample test:
describe('sample test',function(){
it('should do something', function(){
controller();
@morzzz007
morzzz007 / apply.js
Created November 24, 2014 12:58
Apply after the next event cycle
_.defer(function(){ $scope.$apply(); });
@morzzz007
morzzz007 / new_gist_file.txt
Last active October 9, 2015 07:57
Lensa start
L4E start:
LENSA_CLIENT_ID=1 LENSA_ENV=develop LENSA_GENERATION=l4e python serve_ats.py -c config/protractor_l4e.py -d
OLD Pooled start:
LENSA_CLIENT_ID=1 LENSA_ENV=develop LENSA_GENERATION=pooled python serve_ats.py -c config/protractor.py -d -p 4999
LENSA_CLIENT_ID=1 LENSA_ENV=develop LENSA_GENERATION=pooled python serve_ats.py -c config/protractor.py -p 4999
Career pages start:
export LENSA_GENERATION=l4e
export LENSA_ENV=develop
@morzzz007
morzzz007 / index.html
Last active August 29, 2015 14:10
Buckets
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Grid with full height columns</title>
</head>
<body ng-app="lensaNgApp" ng-controller="lensaController">
<nav class="navbar navbar-default" role="navigation">