Pride

狗家Summer Intern经历,让我此生无缘硅谷

谁说我不能喝 提交于 2020-10-01 18:43:31
2016年夏天我在谷歌实习,在Mountain View工作,住在旧金山。这是我在谷歌工作的第二个暑假。在经历了谷歌纽约办公室( 一种相对正常的朝九晚五的工作经历) 之后,我想在硅谷办公室工作,去谷歌的中心,去一个感觉像是科技行业中心的地方。 我从未看过电视节目《硅谷》 (Silicon Valley) ,尽管我听说它很搞笑,而且惊人地接近现实。在决定离开之前,我可能应该先看看它,但虽如此,我也不相信它能准确地反映公司的情况。 我记得在黄金时段漫步穿过教会区,沿着波特雷罗山(Potrero Hill)的丘陵地带向上走去。坐在渔人码头,吃着从附近农贸市场买来的新鲜水果。当朋友来参加SF Pride比赛时,他第一次在同性恋酒吧里玩奇怪的跳栏和尝试果冻射击。 其他不那么幸福的时刻也深深印在我的记忆里。我记得曾听谷歌的领导告诉一群在拥挤的咖啡馆里的人, 在谷歌,最需要解决的问题是增加广告收入或改善开发者体验。 坐在旧金山和山景城之间无尽的车流中,坐在由10辆谷歌品牌公交车组成的线路中的第四辆上。 环顾着一幢300人的大楼,发现只有清洁工和咖啡店的工人长得像我,我感到一阵孤独。 有一长串看似小但实际上很重大的问题,足以让我永远离开硅谷。以下是前三名。 我说的不是指科技股市场价格上涨的科技泡沫。我说的是一种无形的物理泡沫,你会在孤独的大学校园里发现这种泡沫,每个人都被周围的环境所包围

一个git项目多个仓库地址

守給你的承諾、 提交于 2020-08-06 07:00:00
方法一:(使用 “git remote add 仓库名” 命令)--推荐   第一个仓库(默认仓库) git remote add origin https://github.com...... git push -u origin master   第二个仓库(newRepository 便是第二仓库) git remote add newRepository https://github.com...... git push -u newRepository master 取消关联时:git remote remove newRepository 在控制台中 输入 git remote -v newRepository https://github.com/lixy-github/newRepository.git (fetch) newRepository https://github.com/lixy-github/newRepository.git (push) origin http://....com:5678/gitbucket/git/Li.XY/Pride.git (fetch) origin http://....com:5678/gitbucket/git/Li.XY/Pride.git (push 可以看到两个远程仓库地址,但是需要push两次

数据结构整理

人盡茶涼 提交于 2020-02-25 19:34:31
数组封装 接口 public interface Array< T > { T [] getData () ; int getSize () ; int getCapacity () ; boolean isEmpty () ; void addLast ( T t) ; void addFirst ( T t) ; void add ( int index , T t) ; T get ( int index) ; T getLast () ; T getFirst () ; void set ( int index , T t) ; boolean contains ( T t) ; int find ( T t) ; void removeElement ( T t) ; T remove ( int index) ; T removeFirst () ; T removeLast () ; /** * 交换两个索引的元素的位置 * @param i * @param j */ void swap ( int i ,int j) ; } 实现类 public class DefaultArray< T > implements Array< T > { private static final int factor = 2 ; private T [] data ;

java实现数据结构13(红黑树详解代码之自定义红黑树)

落花浮王杯 提交于 2019-12-25 05:17:36
自定义红黑树 import com . sun . org . apache . regexp . internal . RE ; /** * @description: 自定义红黑树 * @author: liangrui * @create: 2019-12-24 13:50 **/ public class RedBlackTree < K extends Comparable < K > , V > { private static final boolean RED = true ; private static final boolean BLACK = false ; private class Node { public K key ; public V value ; public Node left , right ; public boolean color ; public Node ( K key , V value ) { this . key = key ; this . value = value ; left = null ; right = null ; color = RED ; } } private Node root ; private int size ; public RedBlackTree ( ) { root = null ;