2018.11.07 No Comments 0 views
Objective-C // 1.截取字符串 NSString*string =@"sdfsfsfsAdfsdf"; string = [string substringToIndex:7];//截取掉下标7之后的字符串 NSLog(@"截取的值为:%@",string); [string substringFromIndex:2];//截取掉下标2之前的字符串 NSLog(@"截取的值为:%@",string); // 2.匹配字符串 NSString*string =@"sdfsfsfsAdfsdf"; NSRangerange = [stringrangeOfString:@"f"];//匹配得到的下标 NSLog(@"rang:%@",NSStringFromRange(range)); string = [string substringWithRange:range];...... >>阅读全文<<

Millennials Hate Facebook Ads

2016.06.12 No Comments 1,370 views
Latest news 52521 website has excerpts, and interested friends can look A new Harris poll, commissioned by Lithium, confirms what everybody knows, millennials hate ads in their social media feeds. What that really means is that they don't want ads to appear in their Facebook news feeds because they're expecting to see posts by their friends. According to the study, 56 percent of millennials are actually motivated to stop using social media platforms (Facebook obviously!) because of the ads...... >>阅读全文<<

English classic philosophical sentence 经典英文哲理句子

2016.05.28 No Comments 597 views
1.The past is gone and static. Nothing we can do will change it. Thefuture is before us and dynamic. Everything we do will affect it. 往昔已逝,静如止水;我们无法再做改变。而前方的未来正生机勃勃;我们所做的每一件事都将影响着它。 2.You laugh at me for being different, but I laugh at you for being the same. 你嘲笑我和别人不一样,我嘲笑你和大家都一样。 3.The consequences of today are determined by the actions of the past. To change your future, alter your decisions today. 今天的果,缘于过去行...... >>阅读全文<<


2013.09.01 No Comments 602 views
If you are not learning something new every day, you are wasting away days of your life. 如果每天不学点新的东西,就是在浪费生命。 >>阅读全文<<


2013.09.01 No Comments 596 views

准确数字An Exact Number

2013.08.31 No Comments 542 views
A tourist was visiting New Mexico and was amazed at the dinosaur bones lying about.       "How old are these bones?" the tourist asked an elderly Native American, who served as a guide.       "Exactly one hundred million and three years old.       "How can you be so sure?" inquired the tourist.       "Well," replied the guide, " a geologist came by here and told me these bones were one hundred million years old, and that was exactly three years ago.       一位游客在新墨西哥游览。他对随处...... >>阅读全文<<


2013.08.31 No Comments 565 views
There seemed to be no use in waiting by the little door, so she went back to the table, half hoping she might find another key on it, or at any rate a book of rules for shutting people up like telescopes: this time she found a little bottle on it, ("which certainly was not here before," said Alice,) and round the neck of the bottle was a paper label, with the words "DRINK ME" beautifully printed on it in large letters. It was all very well to say "Drink me," but the wise little Alice was n...... >>阅读全文<<


2013.08.31 No Comments 569 views
If you don't make a choice, the choice makes you. 你不主导命运,就会被命运主导。   这句话来自电影《灵魂战车Ghost Rider》,告诉人们要勇于做选择,不然就只能被动接受选择,你要选择哪一种? >>阅读全文<<


2013.08.30 No Comments 599 views
Faith can move mountains. 信念能移山。 坚定的信念能够把大山移动,这是字面意思,不如我们理解为,精诚所至,金石为开。 >>阅读全文<<


2013.08.29 No Comments 651 views
Down, down, down. There was nothing else to do, so Alice soon began talking again. "Dinah'll miss me very much tonight, I should think!" (Dinah was the cat.) "I hope they'll remember her saucer of milk at tea-time. Dinah my dear! I wish you were down here with me! There are no mice in the air, I'm afraid, but you might catch a bat, and that's very like a mouse, you know. But do cats eat bats, I wonder?" And here Alice began to get rather sleepy, and went on saying to herself, in a dreamy s...... >>阅读全文<<