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 User Engine: PigRiderUser

[Author: Dingyu]   [Thu, 2014-09-18, 16:07]   [1817 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]   [1384 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/):
Pigrider Tools Websit ... see full article

Invoke getters at run time with your choices

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


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]   [1865 views]


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]   [2719 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]   [1244 views]


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]   [1260 views]


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]   [1304 views]


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

Resync git repo with new gitignore file

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


git rm -r --cached .
git add .
git commit -m ".gitignore is now working" ... see full article

Java Web application with Mysql

[Author: lzhang]   [Wed, 2014-04-09, 15:21]   [2119 views]

Java SQL

1 Java connection to MySQL 
To start, let us work on a simple java application(no web) connected to MySQL database(other database will be similar). 
Software needed: 
      Java http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
      MySQL  http://dev.mysql.com/down ... see full article
Previous 1 2 3 4 5 6 7 8 Next

Recent Most Popular Blogs: