Autor: Rafath Khan

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...

Single Responsibility Principle [SRP]

Single Responsibility Principle [SRP]

W programowaniu obiektowym, każda klasa powinna dotyczyć tylko jednego autora/wątku/przypadku, dla którego może wykonywać pewne metody, ale zawsze dotyczy to tego konkretnego właściciela. SRP powinna odpowiadać zasadzie: The [classname] [method] itself The Hero attacks...

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...

#google – unit_test vs rspec

#google – unit_test vs rspec

Przy ostanim generowaniu controllera zauważyłem, że railsy generują unit_test zamiast rspec okazało się, że w Gemfile w grupe zarówno :test jak i :development powinnien znajdować się gem 'rspec-rails' Dodatkowo przy generowaniu nowego projektu w...

telnet na ftp

telnet na ftp

Ostatnio miałem problem z dostępem do ftp, poniżej prezentuje jak wykorzystać telnet i port 21. Oczywiście potrzebny nam będzie program telnet: apt-get install telnet i potem > telnet host 21 > user nazwa_usera >...