Kategoria: Zzzz..

PHP – design patterns

PHP – design patterns

Five common PHP design patterns source: http://www.ibm.com/developerworks/library/os-php-designptrns/ Editor’s note: See the follow-up article „Five more PHP design patterns” to learn about five additional design patterns that you might find useful. Design patterns were introduced...

DCP – HOW to handy instruction

DCP – HOW to handy instruction

Creating A Feature Film DCP Using OpenDCP October 28th, 2013 | Author: Ben Allan ACS This article has been updated with new information gained from doing several DCP’s over the last year and with...

notka #4 rake tasks…

notka #4 rake tasks…

I sometimes get confused between the different db rake tasks – what is the difference between db:setup and db:reset, for example? So to clear up some of my confusion – and maybe some of...

notka #2 Formularze w Laravel 5.x

notka #2 Formularze w Laravel 5.x

Tworzenie API ma to do siebie, że nie trzeba martwić się o front, wystarczy w backendzie stworzyć odpowiednie funkcje i v`oila. Kolejną funkcjonalnością było dodanie formularzy do zarządzania danymi. W Laravel tworzenie jest formularzy...

How to install MySQL server 5.6 on Debian 7 and 8

How to install MySQL server 5.6 on Debian 7 and 8

source: http://www.debiantutorials.com/install-mysql-server-5-6-debian-7-8/ Debian provides MySQL server 5.5 with both wheezy and jessie but some the latest stable version is 5.6 which supports InnoDB Full-text search. Here’s how to install MySQL server 5.6: 1. Download...

Postgresql and hstore extension

Postgresql and hstore extension

Recently I needed to add hstore extension to postgresql… default in v. 9.3.5 its not installed… so on debian you should do: $ sudo apt-cache search hstore => postgresql-contrib-9.1 – additional facilities for PostgreSQL...

devise z własnym layoutem

devise z własnym layoutem

dobre rozwiązania in routes: devise_for :users, controllers: { sessions: 'sessions' } Then in app/controllers/sessions_controller.rb class SessionsController < Devise::SessionsController layout 'devise', only: [:new] end http://stackoverflow.com/questions/4982073/different-layout-for-sign-in-action-in-devise  

phantomjs – na ubuntu/debianie

phantomjs – na ubuntu/debianie

do testow akceptacyjnych wykorzystujących js – potrzebny jest phantomJS… instalacja na ubuntu: #!/usr/bin/env bash # This script install PhantomJS in your Debian/Ubuntu System # # This script must be run as root: # sudo...