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

Enable cross domain in Chrome

[Author: Dingyu]   [Tue, 2015-06-30, 21:50]   [1149 views]

HTML

1. Close all opened Chrome windows
2. Open a terminal and get into the directory for "chrome.exe"
3. chrome.exe --disable-web-security ... see full article

Good Article: Capturing Audio & Video in HTML5

[Author: Dingyu]   [Sat, 2015-06-20, 17:50]   [1144 views]

HTML Javascript

Good Article: Capturing Audio & Video in HTML5
http://www.html5rocks.com/en/tutorials/getusermedia/intro/ ... see full article

Solution for "bundle install" SSL problem on Windows

[Author: Dingyu]   [Wed, 2015-06-17, 00:21]   [1223 views]

Ruby on Rails

if you run "bundle install" on Windows and get error like:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certific ate verify failed
then the article below may help you:
https://gist.github.com/fnichol/867550 ... see full article

Reference sheet to Golang (To be continued soon)

[Author: Ziming]   [Tue, 2015-06-09, 22:56]   [1690 views]

Others

**Some parts of this article are cited from other public sources**
  Golang Official Website
  Golang Packages
Other resources:
  Book
  Flow
  Examples
  Advantages of Golang
  IDEs (I use LiteIDE)
  Import different kinds of packages
Let's get started
Majority of Go code is like C
Declare variabes ... see full article

Tutorial 2 -- Get familiar with Ruby On Rails (To be completed)

[Author: Ziming]   [Wed, 2015-03-18, 23:36]   [1135 views]

Ruby on Rails

This tutorial is mainly based on the official Rails tutorial, chapter "Get Started"
Highlights
Rails is written with Ruby.
Rails default directories:
[Quote] A model represents the information (data) of the application and the rules to manipulate that data. In the case of Rails, models are primarily ... see full article

Tutorial 1 -- Get familiar with Git & GitHub with project "Haigy"

[Author: Ziming]   [Wed, 2015-03-18, 00:25]   [1604 views]

Others

This page has commands and procedures running in Aptana terminals for haigy project, assume you have Git and GitHub set up already. 
For common Git commands, please refer to this blog.
Layer connections: (assume you are user0, and the project is located at another remote server)
Place to get SSH URL ... see full article

Nice Bash Script Tutorials

[Author: Dingyu]   [Fri, 2015-03-13, 16:25]   [1091 views]

Linux

http://linuxconfig.org/bash-scripting-tutorial ... see full article

Serving Rails pre-compressed assets through Apache

[Author: Dingyu]   [Thu, 2015-02-26, 03:07]   [1287 views]

Ruby on Rails Linux

Serving Rails pre-compressed assets through Apache
Use the below configuration template in the file /etc/httpd/conf/httpd.conf to configure a Rails application.
<VirtualHost *:80>
    ServerName mywebsite.com
    DocumentRoot /my/rails_app/public
    <Directory /my/rails_app/public>
        Al ... see full article

Reference websites

[Author: Ziming]   [Wed, 2015-02-25, 00:45]   [1541 views]

Others

basics:
Git                         -- http://git-scm.com/doc
                            -- http://rogerdudler.github.io/git-guide/
HTML, CSS, JavaScript, etc. -- http://www.w3schools.com/
CSS Bootstrap               -- http://getbootstrap.com/css/
Backbone.js                 -- http://backbonejs.o ... see full article

A quick nav-bar with Bootstrap and Ruby

[Author: Ziming]   [Sun, 2015-02-08, 19:54]   [1216 views]

Ruby on Rails

Under /view/layouts/... .html.erb, add the following things before :
Then, at the beginning of each page which linked to nav-bar, add the following code at the very beginning of the script:
    (e.g. the project page) ... see full article
Previous 1 2 3 4 5 6 7 8 Next

Recent Most Popular Blogs: