自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

BitterCoffee

I am not a nerd. I am just cleverer than you.

  • 博客(14)
  • 资源 (2)
  • 收藏
  • 关注

转载 Page Replacement

Notes(from here)Local vs. global replacementWhen a process incurs a page fault, a local page replacement algorithm selects for replacement some page that belongs to that same process (or a group of pro

2016-03-04 23:14:27 646

原创 JavaScript String split() Method

Syntaxstring.split(separator,limit)Example 1var str = "How are you doing today?";var res = str.split();The result of res will be an array with only one value:How are you doing today?Example 2var str =

2016-02-29 01:12:59 384

原创 JavaScript String length Property

Return the number of characters in a string:var str = "Hello World!";var n = str.length;The result of n will be:12

2016-02-29 01:08:54 295

原创 html - get the id of onclick(this), onfocus(this) or whatever(this)

<html> <head> function myOnclick(x){ var iddddd = x.id;//iddddd -> abcd } </head> <body> <input type="text" id="abcd" onclick="myOnClick(this)"...>...</i

2016-02-28 22:47:56 328

原创 Password Validation using regular expressions(JavaScript)

Including digit check, uppercase check, lowercase check, the length of password check, blank check.<script type="text/javascript"> function checkForm(form) { if(form.username.value == "") {

2016-02-28 22:42:48 993

原创 Basic C++ Container classes summary(Array, Vector, List)

ContainersArrayConstructorarray<int,10> arr;Iterate//approach 1for(auto s = arr.begin(); s != arr.end(); s++){ cout << *s;}//approach 2for(const auto & s: arr){ cout << s;}Sortsort(arr.b

2016-02-26 23:12:26 316

原创 Bridges and Frame Filtering

A 要发送给B,但不知道B的位置,所以发给了两个Segment的所有电脑,同时bridge现在知道了A的确切位置B要发送给A,已经知道A的位置,同时也知道B的位置,都在Segment 1 里面,所以只在Segment 1里面运行其他同理

2016-02-25 22:47:09 368

原创 JavaFx Notes

源文章(国内不知道要不要用梯子)Change sub fxml gui parts at runtime with Button ClickMainApp.javaLoads the MainView.fxmlMainView.fxml<?import javafx.scene.control.*?><?import javafx.scene.layout.*?> <BorderPane xml

2016-02-25 21:35:40 456

原创 Processes and Memory Organisation

Processes and Memory OrganisationCODE(静态存储区域)Also known as the TEXT SegmentUsually starts at or near address 0 and does not change size during the lifetime of the processContains: the machine instr

2016-02-24 00:28:46 295

原创 Memory Management(1)

Memory management (1)Memory HierarchiesComputers typically have memory hierarchiesRegisters, L1/L2/L3 cacheMain memoryDisks“Higher memory” is faster, more expensive and volatile, “lower

2016-02-23 22:34:14 329

原创 Memory Management(2)

Relocation and ProtectionPrinciplesRelocation: when a program is run, it does not know in advance which partition/addresses it will occupyCannot simply generate static addresses that are a

2016-02-23 22:31:51 446

原创 Pointers

PointersVariables:HasA nameAn addressA sizeA value Address of: & Pointers: *Used to denote a pointerA variable which will hold the address of some other variableRemem

2016-02-21 03:34:32 320

原创 Inheritance and virtual functions

What is inheritance?models the ‘is-a’ relationshipWhy do it?Get all member functions and data of the base classes, for free, without having to (re-)write them yourselfUsing inherit

2016-02-19 21:59:16 434

原创 Basic C++ Container classes summary(Array, Vector, List)

Containersarrayconstructorarray arr;iterateapproach 1                    for(auto s = arr.begin(); s != arr.end(); s++){                         cout                     }

2016-02-19 21:20:03 274

WEKA Revised:Data Mining Practical Machine Learning Tools and Techniques(3rd)

WEKA Revised:Data Mining Practical Machine Learning Tools and Techniques(3rd)

2015-04-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除