03 2019 档案
摘要:解决方法为以下命令:
阅读全文
摘要:/** * 1002. Find Common Characters * https://leetcode.com/problems/find-common-characters/submissions/ * Given an array A of strings made only from lowercase letters, * return a list of all chara...
阅读全文
摘要:/** * 1. Two Sum * https://leetcode.com/problems/two-sum/description/ * Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume tha...
阅读全文
摘要:brew的安装: 因为max os x上自带了ruby, 执行以下命令: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brer安装成功后,就可以用它用安装其它软件了
阅读全文
摘要:步骤如下: 执行命令 sudo gedit ~/.local/share/applications/potatodesktop.desktop 打开potatodesktop.desktop文件; 修改Exce行,添加环境变量 env QT_IM_MODULE=ibus 如果使用fcitx的用户,把
阅读全文
摘要:什么是git? git是目前世界上最先进的分布式版本控制系统。 一、创建版本库 什么是版本库?版本库又名仓库,英文名repository,你可以简单的理解一个目录,这个目录里面的所有文件都可以被Git管理起来,每个文件的修改,删除,Git都能跟踪,以便任何时刻都可以追踪历史,或者在将来某个时刻还可以
阅读全文
摘要:一、为gitlab.com建立ssh key 建立本机的ssh publish key git config --global user.name "you name" git config --global user.email "aa@bb.com" 生成ssh private key 1.查看
阅读全文
摘要:下载Shadowsocks-Qt5.AppImage到指定位置; 修改权限,chmod a+x Shadowsocks-Qt5.AppImage; 运行,./Shadowsocks-Qt5.AppImage,启动后按自已的服务器信息内容对server,port,password等信息进行配置; 创建
阅读全文
摘要:今天是新公司入职的第一天,小激动。 开发环境也要重新适应,要用到window+ubuntu18+android+ndk,本人之前只在mac os x环境,好!要努力学习啊! 安装前的准备: window系统一个(费话) ubuntu18 配置java环境 android sdk+ndk ubuntu
阅读全文
摘要:Collection是集合类的上级接口,在Java和Kotlin这两种语言里,是有一定的区别的。 Java 继承与他有关的接口主要有List和Set; Kotlin Kotlin的集合分为可变(读写)和不可变(只读),继承与他有关的接口主要有List, Set, Map, 可变类型是在不可变类型前面
阅读全文