<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[SimonHeeeee的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/SimonHeeeee</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; SimonHeeeee]]></copyright><item><title><![CDATA[Ruby on Rails testing using rspec]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109699646</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109699646</guid><author>SimonHeeeee</author><pubDate>Sun, 15 Nov 2020 02:10:06 +0800</pubDate><description><![CDATA[Testing
# Gemfile

group :development, :test do
  gem 1
  gem 2
  gem 3
end

group :development do
  gem 4
  gem 5
  gem 6
end

# spec folder
#		rails_helper.rb
#		spec_helper.rb
# 	model folder
#			name_spec.rb
#		features folder
#			names_spec.rb

# in m]]></description><category></category></item><item><title><![CDATA[Java subtype, extension, and inheritance]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109685857</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109685857</guid><author>SimonHeeeee</author><pubDate>Sat, 14 Nov 2020 03:16:08 +0800</pubDate><description><![CDATA[Interface
Interface separates the specification of an object from its implementation
Each class is a subtype of any interfaces it implements.
public interface Displaceable {
  public int getX ();
  public int getY ();
  public void move(int dx, int dy);
}
]]></description><category></category></item><item><title><![CDATA[Java ASM Example]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109685852</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109685852</guid><author>SimonHeeeee</author><pubDate>Sat, 14 Nov 2020 03:14:31 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[Java ASM 简介]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109685731</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109685731</guid><author>SimonHeeeee</author><pubDate>Sat, 14 Nov 2020 01:25:00 +0800</pubDate><description><![CDATA[Java ASM
Features of Java Abstract Stack Machines

Workspace

keeps trach of expression or command that the computer is currently simplying.


Stack: static memory allocation stored in RAM in a contiguous block

Almost everything including variables stored]]></description><category></category></item><item><title><![CDATA[LaTex Citation And Footnote 引文和脚注]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109684961</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109684961</guid><author>SimonHeeeee</author><pubDate>Sat, 14 Nov 2020 00:09:00 +0800</pubDate><description><![CDATA[LaTex: Citation and Footnote
Creating a .bib file
Using bibtex generator online
Inline citation \cite{label}.

\bibliography{location&amp;nameWithout.bib}
\bibliographystyle{ieeeetr}

Autogenerate footnotes
\documentclass{article}

\usepackage[backend=bibt]]></description><category></category></item><item><title><![CDATA[Java Resizable Array Demo]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109684822</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109684822</guid><author>SimonHeeeee</author><pubDate>Sat, 14 Nov 2020 00:04:04 +0800</pubDate><description><![CDATA[Resizable Arrays
Invariant

0 &lt;= extent &lt;= buffer.length
if extent = 0 then all of the elements of the ResArray are 0.
if extent &gt; 0 then buffer[extent - 1] is the last non-zero value in the ResArray.

Interface
public class ResArray {
  
  privat]]></description><category></category></item><item><title><![CDATA[Core Java Basics]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109684781</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109684781</guid><author>SimonHeeeee</author><pubDate>Sat, 14 Nov 2020 00:02:22 +0800</pubDate><description><![CDATA[Java Interface
public interface Displaceable {
  public int getX ();
  public int getY ();
  public void move(int dx, int dy);
}

public class Point implements Displaceable {
  private int x, y;
  public Point(int x0, int y0) {
    x = x0;
    y = y0;
  }
]]></description><category></category></item><item><title><![CDATA[Ruby Or Equal Operator: ||=]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109672560</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109672560</guid><author>SimonHeeeee</author><pubDate>Fri, 13 Nov 2020 12:42:56 +0800</pubDate><description><![CDATA[Conditional Assignment Operator
a ||= nil # =&gt; nil
a ||= 0 # =&gt; 0
a ||= 2 # =&gt; 0

If a is undefined or false, the assign b to a, otherwise do nothing

]]></description><category></category></item><item><title><![CDATA[Ruby on Rails: Nested Resources Demo]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109672530</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109672530</guid><author>SimonHeeeee</author><pubDate>Fri, 13 Nov 2020 12:38:43 +0800</pubDate><description><![CDATA[rails new nestedResourcesDemo

rails g scaffold User username:string passwrod_hash:string

rails g scaffold Post user:references title:string content:text

# user.rb
has_many :post

# post.rb
belongs_to :user

rails db migrate

rails c

@user = User.create]]></description><category></category></item><item><title><![CDATA[Ruby on Rails: Form and Authentication 表以及用户登陆与退出]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109672497</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109672497</guid><author>SimonHeeeee</author><pubDate>Fri, 13 Nov 2020 12:37:07 +0800</pubDate><description><![CDATA[Form

The  destination  url
Whether  the  data  is  associated  with  a  model
The  field  names
The  field  input  types
The  display  name  of  fields

With URL:
&lt;%= form_with url: '/login' do |form| %&gt;
	&lt;%= form.label :email %&gt;
	&lt;%= form.]]></description><category></category></item><item><title><![CDATA[Rails server error: server is already running]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109633114</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109633114</guid><author>SimonHeeeee</author><pubDate>Wed, 11 Nov 2020 22:38:58 +0800</pubDate><description><![CDATA[server is already running.
Solution: kill the server
kill -9 $(lsof -i tcp:3000 -t)


]]></description><category></category></item><item><title><![CDATA[Ruby on Rails: database relations and common errors 数据库关系建立以及常见问题]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109613712</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109613712</guid><author>SimonHeeeee</author><pubDate>Wed, 11 Nov 2020 10:33:52 +0800</pubDate><description><![CDATA[One-to-many and Many-to-many relationships
rails g scaffold Department code:string name:string

rails g scaffold Course department:references code:integer title:string description:text

rails db:migrate

rails g scaffold User first_name:string last_name:st]]></description><category></category></item><item><title><![CDATA[Ruby: Scaffold Generator, AREL, Validation, One-to-many, Many-to-many]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109282358</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109282358</guid><author>SimonHeeeee</author><pubDate>Mon, 26 Oct 2020 05:49:34 +0800</pubDate><description><![CDATA[Scaffold Generator
It generates:

Model/migration
contoller file and implementation
the entire view folder
all restful routes

rails new blogDemonstration

cd blogDemonstration/

rails g scaffold Post title:string content:text

rails d scaffold Post

# in ]]></description><category></category></item><item><title><![CDATA[Ruby on Rails Blog Project 创建博客网站项目]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109143599</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109143599</guid><author>SimonHeeeee</author><pubDate>Sun, 18 Oct 2020 12:31:00 +0800</pubDate><description><![CDATA[Blog project
Set up project
rails new Blog --db=postgresql
cd Blog
rails s -b 0.0.0.0
# localhost:3000

Home Page


get '/pages', to: 'pages#home' in routes.rb


Create pages_controller.rb in controllers folder
class PagesController &lt; ApplicationControl]]></description><category></category></item><item><title><![CDATA[Bootstrap v5 Button 带有图标的按键]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109142822</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109142822</guid><author>SimonHeeeee</author><pubDate>Sun, 18 Oct 2020 11:19:27 +0800</pubDate><description><![CDATA[Button Icon
Fontawesome
&lt;!-- google fonts --&gt;
&lt;script src="https://kit.fontawesome.com/1d9373cc66.js" crossorigin="anonymous"&gt;&lt;/script&gt;

&lt;button type="button" class="btn btn-dark btn-lg"&gt;
  &lt;i class="fab fa-apple"&gt;&lt;/i&gt;
 ]]></description><category></category></item><item><title><![CDATA[Bootstrap v5 Grid Design and Container 布局设计]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109142803</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109142803</guid><author>SimonHeeeee</author><pubDate>Sun, 18 Oct 2020 11:18:14 +0800</pubDate><description><![CDATA[Grid Layout System
Total columns for single row is 12. col-6 is 50%.
sm not specified will automatically to be col-sm-12
&lt;div class="container"&gt;
  &lt;section id="layout 1"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-lg-3 col-md-4 col-sm]]></description><category></category></item><item><title><![CDATA[Bootstrap v5 Navigation Bar 导航栏]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109142784</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109142784</guid><author>SimonHeeeee</author><pubDate>Sun, 18 Oct 2020 11:17:31 +0800</pubDate><description><![CDATA[Bootstrp 5
CSS
&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/css/bootstrap.min.css" integrity="sha384-DhY6onE6f3zzKbjUPRc2hOzGAdEf4/Dz+WJwBvEYL/lkkIsI3ihufq9hk9K4lVoK" crossorigin="anonymous"&gt;

Navigation Bar
]]></description><category></category></item><item><title><![CDATA[网站设计常用工具]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109142763</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109142763</guid><author>SimonHeeeee</author><pubDate>Sun, 18 Oct 2020 11:16:03 +0800</pubDate><description><![CDATA[Design tools
Design ideas:
​	Dribbble.com
​	Design-pattern.com
Design:
​	Balsamic.cloud
​	Sneakpeekit.com
Fonts:
​	Google fonts
Add font
go to Google fonts
Auto-generated:
&lt;link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100&amp;fami]]></description><category></category></item><item><title><![CDATA[Ruby: Arel and Forms]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109139466</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109139466</guid><author>SimonHeeeee</author><pubDate>Sat, 17 Oct 2020 22:47:29 +0800</pubDate><description><![CDATA[Data types

string
text
integer
float
decimal
datetime
timestamp
time
date
boolean
references

SQL -&gt; ORM -&gt; Arel
# Common commands
User.where(name: 'Simon')
User.find_by(name: 'Simon')
User.limit(2)
User.order(id: :desc)

# Chaining commands
Post.wh]]></description><category></category></item><item><title><![CDATA[Kaggle IBM员工离职预测:决策树和逻辑回归]]></title><link>https://blog.csdn.net/SimonHeeeee/article/details/109107240</link><guid>https://blog.csdn.net/SimonHeeeee/article/details/109107240</guid><author>SimonHeeeee</author><pubDate>Thu, 15 Oct 2020 23:02:00 +0800</pubDate><description><![CDATA[]]></description><category></category></item></channel></rss>