PigRider Blogs

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

Manual of the PigRider Global Layout Engine: PigRiderLayout

[Author: Dingyu]   [Thu, 2014-09-18, 16:08]   [2494 views]

Ruby on Rails

Six steps to hook PigRiderLayout into a new PigRider Application (click here to see how to make this PigRiderLayout engine):
I have created GitHub repositories for pigrider.com website, please click here to see more details.
1. Edit Gemfile in the new application and add this line:
gem 'pigrider_lay ... see full article

Manual of the PigRider User Engine: PigRiderUser

[Author: Dingyu]   [Thu, 2014-09-18, 16:07]   [1905 views]

Ruby on Rails

Six steps to hook PigRiderUser into a new PigRider Application:
I have created GitHub repositories for pigrider.com website, please click here to see more details.
1. Edit Gemfile in the new application and add this line:
gem 'pigrider_user', :path=>'../pigRiderUser'
Then run bundle install to insta ... see full article

pigrider.com GitHub Repositories

[Author: Dingyu]   [Thu, 2014-09-18, 15:51]   [1502 views]

HTML CSS Javascript Ruby on Rails Git

pigrider.com is our early project for learning Ruby on Rails. Its source code may be somewhat native. However, it is a very good resource.
Here are GitHub repositories for it:
Pigrider Blogs Website (http://blogs.pigrider.com/):
https://github.com/Superlentil/pigrider.com_blogs
Pigrider Tools Websit ... see full article

Invoke getters at run time with your choices

[Author: ming.lian]   [Tue, 2014-09-02, 11:09]   [1313 views]

Java

Here is the scenario:
If you have 50 private property data with 50 getters in your class, and you do not know which getter you need to call at the run time. For example: getName(), getSex(), getAddress(), etc. You may need to call some of those 50 but not all, to fill your data fields, then you have ... see full article

Make Oracle VM VirtualBox guests share the host's VPN connection

[Author: Dingyu]   [Fri, 2014-08-29, 15:44]   [2026 views]

Others

Make Oracle VM VirtualBox guests share the host's VPN connection (follow below settings):
Oracle VM VirtualBox Manager   -->
    Settings   -->
        Network   -->
            Adapter 1   -->
                Attached to:   -->   NAT
            Adapter 2   -->
                Attached to:   --> ... see full article

Solution: gem Paperclip "file -b --mime-type" doesn't work well in Windows.

[Author: Dingyu]   [Fri, 2014-08-22, 23:17]   [2901 views]

Ruby on Rails

Gem Paperclip "file -b --mime-type" doesn't work well in Windows.
Error messages:
[paperclip] Error while determining content type: No such file or directory - file -b --mime ...
[paperclip] Content Type Spoof: ... (["image/jpeg"]), content type discovered from file command: . See documentation to a ... see full article

Google Style Guide

[Author: Dingyu]   [Mon, 2014-08-04, 23:37]   [1334 views]

Others

Google Style Guide
https://code.google.com/p/google-styleguide/ ... see full article

Rename a local Git branch

[Author: Dingyu]   [Wed, 2014-06-11, 15:01]   [1354 views]

Git

git branch -m OldName NewName
If you want to rename the current branch, you can simply do:
git branch -m NewName ... see full article

Handle Asian characters in file names in Git

[Author: Dingyu]   [Fri, 2014-06-06, 14:56]   [1408 views]

Git

git config --global core.quotepath false ... see full article

Resync git repo with new gitignore file

[Author: Dingyu]   [Mon, 2014-05-26, 22:37]   [1644 views]

Git

git rm -r --cached .
git add .
git commit -m ".gitignore is now working" ... see full article
Previous 1 2 3 4 5 6 7 8 Next

Recent Most Popular Blogs: