PigRider Blogs

Sign In
HTML CSS Javascript Ruby on Rails C++ Java Python SQL Git Linux Others All By Author: Dingyu
Previous 1 2 3 4 5 6 Next

Good Article About Linux Permissions

[Author: Dingyu]   [Tue, 2016-07-12, 14:17]   [794 views]

Linux

Good Article About Linux Permissions
https://www.linux.com/learn/understanding-linux-file-permissions ... see full article

Use "gedit" edit files on a remote server which doesn't support GUI

[Author: Dingyu]   [Wed, 2016-03-09, 19:17]   [961 views]

Linux

Memo
Use "gedit" edit files on a remote server which doesn't support GUI:
ssh -C -Y username@serverhostname gedit /path/of/the/file
Here:
-C      Requests compression of all data (including stdin, stdout,
        stderr, and data for forwarded X11 and TCP/IP connections).  The
        compression al ... see full article

Good Articles about Caching with Rails

[Author: Dingyu]   [Sun, 2016-03-06, 01:56]   [925 views]

Ruby on Rails

https://robots.thoughtbot.com/introduction-to-conditional-http-caching-with-rails
https://robots.thoughtbot.com/take-control-of-your-http-caching-in-rails
https://devcenter.heroku.com/articles/http-caching-ruby-rails
http://guides.rubyonrails.org/caching_with_rails.html
http://edgeapi.rubyonrails.o ... see full article

ActiveRecord Concurrency in Rails4: Avoid leaked connections

[Author: Dingyu]   [Wed, 2016-01-27, 14:31]   [1288 views]

Ruby on Rails

Good references for this topic:
https://bibwild.wordpress.com/2014/07/17/activerecord-concurrency-in-rails4-avoid-leaked-connections/
https://www.digitalocean.com/community/questions/rails-app-getting-a-activerecord-connectiontimeouterror-timeout-error
http://stackoverflow.com/questions/11248808/con ... see full article

Git Abort With Error: Filename Too Long

[Author: Dingyu]   [Thu, 2015-10-01, 13:13]   [1376 views]

Git

This problem may only happen in Windows. Details please see this Stack Overflow Solution.
Solution:
1. Update to Git 1.9 (or later)
2. Launch Git Bash
3. Get to your Git repository which 'suffers' of long paths issue
4. Enable long paths support with command: git config core.longpaths true ... see full article

A Lightweight JavaScript Modularization Library That Works Great With Rails Assets Pipeline

[Author: Dingyu]   [Fri, 2015-07-10, 10:08]   [1253 views]

Javascript

modulejs: https://larsjung.de/modulejs/
It is a lightweight library for modularizing JavaScript code. It works so great with Rails Assets Pipeline. It might be a good substitution for "RequireJS" if you wish to keep using Rails Assets Pipeline. ... see full article

Online Diff Checker

[Author: Dingyu]   [Wed, 2015-07-08, 17:18]   [1475 views]

Others

Online Diff Checker: https://www.diffchecker.com/ ... see full article

Good Articles for Barcode

[Author: Dingyu]   [Tue, 2015-07-07, 21:17]   [1314 views]

Others

1. Types of Barcodes: Choosing the right barcode: EAN, UPC, Code128, ITF-14 or Code39? ... see full article

Setting up an SSL secured Webserver with CentOS

[Author: Dingyu]   [Sat, 2015-07-04, 16:57]   [1304 views]

Linux

Setting up an SSL secured Webserver with CentOS
http://wiki.centos.org/HowTos/Https ... see full article

Good Article About Secure User Authentication

[Author: Dingyu]   [Sat, 2015-07-04, 15:49]   [1304 views]

Others

https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence ... see full article
Previous 1 2 3 4 5 6 Next

Most Popular By This Author: