Profile cover photo
Profile photo
Iruya Rasarevu
39 followers
39 followers
About
Posts

Post has attachment
FAST SET POSTGRESQL PASSWORD::
sudo -i -u postgres psql ALTER ROLE postgres WITH PASSWORD 'postgres'; Done!
Add a comment...

Post has attachment
kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.
Работая с Kubuntu 16.10, встретил такую багу при настройке профиля Konsole под себя: при перезагрузке и попытке открытия Konsole получаю ошибку, до входа в оболочку профиля: kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*App...
Add a comment...

Post has attachment
filter parameter logging
# config/application.rb module Blog class Application < Rails :: Application config . filter_parameters << :secrets end end
Add a comment...

Post has attachment
**
Symbol to proc projects = Project.find(:all) projects.collect { |x| x.name }  = projects.collect(&:name)  //short and cool
Add a comment...

Post has attachment
**
Find through association class Task    belongs_to :project end class Project    has_many :tasks end ProjectController   @project = Project.find(params[:id])   @tasks = @project.tasks.find_all_by_column_name(false) end
Add a comment...

Post has attachment
**
RoR / Caching with instance variable def current_user    @current_user ||= User.find(session[:user_id]) end
Add a comment...

Post has attachment

Post has attachment

Post has attachment
Rails preload screen
Пилим паршиал  . В нем пишем css-свойства будущего прелоад скрина, в том числе и путь до гифки views/shared/_preloader.slim #loading style=' top: 0; height: 100%; width: 100%; position : fixed ; background : # 1C2126 no-repeat center center ; background-ima...
Add a comment...

Post has attachment
Wait while more posts are being loaded