angular style guide

https://github.com/johnpapa/angular-styleguide

Leave a comment

Filed under Technical Links

Revolution Analytics, Data analysis software

Revolution Analytics, Data analysis software

http://www.revolutionanalytics.com/revolution-r-open

Leave a comment

Filed under Technical Links

selenium testing with python and Page Object Model

http://engineering.aweber.com/getting-started-with-ui-automated-tests-using-selenium-python/

http://willowtreeapps.com/blog/organizing-automated-tests-with-page-object-model/

Leave a comment

Filed under Technical Links

Tfs online automatic post build nuget package creation

Here you can find how to do it.

http://www.codewrecks.com/blog/index.php/2014/02/01/automatically-build-and-publish-nuget-packages-during-tfs-build/

Here you can find how to call the script from tfs online

http://stackoverflow.com/questions/21176342/running-pre-build-scripts-in-team-foundation-service-visual-studio-online-for

Leave a comment

Filed under Technical Links

Git production publishing

1.- Clone (mirror) your repository in the production server

cd ~
git clone –mirror git@bitbucket.org:<username>/<reponame>.git

2.- Checkout to www folder:

cd ~/.git
GIT_WORK_TREE=/home/<username>/www git checkout -f production

3.- Once changes are in the shared repository

git fetch
GIT_WORK_TREE=/home/<username>/www git checkout -f

You can setup a webhook in bitbucket so this happens automatically, but i have to figure out yet how to handle the database updates.

Full article:

http://jonathannicol.com/blog/2013/11/19/automated-git-deployments-from-bitbucket/

Leave a comment

Filed under Technical Links

delete repeated records from sql

with table1 as (

select a,b,c,

count(*) over (partition by b) ct, — ct will count how many rows have duplicated b

row_number() over (partition by b order by b) as rn –rn will add a row number per partition so you can filter where rn>1

from tableX

)

Select * from table1 where rn > 1

Leave a comment

Filed under Technical Links

Data driven unit test

https://msdn.microsoft.com/en-us/library/ms182527.aspx

http://www.codeproject.com/Articles/710072/Data-driven-troubles

Leave a comment

Filed under Technical Links