-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
2537 lines (912 loc) · 83.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="theme-next muse use-motion" lang="en">
<head><meta name="generator" content="Hexo 3.8.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2">
<link rel="stylesheet" href="/css/main.css?v=7.1.1">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=7.1.1">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=7.1.1">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=7.1.1">
<link rel="mask-icon" href="/images/logo.svg?v=7.1.1" color="#222">
<script id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Muse',
version: '7.1.1',
sidebar: {"position":"left","display":"post","offset":12,"onmobile":false,"dimmer":false},
back2top: true,
back2top_sidebar: false,
fancybox: false,
fastclick: false,
lazyload: false,
tabs: true,
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<meta property="og:type" content="website">
<meta property="og:title" content="前端 | 深圳史蒂芬库里">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="前端 | 深圳史蒂芬库里">
<meta property="og:locale" content="en">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="前端 | 深圳史蒂芬库里">
<link rel="canonical" href="http://yoursite.com/">
<script id="page.configurations">
CONFIG.page = {
sidebar: "",
};
</script>
<title>前端 | 深圳史蒂芬库里</title>
<noscript>
<style>
.use-motion .motion-element,
.use-motion .brand,
.use-motion .menu-item,
.sidebar-inner,
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .post-body,
.use-motion .collection-title { opacity: initial; }
.use-motion .logo,
.use-motion .site-title,
.use-motion .site-subtitle {
opacity: initial;
top: initial;
}
.use-motion .logo-line-before i { left: initial; }
.use-motion .logo-line-after i { right: initial; }
</style>
</noscript>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="en">
<div class="container sidebar-position-left
page-home">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">前端 | 深圳史蒂芬库里</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
</div>
<div class="site-nav-toggle">
<button aria-label="Toggle navigation bar">
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home menu-item-active">
<a href="/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i> <br>Home</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i> <br>Tags</a>
</li>
<li class="menu-item menu-item-categories">
<a href="/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i> <br>Categories</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i> <br>Archives</a>
</li>
</ul>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<section id="posts" class="posts-expand">
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/05/23/我的开发环境-GIT/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="超哥">
<meta itemprop="description" content>
<meta itemprop="image" content="/images/avatar.gif">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="前端 | 深圳史蒂芬库里">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/05/23/我的开发环境-GIT/" class="post-title-link" itemprop="url">我的开发环境 | GIT</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2019-05-23 15:37:47 / Modified: 16:30:28" itemprop="dateCreated datePublished" datetime="2019-05-23T15:37:47+08:00">2019-05-23</time>
</span>
<span class="post-category">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/web前端/" itemprop="url" rel="index"><span itemprop="name">web前端</span></a></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>团队开发在代码的管理上面,不同公司可能有不同的一些方案,我们公司现在使用的比较流行的GIT来管理。</p>
<p>使用GIT的童鞋或多或少遇到了一些苦恼的问题,有时也浪费时间,我想分享一下我的git的一些使用心得。</p>
<ol>
<li>考虑到代码分析与合并可能带来的问题,我们并不是直接在local repository直接修改代码,而是另外拷贝一份import到eclipse, 如下图</li>
</ol>
<p><img src="/2019/05/23/我的开发环境-GIT/Git-01.JPG" alt></p>
<p>可以看到我们多了一个代码compare的动作,这样做有几个好处:</p>
<ol>
<li>使用WinMerge软件可以很直观地看到修改的代码的部分,提交之前可以自己做一次code review。</li>
<li>可以极大的避免提交不必的代码到Remote从而引起编译错误或其它问题。</li>
<li>提交代码冲突local被覆盖的时候,新的修改在eclipse的folder还在。</li>
</ol>
<h2 id="GIT常用到的几个命令"><a href="#GIT常用到的几个命令" class="headerlink" title="GIT常用到的几个命令"></a>GIT常用到的几个命令</h2><p><em>1. 拿远程某个分支的更新</em><br><code>git pull</code></p>
<p><em>1. 拿远程某个分支的更新并保留本地的修改</em><br><code>git pull --rebase</code></p>
<p><em>3. 查看GIT的日志</em><br><code>git log</code></p>
<p><em>4. 查看GIT的修改状态</em><br><code>git status</code></p>
<p><em>5. 添加所有修改的文件</em><br><code>git add *</code></p>
<p><em>6. 添加要修改的文件</em><br><code>git add *</code></p>
<p><em>7. 提交的comment</em><br><code>git commit -m "your comment"</code></p>
<p><em>8. 修改commit但是还没有push的comment</em><br><code>git commit --amend</code></p>
<p><em>9. 把本地的修改提交到remote branch</em><br><code>git push</code></p>
<p><em>10. 比较文件的修改部分</em><br><code>git diff <file></code></p>
<p><em>11. 恢复GIT到之前的某个版本</em><br><code>git reset --hard <commit></code></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</div>
</article>
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/05/23/Java523诞生日-快乐编程/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="超哥">
<meta itemprop="description" content>
<meta itemprop="image" content="/images/avatar.gif">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="前端 | 深圳史蒂芬库里">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/05/23/Java523诞生日-快乐编程/" class="post-title-link" itemprop="url">Java523诞生日|快乐编程</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2019-05-23 11:01:12 / Modified: 13:24:59" itemprop="dateCreated datePublished" datetime="2019-05-23T11:01:12+08:00">2019-05-23</time>
</span>
<span class="post-category">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/web后端/" itemprop="url" rel="index"><span itemprop="name">web后端</span></a></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>1995年5月23, 由当时任职SUN微系统的James Gosling等人撰写的跨平台面向对象的设计语言Oak以Java的名称正式发布了。<br>刚好今天是java的诞生日,分享java编程里面的一些有意思的事情</p>
<h2 id="猿猿们有意思的注释!"><a href="#猿猿们有意思的注释!" class="headerlink" title="猿猿们有意思的注释!"></a>猿猿们有意思的注释!</h2><p><em>注重语法的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">return 1; # returns 1</span><br></pre></td></tr></table></figure></p>
<p><em>来自绝对菜鸟的注释</em></p>
<p><code>// I am not sure if we need this, but too scared to delete.</code><br>中文:个人不确认是不是需要,但是实在不敢删除</p>
<p><em>来自正直程序员的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">// I am not responsible of this code. </span><br><span class="line">// They made me write it, against my will.</span><br></pre></td></tr></table></figure></p>
<p>中文:个人不负责这块的质量,因为他们逼迫我违心的写了这段代码</p>
<p><em>来自电影的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">options.BatchSize = 300; //Madness? THIS IS SPARTA!</span><br></pre></td></tr></table></figure></p>
<p>中文:疯了吧?这是斯巴达!</p>
<p><em>绝对尽责的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">i++; // increase i by 1</span><br></pre></td></tr></table></figure></p>
<p>中文:给变量i增加一个记数</p>
<p><em>绝对会被忽略的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">Catch (Exception e) { </span><br><span class="line"> //who cares? </span><br><span class="line">}</span><br></pre></td></tr></table></figure></p>
<p>中文:谁在意?</p>
<p><em>绝对不能信任注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">/** </span><br><span class="line"> * Always returns true. </span><br><span class="line"> */ </span><br><span class="line">public boolean isAvailable() { </span><br><span class="line"> return false; </span><br><span class="line">}</span><br></pre></td></tr></table></figure></p>
<p>中文:返回为true (编辑:永远不能相信注释)</p>
<p><em>Java程序里经常能看到的“典型”注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">try { </span><br><span class="line"> </span><br><span class="line">} finally { // should never happen </span><br><span class="line"> </span><br><span class="line">}</span><br></pre></td></tr></table></figure></p>
<p>中文:绝对不会运行到这里</p>
<p><em>超级有自知之明的代码注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">//This code sucks, you know it and I know it. </span><br><span class="line">//Move on and call me an idiot later.</span><br></pre></td></tr></table></figure></p>
<p>中文:这段代码的确很挫,我知道你也知道,先不要骂我2B了,请先继续往下看</p>
<p><em>绝对有年头的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">long long ago; /* in a galaxy far far away */</span><br></pre></td></tr></table></figure></p>
<p>中文:在很远很远的银河系外 (编辑:这段代码能运行,绝对是个奇迹)</p>
<p><em>绝对无法挑剔的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/////////////////////////////////////// this is a well commented line</span><br></pre></td></tr></table></figure></p>
<p>中文:这注释绝对完全没有问题</p>
<p><em>保证正确体位的注释</em><br><code>// I don't know why I need this, but it stops the people being upside-down</code><br><code>x = -x;</code></p>
<p>中文:我也不知道为什么需要这个,但是这个能保持大家不会倒立</p>
<p><em>来自Java1.2 SwingUtilities的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">doRun.run(); // ... "a doo run run".</span><br></pre></td></tr></table></figure></p>
<p><em>最好的帮助你了解递归的注释</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">// To understand recursion, see the bottom of this file </span><br><span class="line"> </span><br><span class="line">At the bottom of the file: </span><br><span class="line"> </span><br><span class="line">// To understand recursion, see the top of this file</span><br></pre></td></tr></table></figure>
<p>中文:#如果想了解递归,请看最下面的注释…如果想了解递归,请看最上面的注释</p>
<p><em>绝对督促你工作的注释</em><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/* Please work */</span><br></pre></td></tr></table></figure></p>
<p><em>绝对菜鸟注释</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">//I am not sure why this works but it fixes the problem.</span><br></pre></td></tr></table></figure>
<p>中文:不知道为什么,但是的确解决了这个问题。</p>
<p><em>直接来一台computer</em></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br></pre></td><td class="code"><pre><span class="line">/**</span><br><span class="line"> * ,----------------, ,---------,</span><br><span class="line"> * ,-----------------------, ," ,"|</span><br><span class="line"> * ," ,"| ," ," |</span><br><span class="line"> * +-----------------------+ | ," ," |</span><br><span class="line"> * | .-----------------. | | +---------+ |</span><br><span class="line"> * | | | | | | -==----'| |</span><br><span class="line"> * | | I LOVE DOS! | | | | | |</span><br><span class="line"> * | | Bad command or | | |/----|`---= | |</span><br><span class="line"> * | | C:\>_ | | | ,/|==== ooo | ;</span><br><span class="line"> * | | | | | // |(((( [33]| ,"</span><br><span class="line"> * | `-----------------' |," .;'| |(((( | ,"</span><br><span class="line"> * +-----------------------+ ;; | | |,"</span><br><span class="line"> * /_)______________(_/ //' | +---------+</span><br><span class="line"> * ___________________________/___ `,</span><br><span class="line"> * / oooooooooooooooo .o. oooo /, \,"-----------</span><br><span class="line"> * / ==ooooooooooooooo==.o. ooo= // ,`\--{)B ,"</span><br><span class="line"> * /_==__==========__==_ooo__ooo=_/' /___________,"</span><br><span class="line"> *</span><br><span class="line"></span><br><span class="line">---------------------</span><br></pre></td></tr></table></figure>
<h2 id="java程序猿的笑话几则"><a href="#java程序猿的笑话几则" class="headerlink" title="java程序猿的笑话几则"></a>java程序猿的笑话几则</h2><p> 1、技术宅男如何把妹?</p>
<p> 1.自制系统盘内置马儿随时知道MM在做什么,计划任务定期搞崩系统从而保持用户粘性;</p>
<p> 2.给MM推荐自制APP,随时知道mm位置给她惊喜;</p>
<p> 3.经过一段时间你就积累了大量数据,做一下数据挖掘就知道她的一切喜好习惯;</p>
<p> 4.将该应用免费开放给更多宅男,于是有了海量数据。</p>
<p> ——这就是云把妹。</p>
<p>2、程序员找不到对象</p>
<p> 程序员找不到对象,一般有三种情况:</p>
<p> 1、C#JAVA都有对象,但是经常找不到对象。</p>
<p> 2、ASMC直接没有对象。</p>
<p> 3、javascript都是伪对象,最多算暧昧。</p>
<p> 但C++日子一直都好过,因为C++是多继承,富二代呀!!!</p>
<p>3、C语言为什么是女的</p>
<p> 原因如下:</p>
<p> 1.无论你让她干什么,她绝对不可能自己找到方法。</p>
<p> 2.总是用复杂的方法解决简单的问题。</p>
<p> 3.不可能自主认识到本身错误。</p>
<p> 4.浪费时间是十分正常的事情。</p>
<p> 5.无论跟她说什么,都得用她能理解的方式做充分说明。</p>
<p> 6.只要你有一点错,她一定可以挑出来。</p>
<p> 7.反正,是你的错。</p>
<p>4、蓝屏:补钙,微软生产</p>
<p> 据说一老外年轻的时候,立志要当一名伟大的作家。怎么才算伟大呢?他说:我写的东西全世界都要看到!看完他们必定会歇斯底里!会火冒三丈!会痛苦万分!结果,他成功了,他在微软公司负责写系统蓝屏时的报错提示信息。。。</p>
<p>5、自行车</p>
<p> 一个程序员骑着一个很漂亮的自行车到了公司,另一个程序员看到了他,问到,“你是从哪搞到的这么漂亮的车的?”骑车的那个程序员说,“我刚从那边过来,有一个漂亮的姑娘骑着这个车过来,并停在我跟前,把衣服全脱了,然后对我说,‘你想要什么都可以’”。另一个程序员马上说到,“你绝对做了一个正确的选择,因为那姑娘的衣服你并不一定穿得了”。</p>
<p>6、程序猿的鄙视链</p>
<p> c程序员看不起c++程序员,c++程序员看不起java程序员,java程序员看不起c#程序员,c#程序员看不起美工,周末了,美工带着妹子出去约会了…一群SX程序员还在加班!</p>
<p>7、睡觉</p>
<p> 我是一个苦b的程序员,今晚加班到快通宵了,困得快睁不开眼了,女上司很关心,问我要不要吃宵夜。</p>
<p> 我没好气地说,宵夜就算了,能让我睡一觉就行了。</p>
<p> 女上司红着脸说了句讨厌啊,然后坐在我身边不动,好像距离我很近,搞得我很紧张,难道她发现我的程序出了bug?</p>
<h2 id="搞笑段子"><a href="#搞笑段子" class="headerlink" title="搞笑段子"></a>搞笑段子</h2><p>0、程序员的读书历程:x语言入门 —> x语言应用实践 —> x语言高阶编程 —> x语言的艺术 —> 编程之美 —> 编程之道 —> 编程之禅—> 颈椎病康复指南。</p>
<p>1、“神舟九号,地面信号异常,现在请汇报您的具体位置?”“现在我们正在祖国上空”“你们怎么知道的?”“刚才试验了一下,Twitter和FaceBook都打不开。</p>
<p>2、程序员经常熬夜有三个弊端:第一,记忆力越来越差;第二,数数经常会数错;第四,记忆力越来越差。</p>
<p>3、世界上最遥远的距离,是我在if里你在else里,似乎一直相伴又永远分离;世界上最痴心的等待,是我当case你是switch,或许永远都选不上自己;世界上最真情的相依,是你在try我在catch。无论你发什么脾气,我都默默承受,静静处理。到那时,再来期待我们的finally。</p>
<p>4、一个合格的程序员是不会写出诸如 “摧毁地球” 这样的程序的,他们会写一个函数叫 “摧毁星球”而把地球当一个参数传进去。</p>
<h2 id="其它"><a href="#其它" class="headerlink" title="其它"></a>其它</h2><ol>
<li><p>没点代码基础,真的住不到一块儿了<br><img src="http://p98.pstatp.com/large/471b0002b06ccb8da684" alt></p>
</li>
<li><p>从一数到10<br><img src="http://p1.pstatp.com/large/47170004cd8653a0ae45" alt></p>
</li>
</ol>
<p><em>编程使我快乐,哈哈哈!</em></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</div>
</article>
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/05/23/Eclipse如何清除js代码的trailing-whitespace/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="超哥">
<meta itemprop="description" content>
<meta itemprop="image" content="/images/avatar.gif">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="前端 | 深圳史蒂芬库里">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/05/23/Eclipse如何清除js代码的trailing-whitespace/" class="post-title-link" itemprop="url">Eclipse如何清除js代码的trailing whitespace</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2019-05-23 09:44:20 / Modified: 11:01:01" itemprop="dateCreated datePublished" datetime="2019-05-23T09:44:20+08:00">2019-05-23</time>
</span>
<span class="post-category">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/web前端/" itemprop="url" rel="index"><span itemprop="name">web前端</span></a></span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>项目开发需要去除代码后面的空格,在javascript的 save action 里面设置了但是不生效,那有没有其他的办法?<br>网上找了一个手动去除的办法。<br><strong>设置一个快捷键</strong><br>由于Eclipse默认没有快捷键,你需要在Perferenes→General→Keys中对Remove Trailing Whitespace设置快捷键(需要勾中Include unbound commands才可以找到)</p>
<ul>
<li>进去erferenes→General→Keys, 在搜索框直接搜索Remove Trailing Whitespace</li>
<li>在binding input box里面直接按住你想设置的快捷键(我是设置的ctrl + shift + s)</li>
<li>在When select框里面选择相应的值(我这里选择的是In Window)</li>
<li>然后save</li>
</ul>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</div>
</article>
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<div class="post-block">
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/05/22/构建微服务:Spring-boot-入门篇/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="超哥">
<meta itemprop="description" content>
<meta itemprop="image" content="/images/avatar.gif">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="前端 | 深圳史蒂芬库里">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/05/22/构建微服务:Spring-boot-入门篇/" class="post-title-link" itemprop="url">构建微服务:Spring boot 入门篇</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2019-05-22 16:02:38 / Modified: 17:10:55" itemprop="dateCreated datePublished" datetime="2019-05-22T16:02:38+08:00">2019-05-22</time>
</span>
<span class="post-category">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/web前端/" itemprop="url" rel="index"><span itemprop="name">web前端</span></a></span>
</span>
</div>
</header>