bingoogolapple.github.io
bingoogolapple.github.io copied to clipboard
个人主页。同时也通过 Issues 记录学习笔记
### 共享目录给 Ubuntu 无权限 * 添加当前用户到 vboxsf 组,然后重新登录即可 ```shell sudo usermod -aG vboxsf $(whoami) ```
* 下载插件 https://tecknity.com/tecknity-cookies-extension * 获取 cookie https://tecknity.com/free-netflix-account-cookies
Centos 学习笔记
### 创建 CentOS release 6.9 (Final) 版的 Docker 容器 > 以交互方式创建容器,映射本机 9022 端口到容器的 8022 端口,然后在容器中安装 wget ``` docker run -it -p 9022:8022 -p 9091:8081 --name bga-centos-note centos:6 bash # docker...
通过 AS 运行时会自动注入 testOnly 为 true * 方案一:gradle.properties 增加如下内容 ``` android.injected.testOnly=false ``` * 方案二:先在命令行里通过`./gradlew assembleDebug`打包,然后再 `adb install xxxx.apk` * 方案三:`adb install -r -t xxx.apk`
1. 打开终端,执行下面的命令来修改 Lantern 配置文件 ```shell cd ~/Library/Application\ Support/Lantern cp settings.yaml settings.yaml.bak local_ip=`ifconfig -a | grep inet | grep -v 127.0.0.1 | grep -v inet6 | awk '{print $2}' | tr...
* 左侧面板 `command` + `0` * 右侧面板 `command` + `option` + `0` * 底部面板 `command` + `shift` + `Y` *** * 注释 `command` + `option` + `/` * 代码补全 `esc`...
MAT
### 安装 * [独立安装](http://www.eclipse.org/mat/downloads.php) * 以 Eclipse 插件的方式安装 * Help -> Eclipse MarketPlace -> 搜索「Memory Analyzer」 * Window -> Perspective -> Open Perspective -> Other -> Memory Analysis ### 生产...
Appium
 
### 有一个`没有头节点`的`单向链表`,给你其中的任意一个节点的引用,将其从单向链表中删除 ```Groovy class Node { public Node next public String data } /** * 有一个没有头节点的「单向链表」,给你其中的任意一个节点的引用,将其从「单向链表」中删除 */ void deleteSinglyLinkedList(Node node) { if (node == null) { return } if (node.next...
* 查看内置的环境变量,域名/pipeline-syntax/globals#env * 用 echo 输出日志,用 error 使当前的 stage 返回失败 ```groovy stage('test') { // echo "用 echo 输出日志" // error "用 error 使当前的 stage 返回失败" test() } ``` ```groovy def...