Giter Club home page Giter Club logo

drpybox's Introduction

Box

App default settings can be set here : /src/main/java/com/github/tvbox/osc/base/App.java

private void initParams() {
    // Hawk
    Hawk.init(this).build();
    Hawk.put(HawkConfig.DEBUG_OPEN, false);

    putDefault(HawkConfig.HOME_REC, 1);       // Home Rec 0=豆瓣, 1=推荐, 2=历史
    putDefault(HawkConfig.PLAY_TYPE, 1);      // Player   0=系统, 1=IJK, 2=Exo
    putDefault(HawkConfig.IJK_CODEC, "硬解码");// IJK Render 软解码, 硬解码
    putDefault(HawkConfig.PLAY_RENDER, 1);// 渲染方式 0=texture, 1=surface
    putDefault(HawkConfig.PLAY_SPEED, true);// 倍速记忆
    putDefault(HawkConfig.HOME_SHOW_SOURCE, true);// 显示首页源

// putDefault(HawkConfig.HOME_NUM, 2); // History Number // putDefault(HawkConfig.DOH_URL, 2); // DNS // putDefault(HawkConfig.SEARCH_VIEW, 1); // Text or Picture

}

git操作

1、问题描述: 本地提交文件到git,提交了不应该的或者不需要的文件或者目录

2、出现场景 例如pycharm工程提交时未将.idea添加至.ignore,错误将.idea文件夹提交到了git,或者安卓项目把build目录提交到了git

3、解决措施 通过git命令清除,步骤如下: 打开idea系列产品的terminal

3.1 $ ls # 查看有哪些文件夹
3.2 $ cd # 切换到目标目录
3.3 $ git rm -r --cached build # 删除build文件夹(删除的是缓存中的build)
3.4 $ git commit -m '删除编译目录' # 提交,添加操作说明(将缓存中的变动提交到本地仓库.idea)
3.5 $ git push -u origin master # 将本次更改更新到github项目上去(将本地仓库的变动同步到远程仓库)

问题反馈

在线提交反馈信息

drpybox's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.